All mock tests are FREE till 31 December — register to save your progress
Paper 2 CS · UNIT 05 · MOCK TEST

System Software and Operating System — Mock Test 4

25 questions · about 30 minutes. Press End Mock any time to see your score and the correct answers.

0 / 25 answered 00:00
Q1.
Match List I with List II regarding operating system I/O management.
List I: (a) Device controller (b) Device driver (c) Interrupt handler (d) Kernel I/O subsystem
List II: (i) Extracts information from the controller's registers and stores it in a data buffer (ii) Performs I/O scheduling (iii) Performs the actual data transfer between the device and memory (iv) Processes/initiates the I/O request
Choose the correct answer from the options given below.
Q2.
In Linux, where is the user password stored?
Q3.
A program that is used by other routines to accomplish a particular task is called:
Q4.
The following table shows the time between failures (in hours) observed for a piece of software:
Error number12345
Time since last failure (hours)64856
Assuming an exponential reliability model, what is the reliability of the system for one hour of operation?
Q5.
Consider the following statements about a software product line system:
Statement I: At the interaction level, components provide an operator display interface and an interface with the communication system used.
Statement II: At the I/O management level, components handle operator authentication, report generator and query manager.
Q6.
Consider the following statements:
S1: The LRU page replacement algorithm suffers from Belady's anomaly.
S2: Shortest-remaining-time-first scheduling may cause starvation.
S3: The stack is shared by all threads in a process.
Q7.
Consider the following statements:
S1: The LRU page replacement algorithm suffers from Belady's anomaly.
S2: Shortest-remaining-time-first scheduling may cause starvation.
S3: The stack is shared by all threads in a process.
Q8.
The main function of the microkernel is to provide a communication facility between the ________ program and the various ________ that are also running in user space.
Q9.
Match List I with List II:
List I: (A) IPC (B) Demand Paging (C) Banker's Algorithm (D) PCB
List II: (I) Resource Allocation (II) Computational speedup (III) Task Control Block (IV) Virtual Memory
Choose the correct match from A-D to I-IV.
Q10.
Select the correct order of events after power is applied to a system:
(A) Bootstrap loader is loaded from the disk.
(B) Kernel is loaded into memory.
(C) Firmware ROM loads the boot block.
Q11.
Match List I with List II:
List I: (A) Stack algorithm (B) Elevator algorithm (C) Priority scheduling algorithm (D) Havender's algorithm
List II: (I) Deadlock (II) Disk scheduling (III) Page replacement (IV) CPU scheduling
Choose the correct match from A-D to I-IV.
Q12.
Match List I with List II.
List I: (A) Least frequently used (B) Critical section (C) Loosely coupled multiprocessor system (D) Distributed operating system organization
List II: (I) Memory is distributed among the processors (II) Page replacement policy in cache memory (III) Program section that one process must completely execute before another process can access the same shared resource (IV) O/S routines are distributed among the available processors
Choose the correct answer from the options given below.
Q13.
Match List I with List II.
List I: (A) Firmware (B) Batch file (C) Packing (D) Banker's algorithm
List II: (I) Number of logical records packed into a physical block (II) File kept in ASCII format (III) Resource allocation (deadlock-avoidance) technique (IV) Program/data permanently stored in ROM
Choose the correct answer from the options given below.
Q14.
Match List I with List II.
List I (system call): (A) fork() (B) exec() (C) kill() (D) exit()
List II (description): (I) Sends a signal from one process to another process (II) Indicates termination of the current process (III) Loads the specified program into memory (IV) Creates a child process
Choose the correct answer from the options given below.
Q15.
Which of the following cloud computing concept(s) is/are related to the pooling and sharing of resources?
(A) Virtual Memory
(B) Service
(C) Virtualization
Q16.
Which of the following routing technique(s) is/are used in distributed systems?
(A) Fixed Routing
(B) Virtual Routing
(C) Dynamic Routing
Q17.
Match the following WINDOWS system calls with the equivalent UNIX system calls, with reference to process control and file manipulation:
Windows: (A) CreateProcess() (B) WaitForSingleObject() (C) CreateFile() (D) CloseHandle()
UNIX: (I) open() (II) close() (III) fork() (IV) wait()
Q18.
Which statement is not correct about the 'init' process in UNIX?
Q19.
Which UNIX command correctly changes the case of only the first three lines of the file "shortlist" from lower case to upper case?
Q20.
Match the following basic vi editor commands in UNIX with their functions.
List I (Command): (a) dd (b) yy (c) p (d) u
List II (Function): (i) Copies (yanks) the current line into the buffer (ii) Undoes the last change made to the file (iii) Deletes the current line (iv) Pastes the buffer's contents after the cursor
Choose the correct match from the options given below.
Q21.
Consider the following statements about linker software: (I) A linker combines multiple object (relocatable) modules into a single load module. (II) A linker replaces absolute references in a program with symbolic references. Which of the above statement(s) is/are correct?
Q22.
A distributed operating system typically consists of:
Q23.
Which of the following statements about UNIX signals is NOT correct?
Q24.
A null remote procedure call (RPC) (carrying 0 data bytes) takes 1.0 msec, with an additional 1.5 msec for every 1K of data carried. How long does it take to read 32K from a file server, issued as 32 separate 1K RPCs?
Q25.
What is the function of the following UNIX command?
wc -l a > b &