The index of an array starts from 1.

Each statement below is either TRUE or FALSE. Choose the most appropriate one
and ENTER in the “tear-off” sheet attached to the question paper, following
instructions therein.

2.1 The index of an array starts from 1.
2.2 Task of continue keyword is to transfer the control of program at the next step of the loop.
2.3 Every variable in c have three most fundamental attributes: Name, Value, Address.
2.4 It is guaranteed that the while loop will be executed at least once.
2.5 All of the following are valid expressions in C.
If a( = 6) b = 5;
a = b = c = 5;
a = 11 % 3
2.6 In ‘C’, parameters to a function can be passed by value but not by reference.
2.7 Changes made to an array inside a function are automatically reflected in calling program.
2.8 The operating system converts the ‘C’ program into machine language.
2.9 Every function in ‘C’ must have a “return” statement.
2.10 C is an object oriented programming language.

For the function

1.9 For the function
int operation (int A[], int n)
{
…
…
}
Which is the appropriate calling statement from main program?
A) s=operation(A[], 6)
B) operation(A, 6)
C) k=operation(A, 6)
D) d=operation(int A, 6)

Which code will print k 20 times?

1.4 Which code will print k 20 times?
A) for (i=1; i < 20; i++)
printf (“k”);
B) for (i=1; i = 20; i++)
printf (“k”);
C) for (i=0; i < 20; i++)
printf (“k”);
D) for (i=0; i <= 20; i++)
printf (“k”);

In an assignment statement a=b; which of the following statement is true?

1.3 In an assignment statement a=b; which of the following statement is true?
A) The variable a and the variable b are same.
B) The value of b is assigned to variable a but if b changes later, it will not effect the value of variable a.
C) The value of b is assigned to variable a but if b changes later, it will effect the value of variable a.
D) The value of variable a is assigned to variable b, and the value of variable b is assigned to variable a.