Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Operating system is a collection of a) Software routines b) Input-output devices c) Hardware components d) All of these 2. FIFO scheduling is
1. Operating system is a collection of a) Software routines b) Input-output devices c) Hardware components d) All of these 2. FIFO scheduling is a) Fair-share scheduling b) Deadline scheduling c) Non-preemptive scheduling d) Preemptive scheduling 3. How many times the following C program prints yes? Int main() { fork(); fork(); printf("yes"); } a) Once b) Twice c) Four d) eight 4. If a thread invokes the exec system call; a) Only the exec executes as a separate process b) The program specified in the parameter to exec will replace the entire process c) The exec is invoked as it is invoked by a thread d) None of the mentioned 5. Which of the following is not shared by threads? a) program counter b) stack c) both program counter and stack d) none of the mentioned 6. A process can be: a) Single threaded b) Multiple threaded c) Both single and multithreaded d) None of the mentioned
Step by Step Solution
There are 3 Steps involved in it
Step: 1
The detailed answer for the above question is provided below Here are the answers to the multiplechoice questions youve got 1 Operating system is a co...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started