You are on page 1of 3

Shri.

Shamrao Patil (Yadravkar) Educational & Charitable Trust’s


Sharad Institute of Technology, College of Engineering
Yadrav- (Ichalkaranji)
(Approved by AICTE, New Delhi, Recognized by Government of Maharashtra & Affiliated to DBATU, Lonere)
An Autonomous Institute
Department of Basic Science and Humanities

Computer Programming in C
Test
1. Small circle symbol in a flowchart is used as ………………
a. Process
b. Connector
c. Loop
d. None of these

2. Translates higher level language into machine language.


a. Editor b. Linker c. Compiler d. loader

3. Compiler displays……..errors.
a. Semantic b. runtime c. Domain d. Syntax

4. .obj stands for………….file


a. Obedient b. Obsessed c. Object d. Obliged

5. C is not a sensitive language.


a. True b. False

6. What is the extension of header file?


a. .hd b. .h c. .hf d. .hdr

7. Every statement of C must be terminated with


a. .
b. ;
c. !
d. ?
8. Pre-processor command is denoted by .
a. * b. % c. # d. //

9. .……. is the first function called when program execution begins.


a. Start ().
b. Add ().
c. Sub ().
d. Main ().

10.What is size of long double?


a. 4 bytes b. 8 bytes c. 10 bytes d. 16 bytes

11. Which is correct with respect to the size of the data types?
a. char > int > float
b. int > char > float
c. char < int < double
d. double > char > int

12. A declaration float a,b; occupies of memory


a. 1 byte
b. 4 bytes
c. 8 bytes
d. 16 bytes

13. How many keywords are in C language?


a. 33 b. 24 c. 32 d.36

14 . Rectangle symbol in a flowchart is used as ………………


A. Process
B. Connector
C. Loop
D. None of these
15. State True or false
Use of comments reduces speed of execution of program.
A. True B. False

You might also like