16.5.14

CS604 Quiz No.1 Shared by Shehroz (Solved)



Question # 1 of 10 ( Start time: 11:44:54 PM )  Total Marks: 1
First _______ entries in Per Process File Descriptor Table are used as soon as the process is created.
Select correct option:
 1
 2
 3
 4


Question # 2 of 10 ( Start time: 11:45:57 PM )  Total Marks: 1
When processes are generated using fork () system call and then after that they are coordinated with each other using IPC channel. They are utilizing a separate address space for each of process (parent, child),, kernel resources and IPC channel. This makes it a more heavy. Which strategy can be used to make it light?
Select correct option:
 Termination of child process when these become more
 Scheduling of each process
 Use of threads
 Use of Batch systems


Question # 3 of 10 ( Start time: 11:46:54 PM )  Total Marks: 1
OS helps manages the following except
Select correct option:
 Application software
 Memory
 Virtual memory
 Bus speed of the system


Question # 4 of 10 ( Start time: 11:48:15 PM )  Total Marks: 1
In process management, some of the jobs can be suspended for some time in order to give other jobs a chance to be in execution. Which command can be used to place back a suspended program?
Select correct option:
 Fg
 Top
 Ps
 Bg


Question # 5 of 10 ( Start time: 11:49:18 PM )  Total Marks: 1
Using _________system, we can create a new process in Linux.
Select correct option:
 fork
 exec
 wait
 exit


Question # 6 of 10 ( Start time: 11:49:49 PM )  Total Marks: 1
When sender never block because it has an infinite length storage area, then it means it is holding a queue of
_____________ capacity.
Select correct option:
 Zero
 Unbounded
 Defined
 Bounded


Question # 7 of 10 ( Start time: 11:50:21 PM )  Total Marks: 1
______________ is used to request the OS by the process to take an I/O or initiating child process.
Select correct option:
 System call
 Interrupt
 Trap
 Signal


Question # 8 of 10 ( Start time: 11:50:52 PM )  Total Marks: 1
Command-line interpreter is also called __________ in some operating systems.
Select correct option:
 Kernel
 Shell
 Signal
 API


Question # 9 of 10 ( Start time: 11:51:28 PM )  Total Marks: 1
In system call that creates a pipe for IPC. If one of the operation from read/write would fail then what will be returned

as result?
Select correct option:
 -1,+1
 -1
 1
 0


Question # 10 of 10 ( Start time: 11:52:59 PM )  Total Marks: 1
Swapper is also termed as Short term scheduler.
Select correct option:
 True
 False

No comments:

Post a Comment

Please give us your feedback & help us to improve this site.