WorksheetsOperating Systems
Total questions: 25
Worksheet time: 12mins
To access the services of operating system, the interface is provided by the ___________
System calls
API
Library
Assembly instructions
What is the main function of the command interpreter?
to get and execute the next user-specified command
to provide the interface between the API and application program
to handle the files in operating system
none of the mentioned
By operating system, the resource management can be done via __________
time division multiplexing
space division multiplexing
time and space division multiplexing
none of the mentioned
Logical extension of multiprogramming operating system is
Time sharing
multi-tasking
single programing
Both time-sharing and multi-tasking
Multi-processor system gives a
Small system
Tightly coupled system
loosely coupled system
Macro system
If a process fails, most operating system write the error information to a ______
log file
another running process
new file
None
Which of the following refers to the associative memory?
the address of the data is generated by the CPU
the address of the data is supplied by the users
there is no need for an address i.e. the data is used as an address
the data are accessed sequentially
In multiprogramming, programmer chooses programs which are suitable to run together from
job center
job terminal
job queue
timed job
Last step in running and preparing batch jobs is to
printout is return
printout is started
printout is queued
printout is verified
Jobs processed in multiprogramming are to be done
very quickly
very slow
very time consuming
very systematic
Second step in running and preparing batch jobs is to
wait in the queue
store output
write on printed sheets
verify the work
The primary purpose of an operating system is:
To make the most efficient use of the computer hardware
To allow people to use the computer,
To keep systems programmers employed
To make computers easier to use
Which is built directly on the hardware?
Computer Environment
Application Software
Operating System
Database System
Short period of time in which a user process gets CPU time is known as
Time slice
Time slot
Quantum
All of the Above
The strategy of allowing processes that are logically runnable to be temporarily suspended is called
preemptive scheduling
non preemptive scheduling
shortest job first
first come first served
Semaphores are used to solve
Deadlock
Mutual exclusion
Inter-process Communication
Messaging
Wasting of memory within a partition, due to a difference in size of a partition, due to a difference in size of a partition and of the object resident within it, is called-
External fragmentation
Internal fragmentation
Compaction
Coalescing
Only the process executing the critical section is allowed access to the shared variable,all other processes should prevented from doing so until the completion of the critical section. This is often referred to as-
Mutual exclusion
semaphores
Deadlock
Interprocess communication
Partition Description Table collects the-
A. Current Partition Status
B. Attributes
Both a and b
none
The time complexity of Banker’s algorithm is r*(P*P) where P is the number of active processes and r is the number of-
Releasing
Resources
Remaining cycle of executives
none
Shortest Remaining Time Next(SRTN) scheduling may be implemented-
A. Preemptive
Both a and b
B. Non-preemptive
none
Which of the following is not an operating system call for process management?
CREATE
DELETE
FORK
PCB
Multiple Level Queues(MLQ) is a type of-
CPU Scheduling
Data Scheduling
Disk Scheduling
none
Banker’s algorithm is used as-
Deadlock occurrence method
Deadlock avoidance method
Deadlock detection method
Deadlock recovery method
The finite circular buffer is used to implement ……………. Strategy
FIFO
FILO
LIFO
none
