OS Quiz MidTerm
OS Quiz MidTerm
OS Quiz-MidTerm
[email protected] Switch account
Draft saved
Not shared
Phải trả lời tất cả các câu hỏi mới được nộp bài !!!!
How to install a file system without using the FAT table * 25 points
Continuous allocation
Continuous allocation and Non-contiguous allocation using linked lists are correct
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 1/15
4/3/24, 8:15 AM OS Quiz-MidTerm
Question * 25 points
24s
14s
30s
25s
Which is the suitable real-time system for a car assembly line? * 25 points
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 2/15
4/3/24, 8:15 AM OS Quiz-MidTerm
Memory hierachy comprises of Disk, RAM memory, Cache. Select the * 25 points
In the classification of the operating system model, the type with multiple * 25 points
processors shares the transmission line, data, clock, memory, and
peripheral devices in the form of……..
Multitasking system
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 3/15
4/3/24, 8:15 AM OS Quiz-MidTerm
The turnaround time for short jobs during multiprogramming is usually * 25 points
Option 1
Unchanged
Lengthened
Shortened
To get the default run level, which function is read by init ? * 25 points
/etc/kernel
/etc/boot
/etc/init
/etc/inittab
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 4/15
4/3/24, 8:15 AM OS Quiz-MidTerm
OS spends much of its time paging also instead of executing applications * 25 points
software, it is called………..?
spooling
formatting
thrashing
booting
How much time will spend when LRU replaces the page? * 25 points
Which of the following process state transitions is correct, when the * 25 points
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 5/15
4/3/24, 8:15 AM OS Quiz-MidTerm
The new process consists of a copy of the____of the original process. * 25 points
This mechanism allows the parent process to communicate easily with
its child process
Address space
Process state
Process number
Process identifiers
What types of folders are easy to organize and exploit, but make it * 25 points
difficult to name the files that don't overlap and users can't group files and
search slowly
1-level directory
2-level directory
Multi-level directory
None of these
Which one of the following error will be handle by the operating system? * 25 points
power failure
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 6/15
4/3/24, 8:15 AM OS Quiz-MidTerm
When you delete a file in your computer, where does it go? * 25 points
Recycle bin
Hard disk
Taskbar
None of these
In the file system of the first MS-DOS sector, track 0, side 0 for the hard * 25 points
Boot sector
Partition table
FAT table
Common data
___________ begins at the root and follows a path down to the specified * 25 points
file.
Standalone name
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 7/15
4/3/24, 8:15 AM OS Quiz-MidTerm
Computer software
Computer hardware
Consider the following set of processes, the length of the CPU burst time * 25 points
given in milliseconds :
Process,Burst time : (P1 ,6) (P2 ,8) (P3,7) (P4, 3 ) Assuming the
above process being scheduled with the SJF scheduling algorithm :
Give the FIFO coordination algorithm with the following table * 25 points
24s
27s
30s
25s
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 8/15
4/3/24, 8:15 AM OS Quiz-MidTerm
For a 20M disk with the size of 1K, if managing free volumes using DSLK * 25 points
how many blocks will it take to manage this disk:
20 blocks
40 blocks
80 blocks
16 blocks
Who provides the interface to access the services of the operating * 25 points
system?
API
System call
Library
Assembly instruction
Which of the following operating systems do you use for a client-server * 25 points
network?
MAC
Linux
Windows XP
Windows 2000
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 9/15
4/3/24, 8:15 AM OS Quiz-MidTerm
As disks have relatively low transfer rates and relatively high latency rates, * 25 points
disk schedulers must reduce latency times to :
Which of the following does not interrupt the running process? * 25 points
Timer interrupt
Device
Power failure
Scheduler process
Fork
Create
New
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 10/15
4/3/24, 8:15 AM OS Quiz-MidTerm
The four main structural elements of a computer system are _____ * 25 points
What type of multiplexing can be used for sharing the CPU? * 25 points
Time multiplexing
Space multiplexing
/etc/kernel
/etc/init
/etc/user
/etc/swap
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 11/15
4/3/24, 8:15 AM OS Quiz-MidTerm
Windows
Linux
Oracle
DOS
Who among the following can block the running process? * 25 points
Fork
Read
Down
All of these
Using Priority Scheduling algorithm, find the average waiting time for the * 25 points
following set of processes given with their priorities in the order: (Process
: Burst Time : Priority respectively) .(P1 : 10 : 3), (P2 : 1 : 1), (P3 : 2 : 4),
(P4 : 1 : 5), (P5 : 5 : 2)
8 milliseconds
8.2 milliseconds
7.75 milliseconds
3 milliseconds
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 12/15
4/3/24, 8:15 AM OS Quiz-MidTerm
Windows
MAC
Ms-Dos
None of these
Given a two-level page table for 32-bit virtual address with each 10 bits * 25 points
for Page table 1 and 2 and the rest for the offset. Suppose that process A
nees 12 Mb for running, its virtual address 0x00403004 refers to address
range from:
0 to 4 Mb-1
4 to 8 Mb-1
8 to 12 Mb-1
12 to 16 Mb-1
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 13/15
4/3/24, 8:15 AM OS Quiz-MidTerm
Program counter
Stack pointer
deletes
affects
Forms
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 14/15
4/3/24, 8:15 AM OS Quiz-MidTerm
https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 15/15