Operating systems concept MCQ Test 7

By | October 3, 2017

UGC-NET/GATE Multiple Choice Questions for Operating System.

Question 1
What TCP/IP protocol is used for remote terminal connection service?
A
UDP
B
RARP
C
FTP
D
TELNET
Question 2
An instruction in a programming language that is replaced by a sequence of instructions prior to assembly or compiling is known as
A
procedure name
B
macro
C
label
D
literal
Question 3
For how many processes which are sharing common data, the Dekker's algorithm implements mutual exclusion?
A
1
B
2
C
3
D
4
Question 4
A utility that can be used to minimize the number of fragmented files and enhance the speed
A
Disk space
B
Defrag
C
Scandisk
D
Double space
Question 5
The scheme used in the above question is known as..... or.....
A
sector sparing & forwarding
B
forwarding & sector utilization
C
backwarding & forwarding
D
sector utilization & backwarding
Question 6
The average time of service a page fault is 10ms and the time taken to access the memory is 1$\mu$s. A 99.99% hit ratio results in average memory their access time is..........
A
1.9999$mu$s
B
1.9999ms
C
1ms
D
9.99$\mu$s
Question 7
.......... controls the way in which the computer system functions and provides a means by which users can interact with the computer
A
The platform
B
The operating system
C
Application software
D
The motherboard
Question 8
Consider three processes, all arriving at time zero, with total execution time of 10, 20 and 30 units, respectively. Each process spends the first 20% of execution time doing I/O, the next 70% of time doing computation, and the last 10% of time doing I/O again. The operating system uses a shortest remaining compute time first scheduling algorithm and schedules a new process either when the running process gets blocked on I/O or when the running process finishes its compute burst. Assume that all I/O operations can be overlapped as much as possible. For what percentage of time does the CPU remain idle?
A
0%
B
10.6%
C
30.00%
D
89.40%
Question 9
What are characteristics of Distributed Operating system?
A
Users are aware of multiplicity of machines
B
Access is done like local resources
C
Users are aware of multiplicity of machines
D
They have multiple zones to access files
Question 10
Multithreading an interactive program will increase responsiveness to the user by:
A
continuing to run even if a part of it is blocked
B
waiting for one part to finish before the other begins
C
asking the user to decide the order of multithreading
D
none of the mentioned
Question 11
The function of Dir/W is
A
Show all details of file
B
Show only file name and directory name
C
Shows only directory
D
All of the above
Question 12
Choose the correct option regarding deadlock.
A
If a resource-allocation graph contains no cycles, then no process in the system is deadlocked.
B
If the graph does contain a cycle, then a deadlock may exist.
C
Only a
D
Both A and B are correct.
Question 13
A process has been allocated 3 page frames. Assume that none of the pages of the process are available in the memory initially. The process makes the following sequence of page references (reference string): 1, 2, 1, 3, 7, 4, 5, 6, 3, 1 If optimal page replacement policy is used, how many page faults occur for the above reference string?
A
7
B
8
C
9
D
10
Question 14
If the thread pool contains no available thread:
A
the server runs a new process
B
the server goes to another thread pool
C
the server demands for a new pool creation
D
the server waits until one becomes free
Question 15
Which command is used to change protection mode of files starting with the string emp and ending with 1, 2, or 3?
A
chmod u+x emp[1-3]
B
chmod 777 emp*
C
chmod u+r??? emp
D
chmod 222 emp?
Question 16
If one thread opens a file with read privileges then
A
other threads in the another process can also read from that file
B
other threads in the same process can also read from that file
C
any other thread can not read from that file
D
all of the mentioned
There are 16 questions to complete.

Leave a Reply

Your email address will not be published. Required fields are marked *