CS604 Midterm Online Quiz

0%

CS604-Midterm

1 / 50

You can create a threads by using the pthread_create() call.

2 / 50

A major problem with priority scheduling algorithms is ______.

3 / 50

__________ directory includes essential system boot files including the kernel image.

4 / 50

In ---------addressing; the recipient is not required to name the sender.

5 / 50

Using _________system, we can create a new process in Linux.

6 / 50

Database, Complier, Video games are examples of ________.

7 / 50

Which of the following is NOT a Hardware Resource.

8 / 50

A process is said to be in critical section if it executes code that manipulates shared data

9 / 50

A program in execution is called a _______________.

10 / 50

n-process critical section problem can be solved by using

11 / 50

The number of processes completed per unit time is called ___________.

12 / 50

Preventing a condition of ________ to happen, deadlocks can be prevented to happen.  

13 / 50

command displays the contents of current working directory.

14 / 50

The main characteristic of a Real time system is

15 / 50

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

16 / 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.

17 / 50

rm and [r]mkdir commands are used to _____________ directory.

18 / 50

When a process opens its first file explicitly it will get descriptor number _________

19 / 50

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

20 / 50

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

21 / 50

_____________ is the basis of queuing theory which is branch of mathematics used to analyze systems involving queues and servers.

22 / 50

The execution of critical sections must NOT be mutually exclusive

23 / 50

The priority of a process can be changed using ___________ command.

24 / 50

_____ system call is used to write to a file or FIFO or any other IPC channel.

25 / 50

OS helps manages the following except

26 / 50

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

27 / 50

Shared libraries and kernel modules are stored in directory

28 / 50

___________ algorithm is used in Deadlock avoidance.

29 / 50

The creating process is called a--------------- process while the new processes are called the -------------- of that process

30 / 50

Command-line interpreter is also called __________ in some operating systems.

31 / 50

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

32 / 50

The address generated by the CPU, after any indexing or other addressing-mode arithmetic, is called a --------address, and the address it gets translated to by the MMU is called a ---------address.

33 / 50

The priorities of processes in the __________ group remain fixed.

34 / 50

Operating system enables the user to use the Hardware Resources.

35 / 50

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

36 / 50

In Layered Approach of OS, the Layer highest Layer is User Interface layer.

37 / 50

copy file1 file2 is an example of ______ OS view.

38 / 50

Cache is non-volatile memory.

39 / 50

___________ is used in real time operating systems.

40 / 50

The basic purpose of ________________is to help the users to utilize the hardware resources for completing different tasks in a simplified manner

41 / 50

_________________ scheduling allows a process to move between queues.

42 / 50

A ---------------- (or an exception) is a software-generated interrupt caused either by an error (division by zero or invalid memory access) or by a user request for an operating system service.

43 / 50

Linux uses ___________ directory to store system configuration files.

44 / 50

_________ command to resume the execution of a suspended job in the foreground

45 / 50

Swapper is also termed as Short term scheduler.

46 / 50

A solution to the critical section problem must satisfy the following requirements

47 / 50

__________ integer shows the highest priority of a process in CPU scheduling

48 / 50

A_____ is an abstract key for accessing a file.

49 / 50

When process opens its first file explicitly it will get descriptor number ______

50 / 50

A dashed line is used to represent a _________ in Resource Allocation Graph.

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