12th class (Fsc) computer unit 8 MCQs
chapter 8 MCQs 12th Class computer
Getting started with “C”:
1. C is a:
a. Assembly language
b. High level language
c. Machine language
d. Low level language
2. C was designed to write programs for:
a. Unix operating system
b. Windows operating system
c. OS/2 operating system
d. Solaris operating system
3. C-language was developed in:
a. 1970
b. 1962
c. 1972
d. 1969
4. Which of the following language provided the basis of the development of C?
a. Pascal
b. B
c. Cobol
d. C++
5. Which of the following language provided the basis of the development of C?
a. Pascal
b. B
c. Cobol
d. C++
6. Which of the following language provided the basis for the development of C?
a. Java
b. C ++
c. Pascal
d. B
7. A well-defined set of instructions given to the computer is called:
a. Bug
b. Hardware
c. None
d. Software
8. Computer programs are also known as:
a. Firmware
b. Hardware
c. Software
d. None
9. B was developed in the year:
a. 1972-1988
b. 1969-70
c. None
d. 1965-1975
10. Who developed C?
a. Charles Babbage
b. Von-Neumann
c. Dennis Ritchie
d. Al-khuwarizml
11. Computer programs are also known as:
a. Hardware
b. Software
c. Algorithm
d. Procedure
12. Turbo C++ can compile:
a. Turbo C programs only
b. C++ programs only
c. Turbo C++ programs only
d. C and C++ programs
13. exe file is produced by the:
a. Compiler
b. Linker
c. Interpreter
d. Loader
14. Which of the following key is used to save a file?
a. F5
b. F2
c. F9
d. F3
15. The extension of C source program is:
a. .obj
b. .h
c. .exe
d. .c
16. The process of converting source code into object code is knows as:
a. Linking
b. Compiling
c. Saving
d. Executing
17. C statement end with a:
a. Colon
b. Period
c. Semicolon
d. Comma
18. The programmer usually enters source code into a computer using:
a. Debugger
b. Compiler
c. Linker
d. Text editor
19. The statement written by the programmer are called:
a. Syntax
b. Source code
c. Object code
d. None
20. The statements written by programmer are called:
a. Syntax
b. Source code
c. Debugging
d. Object code
21. The target code produced by the compiler is:
a. Library code
b. Object code
c. Linked code
d. Source code
22. The output of the compiler is called:
a. Linked code
b. Library code
c. Object code
d. Source code
23. An IDE typically consists of:
a. Debugger
b. Text editor
c. Compiler
d. All
24. An IDE stands for:
a. Integrated Development Environment
b. Input data error
c. Internal disk error
d. Input desktop environment
25. Which of the following components is used to convert first .c to first.exe?
a. Header & linker
b. Compiler & header
c. Compiler only
d. Compiler & linker