⟩ ____ is a directory (which should exist), on which to mount the file system? a) Root b) Boot c) Mount-point d) Partition
c) Mount-point
c) Mount-point
What is the output of this program? #include<stdio.h> int main() { int *ptr; ptr = (int *)calloc(1,sizeof(int)); *ptr = 10; printf("%dn",*ptr); return 0; } a) 0 b) -1 c) 10 d) none of the mentioned
On Linux, initrd is a file a) containing root file-system required during bootup b) Contains only scripts to be executed during bootup c) Contains root-file system and drivers required to be preloaded during bootup d) None of the above
Which of the following is not a valid run-level? a) S b) 0 c) 8 d) 1
Which file is read by init to get the default run-level? a) /etc/profile b) /etc/init c) /etc/boot d) /etc/inittab
Which is loaded into memory when system is booted? a) Kernel b) Shell c) Commands d) Script
Which signal is generated when we press control-C? a) SIGINT b) SIGTERM c) SIGKILL d) SIGSEGV
If a signal is received by a process, when will it be processed? a) It is processed immediately b) It is processed when process is switching to kernel mode c) It is processsed in the next timeslice given to the process
Which signal is generated when we press ctrl-Z? a) SIGKILL b) SIGSTOP c) SIGABRT d) SIGINT
Which signal is sent when the Child process terminates? a) SIGINIT b) SIGKILL c) SIGSTOP d) SIGCHLD
Which of the following signal cannot be handled or ignored? a) SIGINT b) SIGCHLD c) SIGKILL d) SIGALRM