C programming mcq with answers- Problem Solving Aspects :Pseudocode Link-2

C programming mcq with answers- Problem Solving Aspects : pseudocode Link-2

C Programming MCQ & Answers

       Are you worried about the answers to C Programming questions :Problem Solving Aspects : pseudocode? We have arranged the Show Answer button under the each question. Candidates can click on it to know the right option among the given alternatives. Furthermore, the applicants can check our web portal @ www.totalmcq.com to take part in more MCQ on various subject. Wish, the given information about the C Programming MCQ will helpful to the advance and can learn the various types of questions and answers.


Q.1. Which is the correct sequence of compilation process?

A. Assembler → Compiler → Preprocessor → Linking
B. Compiler → Assenbler → Preprocessor → Linking
C. Preprocessor → Compiler → Assembler → Linking
D. Assembler → Compiler → Linking → Preprocessor

Q.2. Which of the following produces an assembler file in the compilation process?

A. pre-processor                                                         B. assembler
C. compiler                                                                  D. post-processing

Q.3. What is the role of linker in the compilation process?

A.linker links the object code with the library code
B. linker converts machine code into executable machine code
C. linker generates an executable file
D. all of the above

Q.4. If file with extension .c is compiled with GCC, then the file with extension .s file will contain the

A. assembly code                                                                 B. machine code
C. preprocessed code                                                         D. expanded source code

Q.5. The object file contains the --------

A. assembly code                                                            B. machine code
C. modified source code                                                D. none of the above

Q.6. If we do not specify the executable file name at the compilation time in GCC, then in linux the compiler creates executable named as--------

A. a.exe                                                         B. a.out
C. x.out                                                         D. x.exe

Q.7. Choose a correct statement about C program output file?

A. Output file .exe is machine dependent.
B. exe is windows suitable file.
C. Linker produces a suitable output file for each machine
D. All the above

Q.8. ------Takes care of include files.

A. emulator                                                                              B. debugger
C. pre-processor                                                                    D. simulator

Q.9._____________ is used to show hierarchy in a pseudo code.

A. Indentation                                                                         B. Curly Braces
C. Round Brackets                                                                  D. Semicolon

Q.10. A Pseudocode is------

A.a machine - level code
B. a random number
C. a flowchart
D. Structured English to communicate the logic of a program

Q.11. A program logic written in an ordinary language depicting a structure similar to computer instruction is called as-----

A. algorithm                                                                              B. Program
C.Flowchart                                                                              D. Pseudo code

Q.12. The assembly code is converted into the machine code by

A. linker                                                                     B. compiler
C. assembler                                                             D. none of the above

Q.13. Which of the following file contains the hexadecimal coding?

A. object file                                                                                     B. assembly file
C. coded file                                                                                     D. decoded file

Q.14. The compiler converts

A. assembly code into machine code
B. machine code into assembly code
C. preprocessed source code into assembly code
D. none of the above.

Q.15. What is the first stage of the compilation process?

A. pre-processing                                                                   B. post-processing
C. compilation                                                                         D. linking