You are on page 1of 1

Birla Institute of Technology and Science, Pilani

Hyderabad Campus
1st Semester 2018-2019 (CS F372: Operating Systems)
Quiz-1 Solutions Key
-----------------------------
1st Sept 2018
Q.1
Dispatch Exit
ready running halt

Sleep
SIGCHLD
Interruptib
le sleep

Q.2 001h

Q.3 OS puts the string (This is OS Quiz) in a read only segment, and upon writing a character T into a read only
segment, you will get Segment violation or Segmentation fault (Core dumped) error on the screen.

Q.4 B P

Q.5 2 times
P C

Q.6 Program received signal SIGFPE, Arithmetic exception. Signal module.


C CC

Q.7 C
Hello world Hello world

Q.8 Yes. The program might monopolize the hardware or might waste the capacity of these resources.

Q.9 Instruction no: b, because this is an activity which should be done in a supervisory mode and no user
program should get direct access to this activity, else there is a possibility of damaging the stepper motor or disk
hardware.

Q.10 Virtualization technique is perhaps more versatile and elegant than dual-booting as it allows you to not
switch off one OS while switching to the other one. However, virtualization comes with performance concerns
as It also requires more available RAM and sometimes trying to supersede the host OS.

Q.11 a and d

Q.12 c

Q.13 Yes

Q.14 Zero

Q.15 b

---------------------------------------

You might also like