| | | | MCQ Tutorial - Linux->Process | | | | 6.) Which one of the following is not true? | | Options are: | | A.) -O is used for optimization in gcc
| | B.) -all is used for optimization in gcc
| | C.) None of the options
| | D.) Source codes can not be compiled with static libraries in gcc
| | Correct Option: D | | | | | | | 7.) The compiler converts | | Options are: | | A.) Assembly code into machine code
| | B.) None of the options
| | C.) Preprocessed source code into assembly code
| | D.) Machine code into assembly code
| | Correct Option: C | | | | | | | 8.) What is the role of linker in the compilation process? | | Options are: | | A.) Linker links the object code with the library code
| | B.) Linker generates an executable file
| | C.) All of the options
| | D.) Linker converts machine code into executable machine code
| | Correct Option: C | | | | | | | 9.) Which gcc option reports the cpu time taken by each subprocess in the compilation sequence? | | Options are: | | A.) -cpu
| | B.) None of the options
| | C.) -time
| | D.) -process
| | Correct Option: C | | | | | | | 10.) The option -fsyntax-only of gcc | | Options are: | | A.) Checks the code for syntax error
| | B.) None of the options
| | C.) Checks the code for fatal error
| | D.) Checks the code for syntax and fatal error
| | Correct Option: A | | | | | | | | | | | |