Set 8 MCQ Questions and Answers
Home | Linux | Set 8Linux MCQ Questions and Answers: We provide Linux MCQ Questions and Answers, here most important quiz questions related to Linux and you can download pdf of objective questions with answers.
1) The buddy algorithm handles the
2) The file /proc/swaps contains the
list of active swap partitions
sizes of the swap partitions
priorities of the swap partitions
all of the mentioned
Answer : D Discuss
3) /proc/tty contains the information about
current terminal
all terminals
both current & all terminals
none of the mentioned
Answer : A Discuss
4) The command “cd /proc/10/cwd” provides the
current working directory of process having PID 10
current status of the process having PID 10
current version of the filesystem
none of the mentioned
Answer : A Discuss
Free Online Test
5) Which one of the following command will print the environement of process 1?
cat /proc/1/environ
cat /proc/bin/1/env
cat /proc/1/var/env
none of the mentioned
Answer : A Discuss
6) The file /proc/[PID]/mountinfo contains
major minor numbers of device files
root of the mount within the filesystem
mount point relative to the process’s root
all of the mentioned
Answer : D Discuss
7) With the help of proc filesystem
kernel and kernel modules can send the information to processes
process information can be accessed
kernel modules can send the information to processes & process information can be accessed
none of the mentioned
Answer : C Discuss
8) Most files and directories within /proc are 0 bytes in size because
proc filesystem exists only as a reflection of the in-memory kernel data structure
these files contains very only one or two instructions
proc filesystem doesn’t exists only as a reflection
none of the mentioned
Answer : A Discuss
9) Proc files are
read-only files
read-write files
both read-write and read-only files
none of the mentioned
Answer : C Discuss
10) Accessing the file /proc/meminfo gives the different result each time because
memory usages is always fluctuating
a new process id is assigned
logical address is different from the physical address
none of the mentioned
Answer : A Discuss
Free Online Test