CS604 Midterm Online Quiz

0%

CS604-Midterm

1 / 50

This condition is known as ______________.  

2 / 50

A semaphore that cause Busy-Waiting is termed as ___________.

3 / 50

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

4 / 50

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

5 / 50

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

6 / 50

_____________ is a preemptive scheduling algorithm.

7 / 50

You can display the contents (names of files and directories) of a directory in UNIX/Linux directory structure with the --------------- command.

8 / 50

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

9 / 50

The -----------scheme is not applicable to a resource allocation system with multiple instances of each resource type.

10 / 50

If the fork system call fails, it returns

11 / 50

You can use the ---------command in UNIX to create a directory.

12 / 50

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

13 / 50

The correct command for compiling C program named program.c in Linux environment is

14 / 50

In ________ communication the process which wants to communicate with the other process must explicitly name the recipient and the sender.

15 / 50

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

16 / 50

_________________ scheduling allows a process to move between queues.

17 / 50

________ scheduling algorithm is sometimes called shortest remaining time first scheduling algorithm.

18 / 50

Mkfifo() is a _______.

19 / 50

The _______ are used for communication between related or unrelated processes on the same system or unrelated processes on different systems.

20 / 50

copy file1 file2 is an example of ______ OS view.

21 / 50

/opt is used for storage of large applications.

22 / 50

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

23 / 50

In indirect inter process communication, a sender_____mention the name of the recipient.

24 / 50

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

25 / 50

The bottom layer in the layered approach of Operating System is-----------

26 / 50

The -------------- system call suspends the calling process.

27 / 50

The bottom-up view is that operating system is a resource manager who manages the hardware and software resources in the computer system.

28 / 50

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

29 / 50

Binary semaphores are those that have only two values---------

30 / 50

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

31 / 50

The execution of critical sections must NOT be mutually exclusive

32 / 50

Starvation is infinite blocking caused due to unavailability of resources.

33 / 50

Physical memory is broken down into fixed-sized blocks, called----------- and Logical memory is divided into blocks of the same size, called -----------

34 / 50

___________ algorithm is used in Deadlock avoidance.

35 / 50

In Linux directory structure, there is ___________ root directory.

36 / 50

______scheduler selects the process from the job pool and put them in main memory.

37 / 50

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

38 / 50

The process id returned to the child process after successful fork system call execution is _____________.

39 / 50

We can install and run multiple OS by using VMWare.

40 / 50

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

41 / 50

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

42 / 50

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

43 / 50

command displays the contents of current working directory.

44 / 50

Operating system enables the user to use the Hardware Resources.

45 / 50

Files that start with a -------- in UNIX/Linux directory structure are known as hidden files .

46 / 50

I/O instructions are Privileged Instructions.

47 / 50

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

48 / 50

Which of the following is NOT a Hardware Resource.

49 / 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________.  

50 / 50

A Process „A‟ that has finished working but its parent process has also finished its execution. In this state the process „A‟ will be called as _____ 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