CS604 Midterm Online Quiz

0%

CS604-Midterm

1 / 50

The procedure “The time at which the process finished working MINUS the arrival time of the process MINUS CPU burst for that process” will help calculate the _________.

2 / 50

You can use the ------------- command to display the status of suspended and background processes

3 / 50

The main characteristic of a Real time system is

4 / 50

Linux Treats Devices as Files.

5 / 50

copy file1 file2 is an example of ______ OS view.

6 / 50

The hardware mechanism that enables a device to notify CPU is called an -------------

7 / 50

In Unix/ Linux, by default the standard input file is attached to the ___________

8 / 50

The ________ requires that once a writer is ready, that writer performs its write as soon as possible , if a writer waiting to access the object, no new readers may start reading.

9 / 50

I/O instructions are Privileged Instructions.

10 / 50

Bounded Buffer is a buffer of ____________ size

11 / 50

A_______ is an integer variable that, apart from initialization is accessible only through two standard atomic operations: wait and signal.

12 / 50

The process of holding at least one resource and waiting to acquire additional resources that are currently being held by other processes is known as________.  

13 / 50

An absolute pathname starts with the root directory (/) and a relative pathname starts with your home directory.

14 / 50

Preemptive ----------------scheduling is sometimes called shortestremaining-time-first scheduling.

15 / 50

In Resource Allocation Graph, A _______ Pi →Rj indicates that process Pi may request resource Rj at some time in the future.

16 / 50

The scheduling of ______ are done by the operating system.

17 / 50

Which of the following is correct definition for wait operation?

18 / 50

Swapper is also termed as Short term scheduler.

19 / 50

 

IPC provides a mechanism to allow processes to communicate and to synchronize their actions without sharing the same__________

20 / 50

The manual pages can be read in Linux using ____ command.

21 / 50

An operating system is a control program that manages the execution of user programs to prevent errors and improper use of a computer.

22 / 50

Mkfifo() is a _______.

23 / 50

The Top-down view is that it is a program that acts as an intermediary between a user of a computer and the computer hardware, and makes the computer system convenient to use.

24 / 50

________________ is an integer variable accessible through wait and signal which are atomic operations.

25 / 50

n-process critical section problem can be solved by using

26 / 50

_________buffer places no practical limit on the size of the buffer

27 / 50

Progress and Bounded Waiting are some of the characteristics to solve the critical section problems.

28 / 50

The nice value helps in assigning ______ to a process.

29 / 50

Cooperating processes never share any data, code, memory or state.

30 / 50

The critical section problem can be solved by the following except

31 / 50

The main characteristic of a Real time system is

32 / 50

___________ is a piece of code in a cooperating process in which the process may updates shared data (variable, file, database, etc.).

33 / 50

Which of the following is NOT a Hardware Resource.

34 / 50

A condition where a set of blocked processes each holding a resource and waiting to acquire a resource held by another process in the set is termed as ________.

35 / 50

Current working directory can be accessed using --------- Command.

36 / 50

________ determines What will be done.

37 / 50

The following is NOT a classical problem of synchronization  

38 / 50

The time it takes for the dispatcher to stop one process and start another running is known as the-----------.

39 / 50

A_____ is an abstract key for accessing a file.

40 / 50

The returned code to the child process after successful fork system call execution is

41 / 50

You can terminate a foreground process by pressing --------------

42 / 50

------------has a hierarchical file system structure.

43 / 50

In deadlock detection and recovery algorithm, a deadlock exists in the system if and only if the wait for graph contains a _____________

44 / 50

Shared libraries and kernel modules are stored in directory

45 / 50

If a system is not in a safe state, there can be No deadlocks.

46 / 50

In ________addressing, the recipient is not required to name the sender.

47 / 50

-------- command gives a snapshot of the current processes.

48 / 50

OS helps manages the following except

49 / 50

Each page is a power of -------- bytes long in paging scheme.

50 / 50

------------ register contains the size of the process

Your score is

The average score is 36%

0%

Qunoot e Nazilah
Dua e Hajat
4 Qul
6 Kalma
Dua-e-Akasha
Darood Akbar
Surah Fatiha
Dua-e-Ganj Ul Arsh
Dua-e-Jamilah
Ayat-ul-Kursi