Essential Linux Makefile Interview Preparation Guide Download PDF
Linux Makefile frequently Asked Questions by expert members with experience in Makefile. These questions and answers will help you strengthen your technical skills, prepare for the new job test and quickly revise the concepts
56 Makefile Questions and Answers:
Table of Contents:
![Essential Makefile Job Interview Questions and Answers](https://globalguideline.com/public/images/interview/25.png)
1 :: The permission -rwsr--r-- represented in octal expression will be?
Be the First to Post Your Answer Now
2 :: The permission -rwxr–r– represented in octal expression will be?
Be the First to Post Your Answer Now
4 :: Which of the following umask settings allow execute permission to be set by default on regular files?
a) 222
b) 111
c) 000
d) None of the given choices
d) None of the given choices
5 :: The command chmod 4777 a.out:
a) will set the suid bit of a.out
b) will set the suid bit of a.out only if the command is issued by root
c) is not a valid command
d) will set the sticky bit of a.out
a) will set the suid bit of a.out
6 :: What does chmod +t do?
a) wrong syntax
b) set effective userid for filename
c) set effective groupid for filename
d) set the sticky bit
d) set the sticky bit
8 :: A user executes the following command successfully:
$ chmod +x file1.txt
Which of the following is true of the output of this command?
a) The command results in adding execute permission to the user who ran this command
b) The command results in adding execute permission for the owner of the file
c) The command results in an error since the file is not an executable file
d) The command results in adding execute permission for all users (i.e., user,group & others)
d) The command results in adding execute permission for all users (i.e., user,group & others)
10 :: Which command is used to assign read-write permission to the owner?
a) chmod a+r file
b) chmod o+r file
c) chmod u=rw file
d) chmod og-r file
c) chmod u=rw file
12 :: Given the command:
$ chmod o-w datafile
a) sets write permission to everyone for datafile
b) sets write permission to others for datafile
c) clears write permission to everyone for datafile
d) clears write permission to others for datafile
d) clears write permission to others for datafile
15 :: If make command is executed as "make -j 2″, then:
a) two jobs will run simultaneously
b) only two will be executed
c) it will give an error
d) none of the mentioned
a) two jobs will run simultaneously
16 :: As we type "make" command on the terminal:
a) make reads the makefile in the current directory
b) make reads the makefile in the parent directory
c) make reads the makefile in the predefined environment variable
d) none of the mentioned
a) make reads the makefile in the current directory
20 :: The command "make google" will:
a) create the executable if google.c file is present in the current directory
b) create the object file named as google.o
c) give an error
d) none of the mentioned
a) create the executable if google.c file is present in the current directory
21 :: The makefile starts executing from:
a) first target
b) first target whose name starts with "."
c) first target whose name does not starts with "."
d) none of the mentioned
c) first target whose name does not starts with "."
22 :: What is phony target in the makefile?
a) the target which is not a filename
b) the target which is a filename
c) the target which does not used for compilation
d) none of the mentioned
a) the target which is not a filename
23 :: What is makefile?
a) makefile describes to the make command that how to compile the program
b) makefile contains various statements related with the compilation of target
c) both (a) and (b)
d) none of the mentioned
a) makefile describes to the make command that how to compile the program
25 :: When a target of makefile fails to execute:
a) make does not executes any other target dependent on it
b) it returns a status
c) both (a) and (b)
d) none of the mentioned
c) both (a) and (b)
![Makefile Interview Questions and Answers](https://globalguideline.com/public/images/interview/22.png)