Ultimately, all data items processed by a computer are reduced to combinations of

A. bit B. text C. void
D. byte E. string F. fputc
G. preprocessor H. logical operators I. fputs
J. char K. unstructured L. getc
M. 0’s and 1’s

4.1 Ultimately, all data items processed by a computer are reduced to combinations of
________.
4.2 ________ are used when we want to test more than one condition and make a decision.
4.3 If a function return type is declared as ________ it cannot return a value.
4.4 Function ________ writes a character to a specified file.
4.5 Function ________ writes a line to a specified file.
4.6 A group of related characters that conveys meaning is called a ________.
4.7 Most information stored in computer systems is stored in ________ files.
4.8 The smallest data item a computer can process is called a ________.
4.9 The ________ is a program that is executed before the source code is compiled.
4.10 If the pointer variable ptr holds the address of a char, the data type of *ptr will be ________.

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”);