Computer Science 12th Chapter 8 - Getting Started with C Questions Bank |
Computer Science 2nd Year Chapter 8 - Getting Started with C Solved MCQs, Important Short Questions and Long Questions Bank
MCQs
Please select the right answer.
1. languages is different for different computers :
2. .exe file is produced by the :
3. ___ translator programs is best for debugging the source code :
4. ___ errors occurs during program execution :
5. ___ is the low-level language :
6. ___ key is used to save a file :
7. ___ represents the beginning of the actual program :
8. ___ requires no translator program to translate the program into machine language :
9. ___ translators translates the source code into object code statement-by statement :
10. ___ word is used to include the header file :
11. _______ is the process of translating source code into machine code is called :
12. ___can only detect the syntax errors :
13. ___errors cannot be detected by compiler :
14. ___is a correct preprocessor directive :
15. ___is a type of language translator :
16. ___is not a high level language :
17. ___is not a low-level language :
18. ___is not high-level language :
19. ___language is known as fundamental computer language :
20. ___language is suitable for developing business application :
21. ___language translator programs is used to translate the C program :
22. ___languages provided the basis for the development of C :
23. ___languages requires no translator to execute the program :
24. ___massages is displayed by C-complier if semicolon is missing at end of the statement :
25. ___represents the preprocessor directive :
26. ___signs is used at the end of statement of C program :
27. ___signs represents the preprocessor directives :
28. ___translators translates the source code into object code as a whole :
29. A language which is very close to computer
30. A language which is very close to humans
31. A lot of ready made functionality available in
32. A name that is replaced by a particular constant value before the program is sent to the compiler
33. A program written in ________ language runs directly on the computer.
34. A set of instruction given to the computer is called :
35. An IDE of Turbo C consists of :
36. An IDE typically consists of:
37. B was developed in the year:
38. C is a :
39. C language was developed by :
40. C language was developed in _______
41. C programs are divided into units called:
42. C was designed to write programs for :
43. C, C++, Java, Basic etc. are examples of :
44. C-language can be used to develop :
45. Computer cannot under stand
46. Computer programs are also known as:
47. Debug is the process of
48. Debug is the process of :
49. Division by zero is an examples of :
50. In C, the linker creates a file with file extension :
51. Main is a
52. Preprocessor directives are commands for :
53. Preprocessor directives commands for :
54. Programming language B was developed by
55. Spelling errors in the program are example of :
56. stdio stands for:
57. TC assigns a default name ______________ to a new file
58. The .exe file is created by :
59. The basic structure of C program consists of :
60. The basic structure of C program consists of:
61. The compiler can detect ________ errors at the time of compilation
62. The computer program is written in :
63. The computer understands the instructions only in :
64. The error that is due to some illegal operations in a program is called
65. The errors in the program are called :
66. The expression in define directive :
67. The expression in define directive:
68. The expression may be:
69. The extension of object file is:
70. The extension of the header file is :
71. The file extension of C source program is :
72. The file extension of object file of C program is :
73. The file with extension obj is produced by the :
74. The instructions that are given to the compiler before the beginning of the source code are called :
75. The instructions written in machine language are in the form of :
76. The name of header file is written between :
77. The process of converting source code into object code is knows as:
78. The process of linking library files with object code is called :
79. The process of running the program on the computer is called :
80. The program that modifies the c program prior to its compilation
81. The program written in assembly language is translated to the machine code with the help of translator program called :
82. The programmer usually enters source code into a computer using:
83. The programming language that are very close to machine code are called :
84. The programming languages that are close to human language are called :
85. The special programs that are used to convert a source code into object code are called :
86. The symbols used to write instructions in assembly language are called :
87. The translated program into machine code is called :
88. The translated program into machine code is called
89. This is a complete instruction that causes the computer to perform some action:
90. To compile a program press
91. To get help in turbo c
92. To open a new file in Turbo C editor which menu is used
93. To run a program press
94. To switch between editor and output window
95. Turbo C++ can compile :
96. Turbo C++ can compile :
97. Void occupies how many bytes in memory
98. Void occupies how many bytes in memory?
99. Which directory of TC contains the header files :
100. Which header file contains information about standard input/ output functions?
101. Which language is hardware dependent
102. Which of following is not a high level language
103. Which of the following key is used to save a file :
104. Which of the following key is used to save a file?
105. Which of the following language provide the basis for C language :
106. Which of the following language provided the basis for the development of C?
107. Which of the following requires no translator to execute the program :
108. Which of the following syntax is used to include header file?
109. Which one is used as statement terminator in C language
110. Which part of the compiler handles the preprocessor directives :
111. Which produces object program from source program
112. Which program produces object(obj) file
113. Who developed C?
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.