CS604 Midterm Online Quiz

0%

CS604-Midterm

1 / 50

Shared libraries and kernel modules are stored in directory

2 / 50

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

3 / 50

User mode can run the Privileged instructions.

4 / 50

This condition is known as ______________.  

5 / 50

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

6 / 50

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

7 / 50

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

8 / 50

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

9 / 50

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

10 / 50

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

11 / 50

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

12 / 50

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

13 / 50

The hardware mechanism that enables a device to notify CPU is called an -------------

14 / 50

If the system can allocate resources to each process in some order and still avoid a deadlock then it said to be in ______ state.

15 / 50

Linux uses ___________ directory to store system configuration files.

16 / 50

Which of the Following is not an Operating System.

17 / 50

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

18 / 50

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

19 / 50

________ determines What will be done.

20 / 50

_____________ determines How to do something.

21 / 50

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

22 / 50

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

23 / 50

Linux is a version of _______ operating system.

24 / 50

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

25 / 50

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

26 / 50

Batch programs are usually _________ programs.

27 / 50

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

28 / 50

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

29 / 50

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

30 / 50

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

31 / 50

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

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

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

34 / 50

/usr/X11R6 is used by the X Window System.

35 / 50

A_____ is an abstract key for accessing a file.

36 / 50

Mkfifo() is a _______.

37 / 50

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

38 / 50

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

39 / 50

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

40 / 50

The Home Directory for superuser in Linux and Unix is

41 / 50

Which of the following is correct definition for wait operation?

42 / 50

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

43 / 50

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

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

45 / 50

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

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

47 / 50

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

48 / 50

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

49 / 50

I/O instructions are Privileged Instructions.

50 / 50

Linux Treats Devices as Files.

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