Question
What is the average of the first eight triangular
numbers?Solution
ATQ,
Triangular numbers are the numbers obtained by continued summation of natural numbers.
First eight triangular numbers = 1, 3, 6, 10, 15, 21, 28, 36
Required average = (1 + 3 + 6 + 10 + 15 + 21 + 28 + 36) ÷ 8
Which layer of the OSI model is responsible for logical addressing and routing?
What is the function of an IP address in a computer network?
Which protocol is commonly used in the network layer for addressing and routing on the internet?
What does the `
Which of the following is a valid token in lexical analysis?
Which extension is for executable/installation files?
Which of the following characteristics describes an ideal operational amplifier (op-amp)?
Which of the following is the primary fuel used in natural gas power plants?
What is the output of the following code?
print(0.3 + 0.5 == 0.8)
What is the primary role of lexical analysis in the compilation process?