Operating System Set 1

Online MCQ Assignment Answer

QN1: Which of the following memory unit that processor can access more rapidly

a. Main Memory

b. Virtual Memory

c. Cache memory

d. Read Only Memory

Answer

Answer:c. Cache memory

QN2: A page fault occurs when

a. the Deadlock happens

b. the Segmentation starts

c. the page is found in the memory

d. the page is not found in the memory

Answer

Answer:d. the page is not found in the memory

QN3: “Bringing a page into memory only when it is needed, this mechanism is called”

a. Deadlock

b. Page Fault

c. Dormant Paging

d. Demand Paging

Answer

Answer:d. Demand Paging

QN4: First-in-First-Out (FIFO) scheduling is

a. Non Preemptive Scheduling

b. Preemptive Scheduling

c. Fair Share Scheduling

d. Deadline Scheduling

Answer

Answer:a. Non Preemptive Scheduling

QN5: Copying a process from memory to disk to allow space for other processes is Called

a. Swapping

b. Deadlock

c. Demand Paging

d. Page Fault

Answer

Answer:a. Swapping

QN6: The necessary conditions needed before deadlock can occur?

a. “No Mutual Exclusion, Hold and wait, Preemption, Circular Wait”

b. “Mutual Exclusion, No Hold and wait, Preemption, Circular Wait”

c. ” Mutual Exclusion, Hold and wait, No Preemption, Circular Wait”

d. ” Mutual Exclusion, Hold and wait, Preemption, No Circular Wait”

Answer

Answer:c. ” Mutual Exclusion, Hold and wait, No Preemption, Circular Wait”

QN7: A program in execution is called

a. Paging

b. A Process

c. A virtual memory

d. A Demand Page

Answer

Answer:b. A Process

QN8: Which of the following started out as separate program from operating systems but usually is included as part of the OS later on?

a. text Editor

b. Command processor

c. Resource allocator

d. Dispatcher

Answer

Answer:a. text Editor

QN9: An operating system that allows several processors to perform computation as the same time is call

a. Single program

b. Multitasking

c. Multiprocessing

d. Real time processing

Answer

Answer:c. Multiprocessing

QN10: The kind of interface with icons and menu bars for user to point at with mouse instead of entering commands for operating system to perform certain tasks is called

a. GUI

b. Command line interface

c. User friendly programming

d. None of the above

Answer

Answer:a. GUI

QN11: Round robin scheduling is essentially the preemptive version of ___

a. FIFO

b. Shortest job first

c. Shortest remaining

d. Longest time first

Answer

Answer:a. FIFO

QN12: Which of the following will determine your choice of systems software for your computer ?

a. Is the applications software you want to use compatible with it ?

b. Is it expensive ?

c. Is it compatible with your hardware ?

d. Both a and c

Answer

Answer:d. Both a and c

QN13: “Let S and Q be two semaphores initialized to 1, where P0 and P1 processes the following statements wait(S);wait(Q); —; signal(S);signal(Q) and wait(Q); wait(S);—;signal(Q);signal(S); respectively. The above situation depicts a ___ .”

a. Semaphore

b. Deadlock

c. Signal

d. Interrupt

Answer

Answer:b. Deadlock

QN14: What is a shell ?

a. It is a hardware component

b. It is a command interpreter

c. It is a part in compiler

d. It is a tool in CPU scheduling

Answer

Answer:b. It is a command interpreter

QN15: Routine is not loaded until it is called. All routines are kept on disk in a relocatable load format. The main program is loaded into memory & is executed. This type of loading is called ___

a. Static loading

b. Dynamic loading

c. Dynamic linking

d. Overlays

Answer

Answer:c. Dynamic linking

QN16: In the blocked state

a. the processes waiting for I/O are found

b. the process which is running is found

c. the processes waiting for the processor are found

d. none of the above

Answer

Answer:a. the processes waiting for I/O are found

QN17: What is the memory from 1K – 640K called ?

a. Extended Memory

b. Normal Memory

c. Low Memory

d. Conventional Memory

Answer

Answer:d. Conventional Memory

QN18: Virtual memory is___

a. An extremely large main memory

b. An extremely large secondary memory

c. An illusion of extremely large main memory

d. A type of memory used in super computers

Answer

Answer:c. An illusion of extremely large main memory

QN19: “The process related to process control, file management, device management, information about system and communication that is requested by any higher level language can be performed by ___.”

a. Editors

b. Compilers

c. System Call

d. Caching

Answer

