1.
What type of errors are checked during compilation
A. 
B. 
C. 
D. 
2.
The purpose of main function is
A. 
To stop program execution
B. 
C. 
D. 
To start program execution
3.
What is the valid identifier in the following
A. 
B. 
C. 
D. 
4.
What is range of char data value?
A. 
B. 
C. 
D. 
5.
The minimum number of temporary variable needed to swap the contents of two variable is
A. 
B. 
C. 
D. 
6.
What is output of following program ?
main( )
{int x;
x= 4 + 2 % 8;
printf(“%d”,x);
}
A. 
B. 
C. 
D. 
7.
When && operator is used with two conditions, conditions need to be satisfied for the expression to be true.
A. 
B. 
C. 
D. 
8.
In the expression b=6.6/a+(2*a+(3*c)/a*d)/(2/n); which operation will be performed first?
A. 
B. 
C. 
D. 
9.
What is the output of printf(“%d”,printf(“tim”));
A. 
B. 
Results in a syntax error
C. 
Printf tim and terminates abruptly
D. 
10.
What is output of the following program?
main( )
{int x=15,y;
y=(x >5)? 3 : 4;
printf(“%d”,y);
}
A. 
B. 
C. 
D. 
11.
What symbol is used to represent the connector
A. 
B. 
Rectangle with rounded end
C. 
D. 
12.
Bitwise operators cannot be performed on
A. 
B. 
C. 
D. 
13.
The ANSI C standard recognizes maximum length of a variable up to
A. 
B. 
C. 
D. 
14.
Which of the following is an incorrect variable name.
A. 
B. 
C. 
D. 
15.
What is the size of long double variable
A. 
B. 
C. 
D. 
16.
Variables are initialized in C, using
A. 
B. 
C. 
D. 
17.
If a is float variable, a=5/2 will return a value
A. 
B. 
C. 
D. 
18.
Int a=13,b=7,c;
c=a&b what is the value of c
A. 
B. 
C. 
D. 
19.
In the following, which is bitwise operator?
A. 
B. 
C. 
D. 
20.
If y is of integer type variable then the two expressions.
3*(y-8)/9 and (y-8)/9*3 yield the same value if
A. 
Y-8 is an integer multiple of 3
B. 
C. 
D. 
Y-8 is an integer multiple of 9
21.
What is output of the following program?
main()
{int a;
float b;
a=1/2;
b=1.0/2.0;
printf(“ a=%d b=%f”,a,b);
}
A. 
B. 
C. 
D. 
22.
Representing various steps in a flow diagram is called as
A. 
B. 
C. 
D. 
23.
C is a
A. 
B. 
C. 
High level language with some low level features
D. 
24.
What are the smallest individual units in a program
A. 
B. 
C. 
D. 
25.
Which of the following is an empty data type.
A. 
B. 
C. 
D.