Computer Fundamentals Multiple Choice Questions on “Multiprogramming”.
1. A __________is a set of instructions which is prepared to perform a specific assignment if executed by a computer.
a) Browser
b) Internet
c) Program
d) Code
Answer: c
Clarification: A set of meaningful instructions is called a program. A program is basically designed to perform any function assigned to it.
2. A program is an active entity.
a) True
b) False
Answer: b
Clarification: The statement is false. A program is not an active entity. It is completely passive.
3. What is responsible for creating a process from a program?
a) OS
b) Web
c) Internet
d) Firewall
Answer: a
Clarification: OS is responsible for creating a process from a program. OS stands for operating system. A process is created in order to be executed by using computer facilities.
4. This cycle, of going through __________ states of running and input/output, may be repeated over and over until the job is completed.
a) evaluation
b) process
c) program
d) data
Answer: b
Clarification: The answer is process states. The cycle of going through process states can be repeated over and over again until the job is completed or the process gets aborted.
5. The wait fraction is represented by __________
a) w
b) #
c) Q
d) &
Answer: a
Clarification: Wait fraction of a processor is represented by w. It is also known as the processor wait ratio.
6. Processor wait ratio is given by ________
a) w=b/e+b
b) w=b/e-b
c) #=b/e-b
d) #=b/e+b
Answer: b
Clarification: Processor wait ratio is represented by w. It is given by :
w=b/b+e.
7. What does ‘b’ represent in a processor wait ratio?
a) input ratio
b) output ratio
c) average time
d) average I/O time
Answer: d
Clarification: It represents the average I/O time. Average execution time with single programming is given by e.
8. A technique that allows more than one program to be ready for execution and provides the ability to switch from one process to another.
a) multitasking
b) multiprocessing
c) multitasking
d) multiprogramming
Answer: d
Clarification: Multiprogramming is the concept implemented for execution and provides the ability to switch from one task to the other.
9. Multiprogramming is mainly accomplished by:
a) os
b) software
c) hardware
d) program
Answer: a
Clarification: The OS is mainly responsible for multiprogramming. The hardware provides the specific circuitry that may be used by the operating system.
10. The technique that increases the system’s productivity.
a) multiprogramming
b) multitasking
c) multiprocessing
d) single-programming
Answer: a
Clarification: Multiprogramming increases the productivity. By increasing the CPU utilization other devices’s utilization is also increased.