MCQ
OS MCQ - Practice Questions with Answers
Solve 9 OS questions for RAS/RPSC preparation.
Practice questions
Q1Match the following – List –I A: Disk Scheduling B. Batch Processing C. Time Sharing D. Interrupt Processing List – II 1. Round Robin 2. Scan 3. LIFO 4. FIFO Code -
Disk scheduling is matched with SCAN because SCAN is a named disk-scheduling algorithm that moves the disk arm back and forth. Batch jobs are commonly served in first-in-first-out order, while round-robin is the standard time-sharing scheduler because it gives each ready process a time quantum. Interrupt handling saves and restores processor context on a stack, so the last saved context is restored first; hence the mapping A-2, B-4, C-1, D-3 makes option C correct.
Q2When a process is in a “Blocked” state it waits for some I/O service. When the service is completed it goes to the -
Correct option D is right because after the required I/O service is completed, a blocked process becomes eligible for CPU allocation again and enters the ready state. It does not go directly to the running state; the CPU scheduler must select it first.
Q3Consider the following statement – I. A child process that remains running even after its parent process is terminated or completed without waiting for the child process execution is called an orphan. II. A process that has completed its task but still, it shows an entry in a process table is called a zombie process.
An orphan process is a child that continues after its parent has terminated; UNIX/POSIX systems reassign such remaining children to a system process. A zombie process is a child that has terminated but has not yet been waited for, so a minimal entry remains in the kernel process table. Both statements match these definitions, so option A is correct.
Q4CPU scheduling is the basis of -
Correct option A is right because multiprogramming depends on selecting one process from the ready queue whenever the CPU becomes available. CPU scheduling is what keeps the processor shared among multiple programs, so it is the basis of a multiprogramming operating system.
Q5What does OS X have?
Correct option D is right because OS X uses a hybrid kernel architecture. It combines ideas associated with microkernels and monolithic kernels, so calling it purely microkernel or purely monolithic is incomplete.
You've seen 5 of 9 sample questions
Unlimited practice on OS comes with the RAS Test Series + Practice pack or Gate Pass.
More questions
6Which one of the following errors will be handled by the operating system?
7Cascading termination refers to a termination of all child processes, if the parent process terminates -
8If a process, fails most operating system write the error information to a -
9Which of the following statements are true? I. Shortest Remaining Time First(SRTF) scheduling may cause starvation. II. Preemptive scheduling may cause starvation. III. Round robin is better than FCFS in terms of response time.
