0% found this document useful (0 votes)
12 views15 pages

OS Quiz MidTerm

Uploaded by

nglienhg000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views15 pages

OS Quiz MidTerm

Uploaded by

nglienhg000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

4/3/24, 8:15 AM OS Quiz-MidTerm

OS Quiz-MidTerm
[email protected] Switch account
Draft saved
Not shared

* Indicates required question

BẮT ĐẦU LÀM BÀI

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

Non-contiguous allocation using linked lists

Non-persistent allocation using index tables

Continuous allocation and Non-contiguous allocation using linked lists are correct

Why Spooling helps? * 25 points

while printing when computer release to do other things

jobs go more smoothly with less stop

printing it is a more secure method of accessing data

none of the above

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

Soft real-time system

Hard real-time system

Both soft real-time and hard real-time system are suitable

It depends on the system developer.

https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 2/15
4/3/24, 8:15 AM OS Quiz-MidTerm

Time quantum can be said? * 25 points

Multilevel queue scheduling algorithm

Round-robin scheduling algorithm

Shortest job scheduling algorithm

Priority scheduling algorithm

Memory hierachy comprises of Disk, RAM memory, Cache. Select the * 25 points

increasing order of their access time by CPU for an instruction or date.

Disk, RAM, Caches

RAM, Disk, Caches

Caches, RAM, Disk

Ram, Caches, Disk

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……..

Multi-chapter processing system

Multitasking system

Parallel processing system

Real-time processing system

https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 3/15
4/3/24, 8:15 AM OS Quiz-MidTerm

_____memory allocation avoid problems of wastage of memory and the * 25 points

problems of underestimating the memory size

Dynamic memory allocation

Static memory allocation

Contiguous memory allocation

None-contiguous memory allocation

The turnaround time for short jobs during multiprogramming is usually * 25 points

Shortened and that for long jobs is slightly ___________?

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

shortest time in memory

shortest time in memory without being referenced

longest time in memory

longest time in memory without being referenced

Which of the following process state transitions is correct, when the * 25 points

external event for which a process was waiting happens?

Running -> ready

Blocked (waiting) -> ready

Running -> Blocked (waiting)

Ready -> running

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

lack of paper in printer

connection failure in the network

all of the mentioned

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

disk, information about:

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

Relative path name

All of the mentioned

Absolute path name

https://docs.google.com/forms/d/e/1FAIpQLSepJAAWU5iMsKPOqORSQpbDgEEpvnq0LlVdQrNNmXVq6I0rSQ/formResponse 7/15
4/3/24, 8:15 AM OS Quiz-MidTerm

An operating system is a program that operates between users and ? * 25 points

Computer software

Computer hardware

The application programs

CPU and memory

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 :

The waiting time for process P1 is 3 ms.

The waiting time for process P1 is 0 ms.

The waiting time for process P1 is 16 ms.

The waiting time for process P1 is 9 ms.

Give the FIFO coordination algorithm with the following table * 25 points

Process Timing on RL Processing Time P1 P2 P3 0 1 2


24 3 3 Timeout for all processes is

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 :

ensure high bandwidth

ensure low bandwidth

make sure data is transferred

reduce data transfer speeds

Which of the following does not interrupt the running process? * 25 points

Timer interrupt

Device

Power failure

Scheduler process

In Unix, Which system call creates the new process? * 25 points

Fork

Create

New

None of the mentioned

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

None of the mentioned

Processor, Main Memory, I/O Modules, System Bus

Processor, Registers, Main Memory, System Bus

Processor, Registers, I/O Modules, Main Memory

What type of multiplexing can be used for sharing the CPU? * 25 points

Time multiplexing

Space multiplexing

Both Time multiplexing and Space multiplexing

It depends on each case.

which function is started at the end of kernel bootstrap? * 25 points

/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

Which of the following is not an operating system? * 25 points

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

What is the full name of the DSM? * 25 points

Direct system module

Direct system memory

Demoralized system memory

Distributed shared memory

Which of the following is a single-user operating system? * 25 points

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

What kind of transmission medium is most appropriate to carry data in a * 25 points


computer network that is exposed to electrical interferences?

Program counter

Stack pointer

Program status word

CPU and memory

The deletion of a link, ________ the original file. * 25 points

deletes

affects

does not affect

none of the mentioned

Back Submit Clear form

Never submit passwords through Google Forms.

This form was created inside of VIETNAM-KOREA UNIVERSITY OF INFORMATIONAND COMMUNICATION


TECHNOLOGY. Report Abuse

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

You might also like