Operating System MCQs – Set 42
UGC NET Paper 2 Computer Science AUG 2016 – Operating System
821. Indexed allocation: file of 50 blocks, adding one block at end needs how many disk I/Os?
Operating System • File Systems • UGC NET Paper 2 Computer Science AUG 2016
822. LP max z=0.5x₂–0.1x₁ s.t. 2x₁+5x₂≤80, x₁+x₂≤20: maximum z = ?
Operating System • Linear Programming • UGC NET Paper 2 Computer Science AUG 2016
823. LP duality: (a) finite↔finite, (b) unbounded→infeasible, (c) both infeasible. Which?
Operating System • Linear Programming • UGC NET Paper 2 Computer Science AUG 2016
824. Linker tasks: I.Resolve externals II.Translate assembly III.Relocate IV.Access control. Which?
Operating System • Linkers • UGC NET Paper 2 Computer Science AUG 2016
825. With 8-page virtual, 4 frames, LRU, ref string … how many faults?
Operating System • Page Replacement • UGC NET Paper 2 Computer Science AUG 2016
826. Page-reference string with 5 frames: faults for LRU, FIFO, optimal are:
Operating System • Page Replacement • UGC NET Paper 2 Computer Science AUG 2016
827. Regarding UNIX “nice”: I. sets changes priority. II. nice value set at creation. III. takes command-line arg. Which?
Operating System • Process Control • UGC NET Paper 2 Computer Science AUG 2016
828. OS MTBF=30 days; MTTR=10 minutes. Availability ≈ ?
Operating System • Reliability • UGC NET Paper 2 Computer Science AUG 2016
829. Server up 75%, down 25%; how many replicas for ≥99% availability?
Operating System • Reliability • UGC NET Paper 2 Computer Science AUG 2016
830. Jobs A–E runtimes 9,6,3,5,x, 0 arrivals. For 3
Operating System • Scheduling • UGC NET Paper 2 Computer Science AUG 2016
831. P1(20),P2(10),P3(30) arrive 1,3,7. SRTF context switches?
Operating System • Scheduling • UGC NET Paper 2 Computer Science AUG 2016
832. Unix kernel data: I. Process table always resident. II. u-structure swapped out if process not in memory. Which are correct?
Operating System • Unix Kernel • UGC NET Paper 2 Computer Science AUG 2016
833. Paged VM: effective access time (μs) is:
Operating System • Virtual Memory • UGC NET Paper 2 Computer Science AUG 2016
834. Scheduler re-evals priority ∝ waiting time, no I/O, all arrive at 0. Which?
Operating System • CPU Scheduling • UGC NET Paper 2 Computer Science AUG 2016
835. Which is NOT true of cron daemon?
Operating System • Daemons • UGC NET Paper 2 Computer Science AUG 2016
836. Given 4 processes, 12 instances of R, max needs & allocations given, is system safe? Safe sequence?
Operating System • Deadlock – Banker’s Algorithm • UGC NET Paper 2 Computer Science AUG 2016
837. Disk head at 32; FCFS queue 98,37,14,124,65,67. Total moves?
Operating System • Disk Scheduling – FCFS • UGC NET Paper 2 Computer Science AUG 2016
838. Null RPC=1 ms +1.5 ms per 1K. Read 32K as 32 RPCs takes ?
Operating System • Distributed Systems: RPC • UGC NET Paper 2 Computer Science AUG 2016
839. Mode 641: owner rw, group r, others x; Mode 100: owner x only. Which correct?
Operating System • File permissions • UGC NET Paper 2 Computer Science AUG 2016
840. In UNIX, which `mkdir` creates subdirs `PIS/progs` and `PIS/data`?
Operating System • File System Commands • UGC NET Paper 2 Computer Science AUG 2016
Disclaimer for MCQ Quiz
This quiz is for educational purposes only…