1. The a.out file is in the
a) ELF format
b) EXE format
c) Both EXE and ELF format
d) None of the mentioned
View Answer
Explanation: None.
2. Which one of the following command can be used to provide executable permissions for a file? 3. The lines in our code that begin with the “#” character are 4. Command line parameters are passed by the 5. In the preprocessing stage of compilation 6. Which compilation step makes sure that all the undefined symbols in the code are resolved. 7. Which one of the following is not true? 8. Preprocessed files are given the file extension _____ for c++ programs. 9. The assmebly code generated depends upon the 10. The COFF stands for Sanfoundry Global Education & Learning Series – Linux Administration & Programming. Here’s the list of Best Books in Linux Commands & Shell Programming. To practice all questions on Linux Administration & Programming, here is complete set of 1000+ Multiple Choice Questions and Answers on Linux.
a) chmod +x <filename>
b) chmod 777 <filename>
c) both chmod +x
d) none of the mentioned
View Answer
Explanation: None.
a) preprocessor directives
b) macros
c) header files
d) none of the mentioned
View Answer
Explanation: None.
a) preprocessor
b) assembler
c) compiler
d) linker
View Answer
Explanation: None.
a) header files are actually expanded and included in the source code of the program
b) macros are replaced by their respective values
c) all the comments are stripped off
d) all of the mentioned
View Answer
Explanation: None.
a) linking
b) compiling
c) preporcessing
d) none of the mentioned
View Answer
Explanation: An undefined symbol is one for which there is no definition available.
a) we need to manually go through all intermediate stages to generate an executable in gcc
b) gcc compilation process always contains 4 stages
c) gcc compilation process always contains 3 stages
d) none of the mentioned
View Answer
Explanation: None.
a) .i
b) .ii
c) .iii
d) none of the mentioned
View Answer
Explanation: None.
a) processor archietecture
b) ram size
c) both processor archietecture and RAM size
d) none of the mentioned
View Answer
Explanation: None.
a) common object file format
b) combined operation for file formats
c) combined object file format
d) none of the mentioned
View Answer
Explanation: None.
Here’s the list of Best Books in Linux Kernel, Device-Drivers & System Programming.
- Check Linux Books
- Practice Programming MCQs
- Apply for Programming Internship
- Check Information Technology Books