1.
1)Compiler generates ___ file.
A. 
B. 
C. 
D. 
2.
Identify the C compiler of UNIX.
A. 
B. 
C. 
D. 
3.
A macro can execute faster than a function.
4.
Choose the correct unary operators in C – a) !, b) ~, c) ^&, d) ++
A. 
B. 
C. 
D. 
5.
Which library functions help users to dynamically allocate memory?
A. 
B. 
C. 
D. 
6.
What is the size of ‘int’?
A. 
B. 
C. 
D. 
7.
C is the successor of ___ programming language.
A. 
B. 
C. 
D. 
8.
The binary equivalent of 50 is,
A. 
B. 
C. 
D. 
9.
In the standard library of C programming language, which of the following header file is designed for basic mathematical operations?
A. 
B. 
C. 
D. 
10.
Which of the following operator can be used to access value at address stored in a pointer variable?
A. 
B. 
C. 
D. 
11.
In C, what is the correct hierarchy of arithmetic operations?
A. 
B. 
C. 
D. 
12.
What is the output of the following program?#include<stdio.h>main(){ fprintf(stdout,"Hello, World!");}
A. 
B. 
C. 
D. 
13.
Which of the following is a logical AND operator?
A. 
B. 
C. 
D. 
14.
Which statement can print \n on the screen?
A. 
B. 
C. 
D. 
15.
How many types of polymorphisms is supported by C++?
A. 
B. 
C. 
D. 
16.
Which of the following is an abstract data type?
A. 
B. 
C. 
D. 
17.
Which of the following approach is adopted in C++?
A. 
B. 
C. 
D. 
18.
Which of the following cannot be used as with the keyword virtual?
A. 
B. 
C. 
D. 
19.
Which of the following is not a type of inheritance?
A. 
B. 
C. 
D. 
20.
Which of the following operators cannot be overloaded?
A. 
B. 
C. 
D. 
21.
Which of the following statements is correct in C++?
A. 
Classes cannot have data as protected members.
B. 
Structures can have functions as members.
C. 
Class members are public by default.
D. 
Structure members are private by default.
22.
Which of the following statement is correct?
A. 
Class is an instance of object.
B. 
Object is an instance of a class.
C. 
Class is an instance of data type.
D. 
Object is an instance of data type.
23.
Which of the following functions are performed by a constructor?
A. 
B. 
C. 
D. 
24.
Which of the following problem causes an exception?
A. 
Missing semicolon in statement in main()
B. 
A problem in calling function.
C. 
D. 
25.
Can you analyse what is the probability of meeting someone in your lifetime who is having an above average number of arms?
A. 
B. 
C. 
D. 
E.