Unix/Lunux MCQ Quiz Hub

Linux Mcqs Questions Set 13

Choose a topic to test your knowledge and improve your Unix/Lunux skills

1. What is a context switch?




2. Pid of init process




3. What is the default maximum number of processes that can exist in Linux?




4. How do you get parent process identification number?




5. Parent process id of a deamon process is




6. The process which terminates before the parent process exits becomes




7. Return value of fork() system call can be:




8. If the fork() system call returns -1, then it means?




9. Fork returns _____ to parent process on success




10. On x86-32 Linux, at which address the code segment of the program starts?




11. On x86-32 Linux, at which address the user stack resides normally?




12. A system has 512MB of physical memory. Which among the following is not a suitable virtual memory size for this system architecture?




13. LRU stands for




14. Mm_struct maintains?




15. Which sytem call can be used by a user process to lock a memory so that it cannot be swapped out?




16. Among these files which has an ELF format




17. What is the use of strace command?




18. If one of the thread in multithreaded process is blocked on an I/O, which of the following is true?




19. Which one can be a real time schedule policy?




20. In Linux kernel-2.6 Real time priority ranges from




21. Solaris real time class priority is




22. Solaris System class priority is




23. Each process has unique




24. File descriptor table indexes which kernel structure?




25. What is the default number of files open per user process?




26. The file system information is stored in




27. Switch table is used by




28. What is the use of fcntl function?




29. Which function can be used instead of the dup2 to duplicate the file descriptor?




30. printf() uses which system call




31. read() system call on success returns




32. Which system call is used to create a hard link?




33. namei() is




34. dup2(1,0)




35. If a signal is received by a process, when will it be processed?




36. Which signal is generated when we press control-C?




37. Which signal is generated when we press ctrl-Z?




38. Which signal is sent when the Child process terminates?




39. Which of the following signal cannot be handled or ignored?




40. Another signal that cannot be caught is:




41. When real interval timer expires which signal is generated?




42. Signals are handled using which system call?




43. Default action of SIGSEGV is




44. The kill system call is used to




45. Which is true regarding pipes?




46. The persistancy of a FIFO is




47. Advantage of FIFO over pipe is




48. What mkfifo() creats?




49. System V IPC common attributes are




50. Which one of the following is not system V IPC ?