CHAPTER No.1 Getting Started with C
Question No. 2
Choose the correct option:
1. C is a
a. High Level Language
b. Low Level Language
c. Assembly Language
d. Machine LAnguage
2. Turbo C++ can compile:
a. C++ Program Onlyb. C and C++ Programs
c. Turbo C Programs Only
d. Turbo C++ Programs Only
3. Debug is the process of :
a. Creating bugs in Programb. Identifying and removing errors in program
c. Identifying errors
d. Removing errors
4. C was designed to write program for:
a. windows operating systemb. Solaris operating system
c. UNIX operating system
d. OS/2 Operating System
5. Preprocessor directives are commands for:
b. Language Processor
c. C Processor
d. Loader
6. The expression in Define Directive:
a. can only be changed at the end of the programb. cannot be changed
c. cannot be changed but can be redefined
d. cannot be assigned a value
7. Which of the following language require no translator to execute the program:
a. Cb. C++
c. Machine Language
d. Assembly Language
8. .exe file is produced by :
a. Linkerb. Loader
c. Compiler
d. Interpretter
9. which of the following key is used to save a file in Turbo C++ IDE
a. F2b. F3
c. F5
d. F9
10. void occupies how many bytes in memory:
a. Zerob. One
c. Two
d. Four
Solution
1. a
2. b
3. b
4. c
5. c
6. b
7. c
8. a
9. b
10. a
No comments:
Post a Comment