⟩ The assembly code is converted into the machine code by a) compiler b) assembler c) linker d) none of the mentioned
b) assembler
b) assembler
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
If the fork() system call returns -1, then it means? a) No new child process is created b) The child process is an orphan c) The child process is in Zombie