CS604-Midterm
1 / 50
An operating system is a control program that manages the execution of user programs to prevent errors and improper use of a computer.
2 / 50
/usr/X11R6 is used by the X Window System.
3 / 50
Which of the following is NOT a Hardware Resource.
4 / 50
In deadlock detection and recovery algorithm, a deadlock exists in the system if and only if the wait for graph contains a _____________
5 / 50
Which register holds the smallest legal physical memory address for a process?
6 / 50
/opt is used for storage of large applications.
7 / 50
Cooperating processes never share any data, code, memory or state.
8 / 50
The process of switching from one process to another is called latency.
9 / 50
If your processor does not have two slots empty in Per Process File Descriptor Table, then your _________ system call will fail.
10 / 50
If the fork system call fails, it returns
11 / 50
First-Come, First-Served (FCFS) is a --------------scheduling algorithm.
12 / 50
Database, Complier, Video games are examples of ________.
13 / 50
A program in execution is called a _______________.
14 / 50
Linux uses ___________ directory to store system configuration files.
15 / 50
We can install and run multiple OS by using VMWare.
16 / 50
The correct command for compiling C program named program.c in Linux environment is
17 / 50
Files that start with a -------- in UNIX/Linux directory structure are known as hidden files .
18 / 50
The time it takes for the dispatcher to stop one process and start another running is known as the-----------.
19 / 50
When a process opens its first file explicitly it will get descriptor number _________
20 / 50
Operating system enables the user to use the Hardware Resources.
21 / 50
Which of the Following is not an Operating System.
22 / 50
When process opens its first file explicitly it will get descriptor number ______
23 / 50
A_____ is an abstract key for accessing a file.
24 / 50
A major problem with priority scheduling algorithms is ______.
25 / 50
In Layered approach of OS, Lowest Layer is known as ________.
26 / 50
___________ is a solution to the problem of indefinite blockage of low-priority processes.
27 / 50
Command-line interpreter is also called __________ in some operating systems.
28 / 50
Mach, MacOS X Server, QNX, OS/2 and Windows NT are examples of OS Based on ______.
29 / 50
30 / 50
rm and [r]mkdir commands are used to _____________ directory.
31 / 50
The basic purpose of ________________is to help the users to utilize the hardware resources for completing different tasks in a simplified manner
32 / 50
________ scheduling algorithm is sometimes called shortest remaining time first scheduling algorithm.
33 / 50
_______ is also called Swapper.
34 / 50
The Operating system is a layer of software between _________ and ___________.
35 / 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.
36 / 50
You can terminate a foreground process by pressing --------------
37 / 50
An absolute pathname starts with the root directory (/) and a relative pathname starts with your home directory.
38 / 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 ________.
39 / 50
Mkfifo() is a _______.
40 / 50
The returned code to the child process after successful fork system call execution is
41 / 50
-------- command gives a snapshot of the current processes.
42 / 50
A 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 ________.
43 / 50
command displays the contents of current working directory.
44 / 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.
45 / 50
------------ register contains the size of the process
46 / 50
In Unix/ Linux, by default the standard input file is attached to the ___________
47 / 50
The execution of critical sections must NOT be mutually exclusive
48 / 50
A time sharing system is
49 / 50
You can use the ---------command in UNIX to create a directory.
50 / 50
The process id returned to the child process after successful fork system call execution is _____________.
Your score is
The average score is 36%
Restart quiz