OS-1 [mid-term sheet]
Sheet 1
1. What is operating system?
a) collection of programs that manages hardware resources
b) system service provider to the application programs
c) link to interface the hardware and application programs
d) all of the mentioned
2- Which one of the following is not true?
a) kernel is the program that constitutes the central core of the operating system
b) kernel is the first part of operating system to load into memory during booting
c) kernel is made of various modules which cannot be loaded in running operating
system
d) kernel remains in the memory during the entire computer session
4- What should be the extension to execute files?
A. EXE
B. BAT
C. COM
D. All of the above
5- Which Operating System doesn’t support long file names?
A. OS/2
B. Windows 95
C. MS-DOS
D. Windows NT
6- Which is not the function of the Operating System?
A. Memory management
B. Disk management
C. Application management
D. Virus Protection
10 - When a computer is first turned on or restarted, a special type of absolute
loader is executed, called a
a. Compile and Go loader
b. Boot loader
c. Bootstrap loader
d. Relating loader
11- The initial program that is run when the computer is powered up is called
1. boot program
2. bootloader
3. initializer
4. bootstrap program
12- I/O hardware contains ____________
a) Bus
b) Controller
c) I/O port and its registers
d) All of the mentioned
13- How does the Hardware trigger an interrupt?
a. Sending signals to CPU through system bus
b. Executing a special program called interrupt program
c. Executing a special program called system program
d. Executing a special operation called system call
15- the External Interrupts is an Exception within a program
True
False
16- ………………….. tell the CPU that an I/O request has completed by sending an
interrupt signal to the
processor
a) internal interrupt
b) I/O devices
c) software
d) hardware
17- Arithmetic error is an external interrupt
True
False
18- Main memory is usually too large.
True
False
19- Main memory is a volatile storage device that loses its contents when
True
False
21- What types of data can you store in the Cache collection?
a. Only String Type of Data
b. You can store any type of data in the Cache collection.
c. Only DataSet Object
d. All of the above.
22- ………………… represent copying information into faster storage system
a) Register Memory
b) Main Memory
c) Caching
d) Virtual Memory
23- Which of following need a device driver
A. Cache
B. Disk
C. Main Menory
D. Registers
24- Which type of software are device drivers
A. Application software
B. System software
C. Utility software
D. These are type of hardware
25- operating systems have a ……………………for each device controller.
A. Registers
B. device driver
C. Cache
27- A program is passive while a process is ……….
A. inactive
B. spontaneous
C. active
D. impulse
28- Which of the following is the most complete cloud computing service model?
a) PaaS
b) IaaS
c) CaaS
d) SaaS
29- Which type of cloud is the combination of two other clouds ?
a) Private
b) Public
c) Hybrid
d) Community
Sheet 2
1- To access the services of operating system, the interface is provided by the
a. system calls
b. API
c. library
d. assembly instructions
2- Which of the following is not a type of user interface?
a. command line
b. system interface
c. design interface
d. Both b and c
3- Computer interface that is used by DOS is called
a. menu driven interface
b. command driven interface
c. design interface
d. system interface
4- Windows is the most popular product of
a. sun system
b. microsoft
c. hewlett
d. ANSI
5- Operating systems which involves a GUI-based user interface are
a. windows
b. Linux
c. solaris
d. all of these
6- Interface used by windows is called
a. menu driven interface
b. command driven interface
c. graphical user interface
d. prompt interface
7- Operating system which provides only a command-line user interface is
a. Mac OS
b. DOS
c. windows
d. UNIX
8- The MS-DOS operating system is a
a. command line interface
b. single user interface
c. single tasking interface
d. all of these
9- In computer, GUI stands for
a. graphical user interface
b. general user interrupt
c. graphs, utilities, icons
d. grayed user interface
11- Under MS-DOS, user communicates with the operating system by issuing
a. commands
b. instructions
c. routines
d. procedure
12- Services provided by operating system are
a. file system management
b. hardware management
c. user interface
d. all of these
15- Which of the following few common services provided by an operating
system?
A. Protection
B. Program execution
C. I/O operations
D. All of the above
16- Which of the following is true about Communication?
A. The OS handles routing and connection strategies, and the problems of
contention and security.
B. Two processes often require data to be transferred between them
C. Communication may be implemented by two methods, either by Shared
Memory or by Message Passing.
D. All of the above
17- The OS ensures that all access to system resources is controlled. The major
activities of an operating system with respect to?
A. Error handling
B. Resource Management
C. Protection
D. Communication
19- The layer between the hardware and the user program is
A. Operating environment
B. System environment
C. Operating system
D. None
20- Message passing system allows processes to :
a. communicate with one another without resorting to shared data.
b. communicate with one another by resorting to shared data.
c. share data
d. name the recipient or sender of the message
21- A Program in execution is called
a) Process
b) Instruction
c) Procedure
d) Function
23- Process control can create file, delete file
True
False
Sheet 3
1- invoking many copies of the web browser program generate one process for
each of them
True
False
2- process produces only one process as it runs
True
False
4- When the process issues an I/O request __________
a) It is placed in an I/O queue
b) It is placed in a waiting queue
c) It is placed in the ready queue
d) It is placed in the Job queue
5- What will happen when a process terminates?
a) It is removed from all queues
b) It is removed from all, but the job queue
c) Its process control block is de-allocated
d) Its process control block is never de-allocated
6- What is a long-term scheduler?
a) It selects which process has to be brought into the ready queue
b) It selects which process has to be executed next and allocates CPU
c) It selects which process to remove from memory by swapping
d) None of the mentioned
7- The context of a process in the PCB of a process does not contain __________
a) the value of the CPU registers
b) the process state
c) memory-management information
d) context switch time
8- Which of the following does not interrupt a running process?
a) A device
b) Timer
c) Scheduler process
d) Power failure
9- In a multi-programming environment
A. the processor executes more than one process at a time
B. the programs are developed by more than one person
C. more than one process resides in the memory
D. a single user can execute many programs at the same time
10- Suppose that a process is in “Blocked” state waiting for some I/O service.
When the service is completed, it goes to the :
a. Running state
b. Ready state
c. Suspended state
d. Terminated state
11- Switching the CPU to another process requires performing a state save of the
current process and a state restore of a different process. This task is known as a
Swapping
context switch
Demand Paging
Page Fault
12- A process will ……………….. while it is running, either because it has completed
or because of some fatal fault condition.
A) Suspend
B) Terminate
C) Blocked
D) Ready
13- A ……………… process is moved to the ready state when its time allocation
expires.
A) New
B) Blocked
C) Running
D) Suspend
14- . …………………….. transition occurs when it is time to select a new process to
run, the operating system chooses one of the processes in the ready state.
A) Null → Ready
B) Ready → Running
C) New → Ready
D) Running → Ready
15- The entry of all the PCBs of the current processes is in __________
A. Process Register
B. Program Counter
C. Process Table
D. Process Unit
16- The ready queue is generally stored as a linked list
true
false
17- The process could be removed from the CPU, as a result of an interrupt and
be put back in the ……………
A. I/O queue
B. ready queue
C. job queue
D. none of the previous
18- Context-switch time is pure overhead, because the system does no useful
work while switching.
true
false
Any Fault, Please Feedback Me Telegram me: https://t.me/M1chaelAdel