Answer:c. System Call

QN20: “If the Disk head is located initially at 32, find the number of disk moves required with FCFS if the disk queue of I/O blocks requests are 98,37,14,124,65,67.”

a. 310

b. 324

c. 315

d. 321

Answer

Answer:d. 321

QN21: Multiprogramming systems ___

a. Are easier to develop than single programming systems

b. Execute each job faster

c. Execute more jobs in the same time

d. Are used only on large main frame computers

Answer

Answer:c. Execute more jobs in the same time

QN22: Which is not the state of the process ?

a. Blocked

b. Running

c. Ready

d. Privileged

Answer

Answer:d. Privileged

QN23: “The solution to Critical Section Problem is : Mutual Exclusion, Progress and Bounded Waiting.”

a. The statement is false

b. The statement is true

c. The statement is contradictory

d. None of the above

Answer

Answer:b. The statement is true

QN24: The problem of thrashing is effected scientifically by ___

a. Program structure

b. Program size

c. Primary storage size

d. None of the above

Answer

Answer:a. Program structure

QN25: The state of a process after it encounters an I/O instruction is ___

a. Ready

b. Blocked/Waiting

c. Idle

d. Running

Answer

Answer:b. Blocked/Waiting

QN26: The number of processes completed per unit time is known as ___

a. Output

b. Throughput

c. Efficiency

d. Capacity

Answer

Answer:b. Throughput

QN27: ” ___ is the situation in which a process is waiting on another process,which is also waiting on another process … which is waiting on the first process. None of the processes involved in this circular wait are making progress.”

a. Deadlock

b. Starvation

c. Dormant

d. None of the above

Answer

Answer:a. Deadlock

QN28: Which of the following file name extension suggests that the file is Backup copy of another file ?

a. TXT

b. COM

c. BAS

d. BAK

Answer

Answer:d. BAK

QN29: Information is stored and transmitted inside a computer in

a. binary form

b. ASCII code form

c. decimal form

d. alphanumeric form

Answer

Answer:a. binary form

QN30: A critical region

a. is a piece of code which only one process executes at a time

b. is a region prone to deadlock

c. is a piece of code which only a finite number of processes execute

d. is found only in Windows NT operation system

Answer

Answer:a. is a piece of code which only one process executes at a time

QN31: The mechanism that brings a page into memory only when it is needed is called ___

a. Segmentation

b. Fragmentation

c. Demand Paging

d. Page Replacement

Answer

Answer:c. Demand Paging

QN32: A parity bit is

a. used to indicate uppercase letters

b. used to detect errors

c. is the first bit in a byte

d. is the last bit in a byte

Answer

Answer:b. used to detect errors

QN33: Switching the CPU to another Process requires to save state of the old process and loading new process state is called as ___

a. Process Blocking

b. Context Switch

c. Time Sharing

d. None of the above

Answer

Answer:b. Context Switch

QN34: A thread

a. is a lightweight process where the context switching is low

b. is a lightweight process where the context swithching is high

c. is used to speed up paging

d. none of the above

Answer

Answer:a. is a lightweight process where the context switching is low

QN35: ___ is a high level abstraction over Semaphore

a. Shared memory

b. Message passing

c. Monitor

d. Mutual exclusion

Answer

Answer:c. Monitor

QN36: A tree sturctured file directory system

a. allows easy storage and retrieval of file names

b. is a much debated unecessary feature

c. is not essential when we have millions of files

d. none of the above

Answer

Answer:a. allows easy storage and retrieval of file names

QN37: Which directory implementation is used in most Operating System?

a. Single level directory structure

b. Two level directory structure

c. Tree directory structure

d. Acyclic directory structure

Answer

Answer:c. Tree directory structure

QN38: A set of processes is deadlock if

a. each process is blocked and will remain so forever

b. each process is terminated

c. all processes are trying to kill each other

d. none of the mentioned

Answer

Answer:a. each process is blocked and will remain so forever

QN39: Which one of the following is a synchronization tool?

a. thread

b. pipe

c. semaphore

d. socket

Answer

Answer:c. semaphore

QN40: Mutual exclusion can be provided by the

a. mutex locks

b. binary semaphores

c. both (1) and (2)

d. none of the mentioned

Answer

Answer: c. both (1) and (2)

ed010d383e1f191bdb025d5985cc03fc?s=120&d=mm&r=g

DistPub Team

Distance Publisher (DistPub.com) provide project writing help from year 2007 and provide writing and editing help to hundreds student every year.