Showing posts with label C Programming. Show all posts
Showing posts with label C Programming. Show all posts

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

C programming mcq with answers Problem Solving Aspects : Algorithm, Flowchart : Link-1

C programming mcq with answers- Problem Solving Aspects : Algorithm, Flowchart : Link-1

C Programming MCQ & Answers

       Are you worried about the answers to C Programming questions :Problem Solving Aspects : Algorithm, Flowchart? 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. The _______ provides pictorial representation of given problem.

A. Algorithm                                                         B. Flowchart
C. Pseudocode                                                     D. All of these

Q.2. What does an arrow represent in a flow chart?

A.Decision making                                               B. Data Flow
C. Start                                                                  D. Stop

Q.3. When algorithm to be used?

A.Only with computers
B. Only when programming
C. Only with flowcharts
D. Any time to design solutions to problems

Q.4. What is the difference between a flowchart and pseudocode?

A. A flowchart is diagrammatic whilst pseudocode is written in a programming language (eg. Pascal or Java)
B. A flowchart is textual but pseudocode is diagrammatic
C. A flowchart is a diagrammatic description of an algorithm whilst pseudocode is a textual description of an algorithm
D. A flwochart and pseudocode are the same thing

Q.5. In a flowchart a calculation (process) is represented by --------

A. A rectangle                                                        B. A rhombus
C. A parallelogram                                                D. A circle

Q.6. What is an Algorithm?

A. A flowchart
B. Step by step instructions used to solve a problem
C. A decision
D. A Pseudocode

Q.7. The linker --------

A.Is similar to interpreter                                     B. Uses source code as its input
C. Is required to create a load module               D. None of the mentioned

Q.8. The ______ symbol is used at the beginning of a flow chart.

A. Circle                                                                  B. Rectangle
C. Diamond                                                            D. None of these

Q.9. _________ symbol is used to represent input and output operation in flowchart.

A. Circle                                                                        B. Rectangle
C. Diamond                                                                  D. Parallelogram

Q.10. What shape represents the start and end of a flowchart?

A. Oval                                                                             B. Rectangle
C. Diamond                                                                    D. Square

Q.11. Which of the following processes the source code before it goes to the compiler?

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

Q.12. The preprocessor removes the _______ from the source code.

A. comments                                                             B. header files
C. both comments and header files                      D. none of the above

Q.13. Which file is converted to an object file?

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

Q.14. The file extension of preprocessor created file is------

A. .a                                                                   B. .i
C. .s                                                                   D. .o

Q.15. What is C editor?

A. C compiler                                                                  B. C assembler
C. C code editor like notepad                                      D. None of the above