Operating System
Welcome to NTA NET ASPIRANT ACADEMY
NTA NET ASPIRANT ACADEMY is a training academy for College Lectures, Assistant Professor, Research Scholar and PG Students to make qualified for Assistant Professor & JRF in UGC NET / TNSET
NTA NET ASPIRANT ACADEMY is a training academy for College Lectures, Assistant Professor, Research Scholar and PG Students to make qualified for Assistant Professor & JRF in UGC NET / TNSET
Start
Congratulations - you have completed Operating System.
You scored %%SCORE%% out of %%TOTAL%%.
Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Question 1 |
Consider a single - level page table system, with the page table stored in the memory. If the hit rate to TLB is 80%, and it takes 15 nano seconds to search the TLB, and 150 nano seconds to access the main memory, then what is the effective memory access time, in nano seconds? NTA NET JUNE 2020
A | 185 |
B | 195 |
C | 205 |
D | 175 |
Question 2 |
Consider a hypothetical machine with 3 pages of physical memory, 5 pages of virtual memory, and <A,B,C,D,A,B,E,A,B,C,D,E,B,A,B> as the stream of page references by an application. If P and Q are the number of page faults that the application would incur with FIFO and LRU page replacement algorithms respectively, (P,Q) = ________. (Assuming enough space for storing 3 page frames). NTA NET JUNE 2020
A | 11,10 |
B | 12,11 |
C | 10,11 |
D | 11,12 |
Question 3 |
Consider a disk system having 60 cylinders. Disk requests are received by a disk drive for cylinders 10,22,20,2,40,6 and 38, in that order. Assuming the disk head is currently at cylinder 20, what is the time taken to satisfy all the requests if it takes 2 milliseconds to move from one cylinder to adjacent one and Shortest Seek Time First(SSTF) algorithm is used? NTA NET JUNE 2020
A | 240 Milliseconds |
B | 96 Milliseconds |
C | 120 Milliseconds |
D | 112 Milliseconds |
Question 4 |
Identify the circumstances under which pre-emptive CPU scheduling is used: NTA NET DECEMBER 2019
A. A process switches from Running state to Ready state
B. A process switches from Waiting state to Ready state
C. A process complete its execution
D. A process switches from Ready to Waiting state
Choose the correct option:
A. A process switches from Running state to Ready state
B. A process switches from Waiting state to Ready state
C. A process complete its execution
D. A process switches from Ready to Waiting state
Choose the correct option:
A | (A) and (B) only |
B | (A) and (D) only |
C | (C) and (D) only |
D | (A), (B) and (C) only |
Question 5 |
Which of the following inter-process communication model is used to exchange messages among co-operative processes? NTA NET DECEMBER 2019
A | Shared memory model |
B | Message passing model |
C | Shared memory and message passing model |
D | Queues |
Question 6 |
Suppose a system has 12 magnetic tape drives and at time T, three processes are allotted tape drives out of their need as given below: NTA NET DECEMBER 2019
At time T, the system is in safe state. Which of the following is safe sequence so that deadlock is avoided?
Process | Maximum Needs | Current Needs |
---|---|---|
P0 | 10 | 5 |
P1 | 4 | 2 |
P2 | 9 | 2 |
A | |
B | |
C | |
D |
Question 7 |
Which of the following CPU scheduling algorithms is/are supported by LINUX operating system? NTA NET DECEMBER 2019
A | Non - preemptive priority scheduling |
B | Preemptive priority scheduling and time sharing CPU scheduling |
C | Time sharing scheduling only |
D | Priority scheduling only |
Question 8 |
Consider a paging system where translation look aside buffer (TLB) a special type of associative memory is used with hit ratio of 80%.
Assume that memory reference takes 80 nanoseconds and reference time to TLB is 20 nanoseconds. what will be the effective memory access time given 80% hit ratio? NTA NET DECEMBER 2019
A | 110 nanoseconds |
B | 116 nanoseconds |
C | 200 nanoseconds |
D | 100 nanoseconds |
Question 9 |
A counting semaphore is initialized to 8. 3 wait() operation and 4 signal() operations are applied. Find the current value of semaphore variable. NTA NET DECEMBER 2019
A | 9 |
B | 5 |
C | 1 |
D | 4 |
Question 10 |
Given CPU time slice of 2ms and following list of processes.
Find the average turnaround time and average waiting time using round robin CPU Scheduling? NTA NET DECEMBER 2019
Process | Burst Time | Arrival Time |
---|---|---|
P1 | 3 | 0 |
P2 | 4 | 2 |
P3 | 5 | 5 |
A | 4, 0 |
B | 5.66, 1.66 |
C | 5.66, 0 |
D | 7,2 |
Question 11 |
At a particular time of computation, the value of counting semaphore is 10. Then 12 P Operations and "x" V operations were performed on this semaphore. If the final value of semaphore is 7, x will be: CBSE NET JULY 2018
A | 8 |
B | 9 |
C | 10 |
D | 11 |
Question 12 |
In a paged memory, the page hit rate is 0.40. The time required to access a page in secondary memory is equal to 120ns. The time required to access a page in primary memory is 15ns. The average time required to access a page is ________ CBSE NET JULY 2018
A | 105 |
B | 68 |
C | 75 |
D | 78 |
Question 13 |
Normally user programs are prevented from handling I / P directly by I / O instructions in them. For CPUs having explicit I / O instructions, such I / O protection is ensured by having the I / O instructions privileged. In a CPU with memory mapped I / O, there is no explicit I / O instruction. Which one of the following is true for a CPU with memory mapped I / O? CBSE NET JULY 2018
A | I / O protection is ensured by operating system routines |
B | I / O protection is ensured by a hardware trap |
C | I / O protection is ensured during system configuration |
D | I / O protection is not possible |
Question 14 |
Which UNIX / Linux command is used to make all files and sub - directories in the dictionary "progs" executable by all users? CBSE NET JULY 2018
A | chmod - R a + x progs |
B | chmod - R 222 progs |
C | chmod - X a + x progs |
D | chmod - X 222 progs |
Question 15 |
Which of the following statements are true? CBSE NET JULY 2018
A. External fragmentation exists when there is enough total memory space to satisfy a request but the available space is contiguous.
B. Memory fragmentation can be internal as well as external.
C. One solution to external fragmentation is compaction.
A. External fragmentation exists when there is enough total memory space to satisfy a request but the available space is contiguous.
B. Memory fragmentation can be internal as well as external.
C. One solution to external fragmentation is compaction.
A | A and B only |
B | A and C only |
C | B and C only |
D | A, B and C |
Question 16 |
Page information in memory is also called as Page table. The essential contents in each entry of a page table is / are ______.
A | Page Access Information |
B | Virtual Page Number |
C | Page Frame Number |
D | Both virtual page number and Page frame number |
Question 17 |
Consider a virtual page reference string 1, 2, 3, 2, 4, 2, 5, 2, 3, 4. Suppose LRU page replacement algorithm is implemented with 3 page frames in main memory. Then the number of page faults are _________. CBSE NET JULY 2018
A | 5 |
B | 7 |
C | 9 |
D | 10 |
Question 18 |
Consider the following three processes with the arrival time and CPU burst time given in milliseconds: CBSE NET JULY 2018
The average waiting time for preemptive SJF Scheduling algorithm is _______ .
Process | Arrival Time | Burst Time |
---|---|---|
P1 | 0 | 7 |
P2 | 1 | 4 |
P3 | 2 | 8 |
A | 4.75 Milliseconds |
B | 5.25 Milliseconds |
C | 5.5 Milliseconds |
D | 4.3 Milliseconds |
Question 19 |
In which of the following scheduling criteria, context switching will never take place? CBSE NET JULY 2018
A | Round Robin |
B | Preemptive SJF |
C | Non - Preemptive SJF |
D | Preemptive priority |
Question 20 |
In Linux operating system environment ______ command is used to print a file. CBSE NET JULY 2018
A | print |
B | ptr |
C | pr |
D | lpr |
Question 21 |
To overcome difficulties in Readers - Writers problem, Which of the following statements is / are true? CBSE NET JULY 2018
(i) Writers are given exclusive access to shared objects.
(ii) Readers are given exclusive access to shared objects.
(iii) Both Readers and Writers are given exclusive access to shared objects.
Choose the correct answer from the code given below:
(i) Writers are given exclusive access to shared objects.
(ii) Readers are given exclusive access to shared objects.
(iii) Both Readers and Writers are given exclusive access to shared objects.
Choose the correct answer from the code given below:
A | (i) only |
B | (ii) only |
C | (iii) only |
D | Both (ii) and (iii) |
Question 22 |
Suppose a system has 12 instances of some resources with n processes competing for that resource. Each process may require 4 instances of the resource. The maximum value of n for which the system never enters into deadlock is CBSE NET JULY 2018
A | 3 |
B | 4 |
C | 5 |
D | 6 |
Question 23 |
Dirty bit is used to show the CBSE NET JULY 2018
A | Wrong page |
B | Page with corrupted data |
C | Page with low frequency occurrence |
D | Page that is modified after being loaded into cache memory |
Question 24 |
Suppose for a process P, reference to pages in order are 1,2,4,5,2,1,2,4. Assume that main memory can accommodate 3 pages and the main memory has already pages 1 and 2 in the order 1 - first, 2 - second. At this moment, assume FIFO Page Replacement Algorithm is used then the number of page faults that occur to complete the execution of process P is CBSE NET JULY 2018
A | 4 |
B | 3 |
C | 5 |
D | 6 |
Question 25 |
Consider the following set of processes and the length of CPU burst time given in milliseconds: CBSE NET JULY 2018
Assume that processes being scheduled with Round-Robin Scheduling Algorithm with time quantum 4 ms. Then the waiting time for P4 is _____ ms
Process | CPU Burst Time (ms) |
---|---|
P1 | 5 |
P2 | 7 |
P3 | 6 |
P4 | 4 |
A | 0 |
B | 4 |
C | 12 |
D | 6 |
Question 26 |
Suppose P,Q and R are co-operating processes satisfying Mutual Exclusion condition. Then, if the process Q is executing in its critical section then CBSE NET JULY 2018
A | Both 'P' and 'R' execute in critical section. |
B | Neither 'P' nor 'R' executes in their critical section. |
C | 'P' executes in critical section. |
D | 'R' executes in critical section. |
Question 27 |
A process residing in Main Memory and Ready and Waiting for execution, is kept on CBSE NET JULY 2018
A | Execution Queue |
B | Job Queue |
C | Ready Queue |
D | Wait Queue |
Question 28 |
___________ system call creates new process in Unix. CBSE NET JULY 2018
A | Create |
B | Create New |
C | Fork |
D | Fork New |
Once you are finished, click the button below. Any items you have not completed will be marked incorrect.
Get Results
There are 28 questions to complete.
You have completed
questions
question
Your score is
Correct
Wrong
Partial-Credit
You have not finished your quiz. If you leave this page, your progress will be lost.
Correct Answer
You Selected
Not Attempted
Final Score on Quiz
Attempted Questions Correct
Attempted Questions Wrong
Questions Not Attempted
Total Questions on Quiz
Question Details
Results
Date
Score
Hint
Time allowed
minutes
seconds
Time used
Answer Choice(s) Selected
Question Text
All done
Need more practice!
Keep trying!
Not bad!
Good work!
Perfect!