2nd Year Computer Science Chapter 8 Getting Started with C Notes MCQs Bank

computer 12th notes chapter No 8

1. ___ represents the beginning of the actual program : 

 
 
 
 

2. ___errors cannot be detected by compiler :

 
 
 
 

3. ___ requires no translator program to translate the program into machine  language :

 
 
 
 

4. C programs are divided into units called:

 
 
 
 

5. The basic structure of C program consists of:

 
 
 
 

6. Which of the following key is used to save a file : 

 
 
 
 

7. ___ translators translates the source code into object code statement-by statement :

 
 
 
 

8. ___language is known as fundamental computer language :

 
 
 
 

9. Debug is the process of

 
 
 
 

10. C is a :

 
 
 
 

11. A name that is replaced by a particular constant value before the program is sent  to the compiler 

 
 
 
 

12. The name of header file is written between :

 
 
 
 

13. ___is not high-level language :

 
 
 
 

14. TC assigns a default name ______________ to a new file 

 
 
 
 

15. Computer programs are also known as:

 
 
 
 

16. Which produces object program from source program 

 
 
 
 

17. ___ is the low-level language : 

 
 
 
 

18. The instructions that are given to the compiler before the beginning of the source  code are called :

 
 
 
 

19. To switch between editor and output window 

 
 
 
 

20. A program written in ________ language runs directly on the computer. 

 
 
 
 

21. The compiler can detect ________ errors at the time of compilation 

 
 
 
 

22. C language was developed by : 

 
 
 
 

23. ___can only detect the syntax errors : 

 
 
 
 

24. The errors in the program are called :

 
 
 
 

25. Who developed C?

 
 
 
 

26. Preprocessor directives commands for : 

 
 
 
 

27. The expression may be:

 
 
 
 

28. ___ word is used to include the header file : 

 
 
 
 

29. An IDE of Turbo C consists of : 

 
 
 
 

30. Void occupies how many bytes in memory?

 
 
 
 

31. To compile a program press 

 
 
 
 

32. To get help in turbo c 

 
 
 
 

33. ___languages requires no translator to execute the program :

 
 
 
 

34. ___translators translates the source code into object code as a whole :

 
 
 
 

35. Which language is hardware dependent 

 
 
 
 

36. ___ errors occurs during program execution : 

 
 
 
 

37. Which of the following language provide the basis for C language : 

 
 
 
 

38. ___massages is displayed by C-complier if semicolon is missing at end of  the statement :

 
 
 
 

39. The basic structure of C program consists of : 

 
 
 
 

40. In C, the linker creates a file with file extension :

 
 
 
 

41. C-language can be used to develop : 

 
 
 
 

42. The error that is due to some illegal operations in a program is called 

 
 
 
 

43. The process of linking library files with object code is called : 

 
 
 
 

44. B was developed in the year:

 
 
 
 

45. Which one is used as statement terminator in C language 

 
 
 
 

46. The extension of object file is:

 
 
 
 

47. Preprocessor directives are commands for :

 
 
 
 

48. ___is a type of language translator :

 
 
 
 

49. ___is not a low-level language :

 
 
 
 

50. Which of the following requires no translator to execute the program :

 
 
 
 

51. ___is a correct preprocessor directive :

 
 
 
 

52. The .exe file is created by :

 
 
 
 

53. The expression in define directive: 

 
 
 
 

54. A set of instruction given to the computer is called :

 
 
 
 

55. To open a new file in Turbo C editor which menu is used 

 
 
 
 

56. A language which is very close to computer 

 
 
 
 

57. The computer understands the instructions only in : 

 
 
 
 

58. The programmer usually enters source code into a computer using:

 
 
 
 

59. The program that modifies the c program prior to its compilation

 
 
 
 

60. The translated program into machine code is called :

 
 
 
 

61. The extension of the header file is :

 
 
 
 

62. An IDE typically consists of:

 
 
 
 

63. C, C++, Java, Basic etc. are examples of :

 
 
 
 

64. Division by zero is an examples of : 

 
 
 
 

65. Turbo C++ can compile : 

 
 
 
 

66. stdio stands for:

 
 
 
 

67. The program written in assembly language is translated to the machine code with  the help of translator program called :

 
 
 
 

68. Programming language B was developed by 

 
 
 
 

69. This is a complete instruction that causes the computer to perform some action:

 
 
 
 

70. ___ key is used to save a file :

 
 
 
 

71. The programming languages that are close to human language are called :

 
 
 
 

72. Main is a

 
 
 
 

73. ___languages provided the basis for the development of C :

 
 
 
 

74. The translated program into machine code is called 

 
 
 
 

75. C language was developed in _______ 

 
 
 
 

76. ___language translator programs is used to translate the C program :

 
 
 
 

77. The process of converting source code into object code is knows as:

 
 
 
 

78. Which directory of TC contains the header files : 

 
 
 
 

79. Spelling errors in the program are example of :

 
 
 
 

80. The file extension of C source program is : 

 
 
 
 

81. A lot of ready made functionality available in

 
 
 
 

82. The process of running the program on the computer is called :

 
 
 
 

83. ___represents the preprocessor directive :

 
 
 
 

84. The special programs that are used to convert a source code into object code are  called :

 
 
 
 

85. ___is not a high level language : 

 
 
 
 

86. The symbols used to write instructions in assembly language are called :

 
 
 
 

87. Which of the following syntax is used to include header file?

 
 
 
 

88. Which of following is not a high level language

 
 
 
 

89. ___  translator programs is best for debugging the source code :  

 
 
 
 

