CS604 Midterm Online Quiz

0%

CS604-Midterm

1 / 50

All threads within a process share the ________ address space.

2 / 50

OS helps manages the following except

3 / 50

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

4 / 50

Which of the following is correct definition for wait operation?

5 / 50

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

6 / 50

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

7 / 50

n-process critical section problem can be solved by using

8 / 50

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

9 / 50

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

10 / 50

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

11 / 50

/opt is used for storage of large applications.

12 / 50

The execution of critical sections must NOT be mutually exclusive

13 / 50

What do we name to an address that is loaded into the memory-address register of the memory?

14 / 50

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

15 / 50

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

16 / 50

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

17 / 50

Swapper is also termed as Short term scheduler.

18 / 50

A semaphore that cause Busy-Waiting is termed as .

19 / 50

Kernel is responsible for scheduling the user level threads.

20 / 50

command displays the contents of current working directory.

21 / 50

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

22 / 50

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

23 / 50

__________ commands in Linux is used to copy file

24 / 50

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

25 / 50

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

26 / 50

If your processor does not have two slots empty in Per Process File Descriptor Table, then your _________ system call will fail.

27 / 50

The following requirement for solving critical section problem is known as ______. “There exists a bound on the number of times that other processes are allowed to enter their critical sections after a process has made a request to enter its critical section and before that request is granted.”

28 / 50

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

29 / 50

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

30 / 50

A parent process calling __________ system call will be suspended until children process terminates.

31 / 50

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

32 / 50

You can use the rm file1 command to __________ file1

33 / 50

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

34 / 50

________ determines What will be done.

35 / 50

Users are the People, machines or computers that uses the Hardware resources.

36 / 50

This condition is known as ______________.  

37 / 50

A Process that has finished working, as well as its parent process has also finished its execution. In this state the process A will be called as _________ process.

38 / 50

 

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

39 / 50

_____________ is a preemptive scheduling algorithm.

40 / 50

You can display all of the signals supported by your system, along with their numbers, by using the -----------command

41 / 50

We can install and run multiple OS by using VMWare.

42 / 50

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

43 / 50

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

44 / 50

Linux uses ___________ directory to store system configuration files.

45 / 50

Round Robin algorithm is similar to ____________ scheduling but preemption is added to switch between processes.

46 / 50

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

47 / 50

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

48 / 50

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

49 / 50

DOS is single user operating system.

50 / 50

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

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