Pre_Test 1
What is Dispatch Latency ?
Select one:
the time lost by the dispatcher to stop one process and start another
the time taken by the processor to write a file to disk
the entire time used by the processor
the rest of the options are all wrong
Which file keeps commands to execute automatically when OS is started ?
Select one:
any batch file
[Link]
[Link]
[Link]
The operating system manages
Select one:
Disk and Input/Output devices
Memory
Processes
All
Which is not the function of the Operating System ?
Select one:
Memory management
Application management
Virus Protection
Disk management
From the system’s viewpoint, the operating system acts as an easy interface
between the user and computer system and presents a friendly environment
wherein the user can work efficiently without worrying about any
configuration or details of the hardware.
Hãy chọn một:
Đúng
Sai
What is Operating System ?
Select one:
all of the mentioned
link to interface the hardware and application programs
collection of programs that manages hardware resources
system service provider to the application programs
The advantage of the virtual machine OS is that same hardware is being
shared to run different execution environments, that is, multi-programming
and time-sharing can be on a single machine.
Hãy chọn một:
Đúng
Sai
Shell is the part wherein only essential modules of the operating system are
placed.
Hãy chọn một:
Đúng
Sai
Multi-tasking systems place more than one job/program/task in the main
memory of the system. The jobs here are of a single user working on the
system. The jobs are scheduled by time-sharing technique.
Hãy chọn một:
Đúng
Sai
Inter-Process Communication
Select one:
The rest of the options are incorrect
allows processes to synchronize only their activity without communication
allows processes to communicate and synchronize their actions using the same address
space
allows processes to communicate and synchronize their actions without using the same
address space
BIOS is a software that consists of input-output functions. These functions are
low-level routines that the OS uses to interface with different I/O devices like
keyboard, screen, ports, and so on.
Hãy chọn một:
Đúng
Sai
The primary purpose of an operating system is:
Select one:
To make the most efficient use of computer hardware.
To allow people to use the computer..
To keep systems programmers employed.
To make computers easier to use..
The first program that is executed when the computer is switched on is called
Select one:
initializer
bootloader
boot program
bootstrap program
Multi-programming places more than one job/program/task in the main
memory.
Hãy chọn một:
Đúng
Sai
As a control program, operating system schedules and manages the allocation
of all resources in the computer system.
Hãy chọn một:
Đúng
Sai
READY is the state of a process
Select one:
when the process is scheduled to run after execution
when a process cannot run until a certain task is completed
the rest of the options are wrong.
when process is using CPU
Process is also known as
Select one:
thread
heavy weight process
the rest of the options are not correct
light weight process
Consider a system with 3 processes with the following parameters:
Process Arrival Time Burst time
P1 0 5
P2 1 7
P3 3 4
The order of completion of the 3 processes under the RR(q = 2) algorithm is
Select one:
P1, P2, P3
P1, P3, P2
P2, P3, P1
P3, P1, P2
System programs are utilities programs, which help the user and may call for
further system calls.
Hãy chọn một:
Đúng
Sai
Which is the first program run on a computer when the computer boots up ?
Select one:
None
System program
Operating sytem
System operations
What is the function of an operating system ?
Select one:
All
Manages computer’s resources very efficiently
Manages the flow of data and instructions
Takes care of scheduling jobs for execution
Consider a system with 3 processes with the following parameters:
Process Arrival Time Burst time
P1 0 10
P2 2 20
P3 6 30
Assuming there is no context switch at time 0, if using SRT cpu scheduling
algorithm, how many times context switch.
Select one:
2
3
1
4
The primary goals of operating system are convenience of the user and best
utilization of the hardware.
Hãy chọn một:
Đúng
Sai
Hybrid architecture combines the features of microkernel and layered
architectures.
Hãy chọn một:
Đúng
Sai
Match the following pairs of data:
Blocked → Ready Answer 1: Chọn... Block/ Timer runout/ Dispatch/ Wake up
Ready → Running Answer 2: Chọn... Block/ Timer runout/ Dispatch/ Wake up
Which Operating System doesn’t support long file names ?
Select one:
Windows 95
MS DOS
OS/2
Windows NT
As a resource manager, operating system controls the user activities, I/O
access, and all other activities performed by the system.
Hãy chọn một:
Đúng
Sai
Consider a system with 4 processes with the following parameters:
Arrival time Burst time
Process
P1 0 6
P2 0 8
P3 0 7
P4 0 3
If using the SJF process scheduling algorithm, the average waiting time of the processes is:
Select one:
7
3
8
6
Considering 4 processes arrive at the system at the same time 0, the burst time is as follows:
Burst time
Process
P1 53
P2 8
P3 68
P4 24
If using the RR(q = 20) scheduling algorithm, the average waiting time is
Select one:
66.25
66.75
70.75
67.5
An OS is a software that acts as an interface between the users and hardware
of the computer system.
Hãy chọn một:
Đúng
Sai
All the privileged instructions, that is, instructions that need to interact with
hardware and resources, and therefore passed on to the OS for execution, are
known as system calls.
Hãy chọn một:
Đúng
Sai
An OS is a software that provides a working environment for the applications
of users
Hãy chọn một:
Đúng
Sai
In Unix, what system call creates a new process?
Select one:
release
fork
create
new
Which system call returns the PID of the terminated child process?
Select one:
fork
exit
get
wait
______ shares characteristics with both hardware and software.
Select one:
Data.
None.
Operating system
Software.
The set of instructions needed for booting, that is, to load the OS in RAM is
known as initialier.
Hãy chọn một:
Đúng
Sai
The term "aging" refers to
Select one:
initialization of a process in a multilevel queue without a response.
keeping track of how a page is swapped in/out memory according to the LRU page
replacement algorithm
gradually increase the priority of long-awaited processes in the system to overcome the
infinite process blocking
letting the process sit in memory for a certain amount of time so that it can accurately
estimate the number of pages needed.
From the user’s viewpoint, the operating system acts as a resource manager,
control program, and virtual machine manager.
Hãy chọn một:
Đúng
Sai
The state of a process is determined by
Select one:
current activity of the process
the operation just performed by the process
the next operation to be performed by the process
the last activity of the process
Low context switch operating costs ___________ degree of multiprogramming in the
system
Select one:
unaffects
decreases
increases
Which operation is performed by an interrupt handler?
Select one:
Saving the interrupt handling code and executing it
Loading the current state of the system
Bringing back the system to the original state it was before the interrupt occurred once
done handling
All of the mentioned
What should be the extension to execute files?
Select one:
exe
com
bat
All
Which of the following Operating System does not implement multitasking
truly ?
Select one:
MS DOS
Windows NT.
Windows XP
Windows 98.
Kernel is the part wherein only essential modules of the operating system are
placed.
Hãy chọn một:
Đúng
Sai
Multi-user systems place more than one job/program/task in the main memory
of the main computer system. The jobs are of different users who are
connected through terminals to the main computer. The jobs are scheduled by
time-sharing technique.
Hãy chọn một:
Đúng
Sai
Multiprogramming systems
Select one:
Are easier to develop than single programming systems.
Execute each job faster
Are used only one large mainframe computers.
Execute more jobs in the same time period.
Deadlock/ paging/ thrashing/ aging/ starvation saves low-priority processes
from resource starvation
Multi-programming is the central concept in operating system that originates
all other concepts of operating system.
Hãy chọn một:
Đúng
Sai
System generation is the process of configuring the OS according to the
hardware and other specifications on a particular machine.
Hãy chọn một:
Đúng
Sai
The performance of the Round Robin algorithm is highly dependent on
Select one:
size of the process
CPU time required by the process
data export/import time of the process
The magnitude of the time quantum
What is Inter-Process Communication?
Select one:
communication between two processes
the rest of the options are all wrong
communication within the process
communication between 2 threads of the same process
Consider a system with 4 processes with the following parameters:
Process Arrival Time Burst time
P1 0 8
P2 1 4
P3 2 9
P4 3 5
If using the SRT scheduling algorithm, the turnaround time of P3 is
Select one:
23
25
26
24
An OS is a resource manager that in background manages the resources
needed for all the applications.
Hãy chọn một:
Đúng
Sai
Interrupt vector is ___
Select one:
a unique identity given to an interrupt
a unique device number that is indexed by an address
an address that is indexed to an interrupt handler
None of the mentioned
Monolithic systems were not suitable for multi-programming/multi-tasking
environments due to the unprotected behaviour of the system.
Hãy chọn một:
Đúng
Sai
How does the software trigger an interrupt ?
Select one:
Invoking a system call
Sending signals to CPU through bus
Executing a system program
Running an interrupt trigger program
As a virtual machine manager, operating system provides a layer on the
actual hardware on which it performs the tasks of the user. And to the user, it
seems that all the work done is by the hardware. In other words, there is an
illusion created by the operating system that there is a virtual machine which
is performing all the work.
Hãy chọn một:
Đúng
Sai
Exokernel works as an executive for application programs such that it ensures
the safe use of resources and allocates them to the applications.
Hãy chọn một:
Đúng
Sai
If the resource is always preempted from the same process, ( aging/
thrashing/ system crash/
deadlock/ starvation ) can happen
Layered architecture provides the modularity wherein there is a defined layer
for each group of functionality.
Hãy chọn một:
Đúng
Sai
Which is built directly on the hardware?.
Select one:
Operating system
Application Software.
Computer Environment.
Database system
Top layer in the layered scheme of operating system is
Select one:
User interface
Hardware
Software
Operating system
Which of the following Operating systems is better for implementing a Client-
Server network ?
Select one:
MS DOS.
Windows 95
Windows 98
Windows 2000
The instructions, which are not directly executed by the user but need to be
passed to the OS, are known as privileged instructions.
Hãy chọn một:
Đúng
Sai
______ is used in an operating system to separate mechanism from policy
Select one:
Multi level implementation.
Single level implementation.
None.
Two level implementation.
In a time-sharing operating system, when the CPU time allocated to a process expires, what
state will the process go from running to?
Select one:
Terminated
Ready
Suspended
Blocked
The operating system creates _____ from the physical computer.
Select one:
Virtual device
Virtual space.
None.
Virtual computers.
Which Operating System doesn’t support networking between computers?
Select one:
Windows NT
Windows 95
Windows 2000
Windows 3.1
In Windows, the primary hard disk drives has the drive letter ____
Select one:
C
B
D
A
Which word does not indicate the state of a process?
Select one:
running
ready
new
the rest of the options are all wrong
finished
Which runs on computer hardware and serve as platform for other software to
run on ?
Select one:
Application program
All.
Operating system.
System software
.Direct Memory Access is used for ....
Select one:
High speed devices
All of the mentioned
Utilizing CPU cycles
Low speed devices
Match the following pairs of data:
LIFO Stack operation
Round Robin Time sharing
Scan Disk check
Multi-programmed batch systems place more than one jobs/programs/tasks in
the main memory of a batch prepared for same type of jobs and execute them
by switching between them.
Hãy chọn một:
Đúng
Sai
The CPU transferring from one process/thread to another is called
Select one:
task switch
the rest of the options are correct
context switch
process switch