90. Turbo C++ can compile : 

 
 
 
 

91. The expression in define directive : 

 
 
 
 

92. The computer program is written in : 

 
 
 
 

93. The file extension of object file of C program is :

 
 
 
 

94. Computer cannot under stand 

 
 
 
 

95. Void occupies how many bytes in memory 

 
 
 
 

96. ___signs is used at the end of statement of C program : 

 
 
 
 

97. A language which is very close to humans 

 
 
 
 

98. The programming language that are very close to machine code are called :

 
 
 
 

99. Which of the following language provided the basis for the development of C?

 
 
 
 

100. Which part of the compiler handles the preprocessor directives :  

 
 
 
 

101. Which of the following key is used to save a file?

 
 
 
 

102. The instructions written in machine language are in the form of :  

 
 
 
 

103. Which header file contains information about standard input/ output functions?

 
 
 
 

104. Which program produces object(obj) file 

 
 
 
 

105. .exe file is produced by the : 

 
 
 
 

106.          languages is different for different computers : 

 
 
 
 

107. The file with extension obj is produced by the : 

 
 
 
 

108. C was designed to write programs for : 

 
 
 
 

109. To run a program press 

 
 
 
 

110. Debug is the process of : 

 
 
 
 

111. ___signs represents the preprocessor directives :

 
 
 
 

112. _______ is the process of translating source code into machine code is called : 

 
 
 
 

113. ___language is suitable for developing business application : 

 
 
 
 

Short Questions

1. C is a case sensitive language. What does it mean?
2. Define assembly language. What are mnemonics?
3. Define body of the main function?
4. Define expression?
5. Define high-level language?
6. Define low level language.
7. Define Machine language?
8. Define object code.
9. Define program.
10. Define source code.
11. Define statement terminator?
12. Define structured programming language?
13. Define the function main?  
14. Define the linking process?
15. Define the term arguments?
16. Define the term bug and debug?
17. Define unstructured programming language?
18. Define void word in void main (void)?
19. Describe applications of FORTRAN and COBOL?
20. Describe applications of Java language?
21. Describe the history of the C language.
22. Differentiate between assembly language and high-level language.
23. Differentiate between source code and object code?
24. Distinguish between low-level and high-level languages.
25. Distinguish between source code and object code?
26. Give any five examples of high-level languages.
27. How does a compiler work?
28. How many types of errors can occur while writing a C program?
29. How the object program source program and compiler are related
30. How the program logic is implemented in unstructured programming languages?
31. How to create a new C program in Turbo C++ IDE?
32. How to save a C Program?
33. How to see the program’s output screen?
34. List any four advantages of C language?
35. List any three characteristics of C language?
36. List three causes of syntax errors.
37. List three types of language translators.
38. What are bugs and debugging?
39. What are delimiters?
40. What are header files?
41. What are logical errors?
42. What are logical errors? Give Example.
43. What are necessary step to prepare a C program?
44. What are preprocessor directive?
45. What are runtime errors?
46. What are syntax errors?
47. What do know about Loader?
48. What do you mean by machine independence?
49. What is #define directive?
50. What is a compiler?
51. What is a computer program.
52. What is a program compiling?
53. What is a syntax error? Give example.
54. What is an assembler?
55. What is an executable file?
56. What is an IDE?
57. What is ANSI C?
58. What is assembler?
59. What is assembly language?
60. What is C statement?
61. What is computer program?
62. What is Constant Macro?
63. What is high level language?
64. What is interpreter?
65. What is language translator?
66. What is logical error?
67. What is low level language?
68. What is machine language?
69. What is meant by compiling a program?
70. What is meant by creating a program?
71. What is meant by editing a program?
72. What is meant by executing a program?
73. What is meant by language processor?
74. What is meant by linking a program?
75. What is object program?
76. What is preprocessor directive?
77. What is preprocessor?
78. What is programming language?
79. What is run time error?
80. What is source program?
81. What is statement terminator?
82. What is structured programming language?
83. What is syntax error?
84. What is the default name of C++ program and how to change the name of C file and its path?
85. What is the linker? And how to invoke it?
86. What is the name of the earlier version of C?
87. What is the process of linking in C programs?
88. What is the purpose of # sign?
89. What is the purpose of linker in C language?
90. What is the purpose of printf function?
91. What is the purpose of the statement #include <stdio.h> in C program?
92. What is the specialty of C language?
93. What is Turbo C++?
94. What is unstructured programming language?
95. When is the executable file of a source program created?
96. Who develops computer programs?
97. Why C program is saved with .c extension?
98. Why does machine language program execute faster?
99. Why it would be preferable to write a program in C rather than machine languages.
100. Why the source code cannot be executed directly?
101. Write the advantages of high level language with respect to machine level language.
102. Write the name of header file that must be included in program to use the functions printf and scanf?
103. Write the shortcut key to compile C program.
104. Write the shortcut key to run C program.
105. Write the shortcut key to view output screen in Turbo C++ IDE.
106. Write two main categories of programming languages.

Long Questions

1. What is a programming language? Also discuss its different types.
2. What is a language processor? Also discuss its different types.
3. What is C language? Also write down about its history. List out some advantages of C language.
4. How to create, edit, save, compile and execute a C language program in Turbo C++.
5. Define Source program, Object Program, Linker and Loader.
6. What is the basic structure of a C Program.
7. What are programming errors? Also discuss its different types.
8. Write a short note on Turbo C++ compiler.
9. Clarify the difference between “.C” and “.CPP” extension.

Leave a Reply

Your email address will not be published. Required fields are marked *