WorksheetsOperating system quiz
Total questions: 50
Worksheet time: 17mins
The powerful text editor called PC-Write can be used by anybody by paying a small fee. Such programs are called
Software
Firmware
Shareware
Mindware
Restricting the child process to a subset of the parent’s resources prevents any process from
crashing the system by utilizing multiple resources
under-loading the system by very less CPU utilization
overloading the system by creating a lot of sub-processes
overloading the system by using a lot of secondary storage
In Linux, to increase the response time and throughput, the kernel minimizes the frequency of disk access by keeping a pool of internal data buffer called
Spooling
Buffer cache
Swapping
Pooling
In Linux, ASCII text file can be saved without any extension
True
False
Object code
is ready to use
must be "loaded" before execution
must be rewritten before execution
is the output of compilers, but not assemblers
Which of the following statement is true.
Thrashing is a natural consequence of virtual memory systems.
The LRU algorithm pages out pages that have been used recently
Seek analysis is used for analysing control-unit busy problems.
When a computer is first turned on or restarted, a special type of absolute loader is executed, called a
Boot loader
Relating loader
Bootstrap loader
"Compile and Go" loader
The computational technique used to compute the disk storage address of individual records is called:
key fielding
hashing
dynamic reallocation
bubble memory
If you want to execute more than one program at a time, the systems software you are using must be capable of:
multitasking
compiling
virtual memory
word processing
Under multiprogramming, turnaround time for short jobs is usually ________ and that for long jobs is slightly __________
. Shortened; Unchanged
Shortened; Lengthened
Shortened; Shortened
Lengthened; Shortened
The FCFS algorithm is particularly troublesome for ____________
multiprogramming systems
time sharing systems
multiprocessor systems
operating systems
Process are classified into different groups in
round robin scheduling algorithm
shortest job scheduling algorithm
priority scheduling algorithm
multilevel queue scheduling algorithm
Block caches or buffer caches are used
to speed up main memory read operation
to improve disk performance
to handle interrupts
to increase the capacity of the main memory
Virtual memory is
less efficient in utilization of memory
useful when fast I/O devices are not available
simple to implement
used in all major commercial operating systems
Seeks analysis
is used for analyzing control-unit busy problems
is used for analyzing device busy problems
is only shown on real-time displays
is used for analyzing paging problems
Which of the following statements is false?
a process scheduling algorithm is preemptive if the CPU can be forcibly removed from a process
real time systems generally use non-preemptive CPU scheduling
response time are more predictable in preemptive systems than in non preemptive systems
time sharing systems generally use preemptive CPU scheduling
The details of all external symbols and relocation formation (relocation list or map) is provided to linker by
translator
loader
macro processor
editor
When a process terminates :
Its process control block is never de-allocated
It is removed from all, but the job queue
Its process control block is de-allocated
It is removed from all queues
The function(s) performed by the paging software is (are)
Management of the physical address space
Implementation of the access environment for all programs in the system
Sharing and protection
All of the choices
In which addressing mode the operand is given explicitly in the instruction?
index mode
absolute mode
indirect mode
immediate mode
Assembly code data base is associated with
assembly language version of the program which is created by the code generation phase and is input to the assembly phase.
a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure.
consists of a full or partial list or the token's as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation.
a permanent table which lists all key words and special symbols of the language in symbolic form.
In Linux, which command is used see the list of users who are currently logged-in?
users
which
login
who
A Processor
is a sequence of instructions
is the device where information is stored
is typically characterized by interactive processing and time of the CPU's time to allow quick response to each user.
is a device that performs a sequence of operations specified by instructions in memory
Thread to be executed is target thread
True
False
While working with MS-DOS, which command will you use to transfer a specific file from one disk to another?
DISKCOPY
RENAME
FORMAT
COPY
In Linux, which command is used to list all the files in your current directory (including hidden)?
ls -a
ls -t
ls -i
ls -l
Resolution of externally defined symbols is performed by
Linker
Loader
Compiler
Assembler
The state transition initiated by the user process itself in an operating system is
dispatch
wake up
block
timer run out
A process is selected from the ______ queue by the ________ scheduler, to be executed.
blocked, short term
ready, short term
ready, long term
wait, long term
The function(s) of file system is (are):
to provide security against loss of information due to system failure
all of the choices
to provide complete file naming freedom to the users and to permit controlled sharing of files
to provide for long and short term storage of files with appropriate economic tradeoffs.
What is the name given to the values that are automatically provided by software to reduce keystrokes and improve a computer user's productivity?
Default values
Fixed values
Defined values
Special values
When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called
priority removal
priority modification
priority exchange
priority inversion
The most common security failure is
too much emphasis on preventing physical access
insufficient technology used to prevent breaches
carelessness by users
depending on passwords
What is the ready state of a process?
when process is scheduled to run after some execution
when process is using the CPU
when process is unable to run until some task has been completed
The FIFO algorithm :
first executes the job that has maximum processor needs
first executes the job that came in last in the queue
first executes the job that came in first in the queue
first executes the job that needs minimal processor
When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called
essential condition
dynamic condition
critical condition
race condition
he most optimal scheduling algorithm is :
RR – Round Robin
SJF – Shortest Job First
FCFS – First come First served
Most of the mordern operating systems today are the hybrid systems
True
False
CPU scheduling is the basis of _____
larger memory sized systems
multiprogramming operating systems
multiprocessor systems
Assembler language
is a mnemonic form of machine language
is quite different from the SCL interpreter
requires fixed-format commands
is usually the primary user interface
Trojan-Horse programs
are legitimate programs that allow unauthorized access
usually are immediately discovered
do not usually work
are hidden programs that do not show up on the system
The register or main memory location which contains the effective address of the operand is known as
special location
pointer
indexed register
scratch pad
Advantage(s) of using assembly language rather than machine language is (are):
Addresses any symbolic, not absolute
Introduction of data to program is easier
It is mnemonic and easy to read.
all of the choices
Backups should be done
weekly for most installations
as several incrementals, followed by an image copy
daily for most installations
as several image copies, followed by an incremental
The working set theory of programming behaviour of processes running within an operating system involves
assigning the CPU to processes
coalescing holes in memory
disk scheduling mechanisms
the collection of pages that a process accesses
Which of the following command is used to count number of lines in a file?
wc -c
wc -w
wc -l
Which one of the following is not a real time operating system?
Windows CE
VxWorks
RTLinux
Palm OS
With round robin, scheduling algorithm in a time shared system
uses extremely small time slices increases performance
uses very large time slices converts it into First come First served scheduling algorithm
uses very small time slices converts it into Shortest Job First algorithm
uses very small time slices converts it into First come First served scheduling algorithm
Which of the following software types is used to simplify using systems software?
multitasking
spreadsheet
operating environment
timesharing
Which of the following is true for machine language?
Depicting flow of data in a system
Repeated execution of program segments
A sequence of instructions which, when followed properly, solves a problem
The language which communicates with the computer using only the binary digits 1 and 0.
