CS604 Midterm Online Quiz

0%

CS604-Midterm

1 / 50

OS helps manages the following except

2 / 50

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

3 / 50

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

4 / 50

POSIX is a standard developed by ANSI

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

6 / 50

n-process critical section problem can be solved by using

7 / 50

Kernel is responsible for scheduling the user level threads.

8 / 50

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

9 / 50

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

10 / 50

_____________ is a preemptive scheduling algorithm.

11 / 50

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

12 / 50

Banker‟s algorithm is used for ________________

13 / 50

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

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

15 / 50

The priorities of processes in the __________ group remain fixed.

16 / 50

copy file1 file2 is an example of ______ OS view.

17 / 50

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

18 / 50

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

19 / 50

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

20 / 50

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

21 / 50

Batch programs are usually _________ programs.

22 / 50

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

23 / 50

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

24 / 50

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

25 / 50

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

26 / 50

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

27 / 50

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

28 / 50

The critical section problem can be solved by the following except

29 / 50

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

30 / 50

The Home Directory for superuser in Linux and Unix is

31 / 50

Operating system enables the user to use the Hardware Resources.

32 / 50

Which of the following is correct definition for wait operation?

33 / 50

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

34 / 50

A major problem with priority scheduling algorithms is ______.

35 / 50

This condition is known as ______________.  

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

37 / 50

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

38 / 50

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

39 / 50

____ command gives a snapshot of the current processes.

40 / 50

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

41 / 50

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

42 / 50

The execution of critical sections must NOT be mutually exclusive

43 / 50

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

44 / 50

We can install and run multiple OS by using VMWare.

45 / 50

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

46 / 50

All threads within a process share the ________ address space.

47 / 50

You can use the rm file1 command to __________ file1

48 / 50

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

49 / 50

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

50 / 50

Operating System is the Manager of Hardware Resources.

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