CS604 Midterm Online Quiz

0%

CS604-Midterm

1 / 50

Utilities used for system administration (halt, ifconfig, fdisk, etc.) are stored in _____________ directory.

2 / 50

command displays the contents of current working directory.

3 / 50

In indirect inter process communication, a sender ________ mention the name of the recipient.

4 / 50

Operating system enables the user to use the Hardware Resources.

5 / 50

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

6 / 50

Starvation is infinite blocking caused due to unavailability of resources.

7 / 50

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

8 / 50

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

9 / 50

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

10 / 50

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

11 / 50

First-Come, First-Served (FCFS) is a --------------scheduling algorithm.

12 / 50

Kernel is responsible for scheduling the user level threads.

13 / 50

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

14 / 50

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

15 / 50

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

16 / 50

Mach, MacOS X Server, QNX, OS/2 and Windows NT are examples of OS Based on ______.

17 / 50

Operating System is the Manager of Hardware Resources.

18 / 50

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

19 / 50

Which of the following is correct definition for wait operation?

20 / 50

copy file1 file2 is an example of ______ OS view.

21 / 50

Taking the CPU from one process and giving the CPU to another process is termed as

22 / 50

n-process critical section problem can be solved by using

23 / 50

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

24 / 50

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

25 / 50

Each process must first request permission to enter its critical section. The section of code implementing this request is called the _____

26 / 50

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

27 / 50

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

28 / 50

The process of switching from one process to another is called ---------------.

29 / 50

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

30 / 50

The 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 ________.

31 / 50

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

32 / 50

A major problem with priority scheduling algorithms is ______.

33 / 50

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

34 / 50

The Purpose of Operating System is to generate Executable Programs and to _______ them.

35 / 50

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

36 / 50

A time sharing system is

37 / 50

_________buffer places no practical limit on the size of the buffer

38 / 50

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

39 / 50

A system call________

40 / 50

Shared libraries and kernel modules are stored in directory

41 / 50

A semaphore that cause Busy-Waiting is termed as .

42 / 50

User Goal of OS is that It easy to use, reliable, safe and fast.

43 / 50

Which register holds the smallest legal physical memory address for a process?

44 / 50

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

45 / 50

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

46 / 50

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

47 / 50

A_____ is an abstract key for accessing a file.

48 / 50

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

49 / 50

If the fork system call fails, it returns

50 / 50

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

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