Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Test: The Compilation Process - 2 - Computer Science Engineering (CSE) MCQ

Test: The Compilation Process - 2 - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test - Test: The Compilation Process - 2

Test: The Compilation Process - 2 for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Test: The Compilation Process - 2 questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: The Compilation Process - 2 MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: The Compilation Process - 2 below.
Solutions of Test: The Compilation Process - 2 questions in English are available as part of our course for Computer Science Engineering (CSE) & Test: The Compilation Process - 2 solutions in Hindi for Computer Science Engineering (CSE) course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: The Compilation Process - 2 | 10 questions in 25 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: The Compilation Process - 2 - Question 1

Which of the following are header files?

Detailed Solution for Test: The Compilation Process - 2 - Question 1

Explanation: The #include is a header file which defines the standard constants, variable types, and many other functions. This can also include some standard libraries.

Test: The Compilation Process - 2 - Question 2

Which is the standard C compiler used for the UNIX systems?

Detailed Solution for Test: The Compilation Process - 2 - Question 2

Explanation: The cc is the standard C compiler used in the UNIX system. Its command lines can be pre-processed, compiled, assembled and linked to create an executable file.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: The Compilation Process - 2 - Question 3

 Which compiling option is used to compile programs to form part of a library?

Detailed Solution for Test: The Compilation Process - 2 - Question 3

Explanation: There are several options for the compilers. The option -c compiles the linking stage and then leaves the object file. This option is used to compile programs to form a part of the library.

Test: The Compilation Process - 2 - Question 4

Which compiling option can be used for finding which part of the program are consuming most of the processing time?

Detailed Solution for Test: The Compilation Process - 2 - Question 4

Explanation: The -p instructs the compiler to produce codes which count the number of times each routine is called and this is useful for finding the processing time of the programs.

Test: The Compilation Process - 2 - Question 5

Which compiling option can generate symbolic debug information for debuggers?

Detailed Solution for Test: The Compilation Process - 2 - Question 5

Explanation: The -g generates the symbolic debug information for the debuggers. Without this, the debugger cannot print the variable values, it can only work at the assembler level. The symbolic information is passed through the compilation process and stored in the executable file.

Test: The Compilation Process - 2 - Question 6

 Which of the following is also known as loader?

Detailed Solution for Test: The Compilation Process - 2 - Question 6

Explanation: The linker is also known as a loader. It can take the object file and searches the library files to find the routine it calls.

Test: The Compilation Process - 2 - Question 7

Which of the following gives the final control to the programmer?

Detailed Solution for Test: The Compilation Process - 2 - Question 7

Explanation: The linker can give the final control to the programmer concerning how unresolved references are reconciled, where the sections are located in the memory, which routines are used, and so on.

Test: The Compilation Process - 2 - Question 8

 Which command takes the object file and searches library files to find the routine calls?

Detailed Solution for Test: The Compilation Process - 2 - Question 8

Explanation: The linker is also known as a loader. It can take the object file and searches the library files to find the routine it calls. The linker can give the final control to the programmer concerning how unresolved references are reconciled, where the sections are located in the memory, which routines are used, and so on.

Test: The Compilation Process - 2 - Question 9

Which assembler option is used to turn off long or short address optimization?

Detailed Solution for Test: The Compilation Process - 2 - Question 9

Explanation: The option -o puts the assembler into the file obj file, -V can write the assembler’s version number on the standard error output, -m runs the macro preprocessor on the source file and -n turns off the long or short address optimization.

Test: The Compilation Process - 2 - Question 10

Which assembler option runs the m4 macro preprocessor on the source file?

Detailed Solution for Test: The Compilation Process - 2 - Question 10

Explanation: The option -o puts the assembler into the file obj file, -V can write the assembler’s version number on the standard error output, -m runs the macro preprocessor on the source file and -n turns off the long or short address optimization.

Information about Test: The Compilation Process - 2 Page
In this test you can find the Exam questions for Test: The Compilation Process - 2 solved & explained in the simplest way possible. Besides giving Questions and answers for Test: The Compilation Process - 2, EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)