Unix Questions and Answers – Performance Components and Tools

This set of Unix Multiple Choice Questions & Answers (MCQs) focuses on “Performance Components and Tools”. 1. Which of the following resources are required to be managed and monitored? a) CPU time b) I/O time c) Disk space d) CPU time, I/O time, disk space 2. System time comprises ____ components. a) 5 b) 4 … Read more

advertisement

Unix Questions and Answers – Process Control System Calls – 2

This set of Tricky Unix Questions and Answers focuses on “Process Control System Calls – 2”. 1. ___ system call behaves in an identical manner to the kill command. a) alarm b) kill c) pause d) signal 2. Which library function uses kill to send any signal to the current process? a) getc b) raise … Read more

advertisement

Unix Questions and Answers – Process Control System Calls – 1

This set of Unix Multiple Choice Questions & Answers (MCQs) focuses on “Process Control System Calls – 1”. 1. ____ exec is responsible for executing programs on a UNIX system. a) True b) False 2. Which of the following system call is used for duplicating file descriptor? a) dup b) decr c) exec d) execv … Read more

advertisement

Unix Questions and Answers – Process Control Basics

This set of Unix Multiple Choice Questions & Answers (MCQs) focuses on “Process Control Basics”. 1. UNIX supports preemptive multitasking. a) True b) False 2. The collection of memory locations that the process can access is called _______ a) process table b) process space c) virtual address space d) virtual space 3. The virtual address … Read more

advertisement

Unix Questions and Answers – File Handling System Calls – 2

This set of Basic Unix Questions and Answers focuses on “File handling System Calls – 2”. 1. ____ system call is used for renaming a file, directory or symbolic link. a) renam b) rename c) ren d) change 2. S_IFxxx macros are used for checking the file types. a) True b) False 3. Which of … Read more

advertisement

Unix Questions and Answers – File handling System Calls – 1

This set of Unix Multiple Choice Questions & Answers (MCQs) focuses on “File handling System Calls – 1”. 1. Which library function is used for printing error messages? a) strerror b) stderror c) strer d) ptrerror 2. perror also uses error number to print the error messages. a) True b) False 3. What is the … Read more

advertisement

Unix Questions and Answers – System Calls Basics – 2

This set of Unix Question Bank focuses on “System Calls Basics – 2”. 1. Which of the following system call is used for closing a file? a) open b) lseek c) close d) write 2. close system call returns ____ a) 0 b) -1 c) 1 d) 0 and -1 3. ____ system call is … Read more

advertisement

Unix Questions and Answers – System Calls Basics – 1

This set of Unix Multiple Choice Questions & Answers (MCQs) focuses on “System Calls Basics – 1”. 1. A system call is a routine built into the kernel and performs a basic function. a) True b) False 2. When we execute a C program, CPU runs in ____ mode. a) user b) kernel c) supervisory … Read more

advertisement

Unix Questions and Answers – Customizing Vi Editor

This set of Unix Multiple Choice Questions & Answers (MCQs) focuses on “Customizing Vi Editor”. 1. For searching a character, ___ and ___ are used. a) f, t b) n, w c) e, d d) k, n 2. For moving the cursor forward to the first occurrence of a character, __ is used. a) d … Read more

advertisement

Unix Questions and Answers – Handling Multiple Files and Buffers

This set of Unix Multiple Choice Questions & Answers (MCQs) focuses on “Handling Multiple Files and Buffers”. 1. Which of the following command is used for switching files? a) :e b) e! c) !e d) !r 2. For returning back to the original file after switching we can use: a) :e! b) ctrl-^ c) :e# … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.