⟩ The preprocessor removes the _______ from the source code. a) comments b) header files c) both (a) and (b) d) none of the mentioned
a) comments
a) comments
On x86-32 Linux, at which address the user stack resides normally? a) 0×00000000 b) 0x3fff0000 c) 0x7fff0000 d) 0xbfff0000
Describe the use of strace command
Which one can be a real time schedule policy? a) SCHED_FIFO b) SCHED_SPF c) SCHED_OTHER d) SCHED_FILO
Each process has unique a) fd table b) file table c) inode table d) data block table
File descriptor table indexes which kernel structure? a) struct file b) strruct fs_struct c) files_struct d) struct inode
Executing the 'cd ..' command when at the root level causes a) Error message indicating the user can't access beyond the root level b) Behavior is unix-flavor dependent c) Results in changing to the 'home' directory d) Nothing happens
Switch table is used by a) device special file b) directory file c) fifo d) link file.
Printf() uses which system call a) open b) read c) write d) close
Which system call is used to create a hard link? a) hard-link b) link c) symlink d) ln
dup2(1,0) a) closes the stdout and copies the stdin descriptor to stdout b) closes the stdin and copies the stdout descriptor to stdin c) will produce compilation error d) None of the above