CS604 Midterm Online Quiz

0%

CS604-Midterm

1 / 50

Operating System provides services such as Managing Primary and Secondary Storage, Processes and Allowing user to manage his/her files and directories.

2 / 50

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

3 / 50

A time sharing system is

4 / 50

copy file1 file2 is an example of ______ OS view.

5 / 50

Which part of the computer system helps in managing the file and memory management system?

6 / 50

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

7 / 50

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

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

9 / 50

The Operating system is a layer of software between _________ and ___________.

10 / 50

The performance of Round Robin algorithm does NOT depends heavily on the size of the time quantum.

11 / 50

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

12 / 50

In Linux directory structure, there is ___________ root directory.

13 / 50

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

14 / 50

The execution of critical sections must NOT be mutually exclusive

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

16 / 50

The execution of critical sections must NOT be mutually exclusive

17 / 50

The main characteristic of a Real time system is

18 / 50

Linux uses ___________ directory to store system configuration files.

19 / 50

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

20 / 50

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

21 / 50

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

22 / 50

The critical section problem can be solved by the following except

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

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

25 / 50

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

26 / 50

_____________ determines How to do something.

27 / 50

I/O instructions are Privileged Instructions.

28 / 50

____ is a virtual directory in Linux and Unix.

29 / 50

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

30 / 50

___________ is used in real time operating systems.

31 / 50

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

32 / 50

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

33 / 50

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

34 / 50

Mkfifo() is a _______.

35 / 50

A system call________

36 / 50

_____________ is a preemptive scheduling algorithm.

37 / 50

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

38 / 50

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

39 / 50

The interval from the time of submission to the time of completion is the ______

40 / 50

___________ is a solution to the problem of indefinite blockage of low-priority processes.

41 / 50

I MB or 1 megabyte is equivalent to----

42 / 50

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

43 / 50

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

44 / 50

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

45 / 50

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

46 / 50

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

47 / 50

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

48 / 50

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

49 / 50

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

50 / 50

____ command display the status of a 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