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:c. Cache memoryAnswer
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:d. the page is not found in the memoryAnswer
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:d. Demand PagingAnswer
QN4: First-in-First-Out (FIFO) scheduling is
a. Non Preemptive Scheduling
b. Preemptive Scheduling
c. Fair Share Scheduling
d. Deadline Scheduling
Answer:a. Non Preemptive SchedulingAnswer
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:a. SwappingAnswer
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:c. ” Mutual Exclusion, Hold and wait, No Preemption, Circular Wait”Answer
QN7: A program in execution is called
a. Paging
b. A Process
c. A virtual memory
d. A Demand Page
Answer:b. A ProcessAnswer
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:a. text EditorAnswer
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:c. MultiprocessingAnswer
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:a. GUIAnswer
QN11: Round robin scheduling is essentially the preemptive version of ___
a. FIFO
b. Shortest job first
c. Shortest remaining
d. Longest time first
Answer:a. FIFOAnswer
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:d. Both a and cAnswer
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:b. DeadlockAnswer
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:b. It is a command interpreterAnswer
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:c. Dynamic linkingAnswer
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:a. the processes waiting for I/O are foundAnswer
QN17: What is the memory from 1K – 640K called ?
a. Extended Memory
b. Normal Memory
c. Low Memory
d. Conventional Memory
Answer:d. Conventional MemoryAnswer
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:c. An illusion of extremely large main memoryAnswer
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:c. System CallAnswer
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:d. 321Answer
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:c. Execute more jobs in the same timeAnswer
QN22: Which is not the state of the process ?
a. Blocked
b. Running
c. Ready
d. Privileged
Answer:d. PrivilegedAnswer
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:b. The statement is trueAnswer
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:a. Program structureAnswer
QN25: The state of a process after it encounters an I/O instruction is ___
a. Ready
b. Blocked/Waiting
c. Idle
d. Running
Answer:b. Blocked/WaitingAnswer
QN26: The number of processes completed per unit time is known as ___
a. Output
b. Throughput
c. Efficiency
d. Capacity
Answer:b. ThroughputAnswer
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:a. DeadlockAnswer
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:d. BAKAnswer
QN29: Information is stored and transmitted inside a computer in
a. binary form
b. ASCII code form
c. decimal form
d. alphanumeric form
Answer:a. binary formAnswer
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:a. is a piece of code which only one process executes at a timeAnswer
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:c. Demand PagingAnswer
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:b. used to detect errorsAnswer
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:b. Context SwitchAnswer
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:a. is a lightweight process where the context switching is lowAnswer
QN35: ___ is a high level abstraction over Semaphore
a. Shared memory
b. Message passing
c. Monitor
d. Mutual exclusion
Answer:c. MonitorAnswer
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:a. allows easy storage and retrieval of file namesAnswer
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:c. Tree directory structureAnswer
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:a. each process is blocked and will remain so foreverAnswer
QN39: Which one of the following is a synchronization tool?
a. thread
b. pipe
c. semaphore
d. socket
Answer:c. semaphoreAnswer
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: c. both (1) and (2)Answer