WorksheetsOperating System Quiz 1
Total questions: 30
Worksheet time: 30mins
In Operating Systems, which of the following is/are CPU scheduling algorithms?
Priority
Round Robin
Shortest Job First
All
Which command is used to make a hidden directory in linux?
mkdir -h directoryName
mkdir hidden directoryName
mkdir -hd directoryName
mkdir .directoryName
A server ____ request.
Controls
Hide
Request
Responds
Firewall acts as ____ between networks.
Barrier
Border
Messenger
None of all.
What does the following command do?
mv file1 file2
moves file1 and file2
combines file1 and file2
renames file1 to file2
renames file2 to file1
multiprogramming operating systems
larger memory sized systems
multiprocessor systems
unicore programming
Race-Conditions can be overcome by:
System calls
Synchronization between applications
Interface
IPC
Which of the following is a component of OS?
System Call Interface
Device Drivers
Inter Process Communications
All of these
Fragmentation can be defined as:
Memory space is available but not adequate
Memory space is available but not relocatable
Memory space is available but not contiguous
Memory space is available but not ready as OS is busy
Given 5 memory partitions of 100kb, 500kb, 200kb, 300kb, 600kb (in order), how would the best fit algorithm place processes of size 212kb, 417kb, 112b, and 426kb (inorder)? The below show process->partition link mentioning allocation to that partition.
212kb -> 500kb
417kb -> 600kb
112kb ->288kb
426kb -> wait
212kb -> 600kb
417kb -> 500kb
112kb ->388kb
426kb -> wait
212kb -> 300kb
417kb -> 500kb
112kb ->200kb
426kb -> 600kb
212kb -> 300kb
417kb -> 500kb
112kb ->200kb
426kb -> 522kb
In virtual memory, RAM is split into fixed size partitions called:
Block
Page Frame
Segment
Page Table
In virtual memory:
process frame size = block size
block size = process frame size
process frame size varies
Block size varies
The replaced block in RAM need to be written back to swap space. This is called:
Swap in
Swap out
Demand paging
All of these
