✔ Scroll down and test yourself — answers are hidden under the “View Answer” button.
Operating systems MCQ questions set 5 for competitive exams with answers explained
Operating systems MCQ Set - 5
1. Which of the following C library functions do NOT directly
correspond to (similarly named) system calls? That is, the implementations of
which of these C library functions are NOT straightforward invocations of the
underlying system call?
a. system()
b. fork()
c. exit()
d. strlen()
Click here to view answer and explanation
2. Which of the following are all system calls?
a. chmod(), chdir(),
read(), main()
b. waitpid(), smdir(),
mount(), open()
c. fork(), exit(), lseek(), kill()
Click here to view answer and explanation
3. A round robin scheduler:
a. favors processes that
are expected to have a short CPU burst.
b. favors high priority
processes.
c. dynamically adjusts the
priority of processes based on their past CPU usage.
d. gives each process an equal share of the CPU.
4. A shortest remaining time first scheduler:
a. dynamically adjusts the
quantum based on the process.
b. tries to optimize mean response time for processes.
c. gives each process an
equal share of the CPU.
d. favors processes that
use the CPU for long stretches of time.
5. Process aging:
a. helps estimate the
length of the next compute period.
b. increases the runtime
of a process.
c. improves the chances of a process getting scheduled to run.
d. is a count of the total
CPU time used by the process and is stored in the PCB.
Go to Operating Systems MCQ home page
Go to Operating Systems home page
Go to Operating Systems TRUE/FALSE questions page
No comments:
Post a Comment