Computer Science - Operation System
Quiz-summary
0 of 94 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
Information
This is MCQs of Computer Science Subject.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 94 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- Answered
- Review
-
Question 1 of 94
1. Question
Virtual memory is
Correct
Incorrect
-
Question 2 of 94
2. Question
Spatial locality refers to the problem that once a location is referenced
Correct
Incorrect
-
Question 3 of 94
3. Question
Which of the following is an example of a SPOOLED device?
Correct
Incorrect
-
Question 4 of 94
4. Question
Page fault occurs when
Correct
Incorrect
-
Question 5 of 94
5. Question
Overlay is
Correct
Incorrect
-
Question 6 of 94
6. Question
Determine the number of page faults when references to pages occur in the order – 1, 2, 4, 5, 2, 1, 2,, 4. Assume that the main memory can accommodate 3 pages and the main memory already has the pages 1 and 2. with page 1 having been brought earlier than page 2. (Assume LRU algorithm is used)
Correct
Incorrect
-
Question 7 of 94
7. Question
Concurrent processes are processes that
Correct
Incorrect
-
Question 8 of 94
8. Question
The page replacement policy that sometimes leads to more page faults when the size of the memory is increased is
Correct
Incorrect
-
Question 9 of 94
9. Question
The only state transition that is initialed by the user process itself is
Correct
Incorrect
-
Question 10 of 94
10. Question
Working set (t,k) at an instant of time, t, is the set of
Correct
Incorrect
-
Question 11 of 94
11. Question
Fragmentation is
Correct
Incorrect
-
Question 12 of 94
12. Question
Which of the following are real-time systems?
Correct
Incorrect
-
Question 13 of 94
13. Question
Dijkstra’s banking algorithm in an operating system solves the problem of
Correct
Incorrect
-
Question 14 of 94
14. Question
In page memory systems, if the page size is increased, then the internal fragmentation generally
Correct
Incorrect
-
Question 15 of 94
15. Question
An operating system contains 3 user processes each requiring 2 units of resource R. The minimum number of units of R such that no dead lock will ever occur is
Correct
Incorrect
-
Question 16 of 94
16. Question
Critical region is
Correct
Incorrect
-
Question 17 of 94
17. Question
Kernel is
Correct
Incorrect
-
Question 18 of 94
18. Question
With a single resource, deadlock occurs
Correct
Incorrect
-
Question 19 of 94
19. Question
Necessary conditions for deadlock are
Correct
Incorrect
-
Question 20 of 94
20. Question
In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the RUNNING state to the
Correct
Incorrect
-
Question 21 of 94
21. Question
At a particular time, the value of a counting semaphore is 10. It will become 7 after
Correct
Incorrect
-
Question 22 of 94
22. Question
Supervisor call
Correct
Incorrect
-
Question 23 of 94
23. Question
Semaphores are used to solve the problem of
Correct
Incorrect
-
Question 24 of 94
24. Question
If the property of locality of reference is well pronounced in a program
Correct
Incorrect
-
Question 25 of 94
25. Question
At a particular time of computation, the value of a counting semaphore is 7.Then 20 p operations and ‘x’ V operations were completed on this semaphore. If the final value of the semaphore is 5, x will be
Correct
Incorrect
-
Question 26 of 94
26. Question
Pre-emptive scheduling, is the strategy of temporarily suspending a running process
Correct
Incorrect
-
Question 27 of 94
27. Question
Mutual exclusion problem occurs
Correct
Incorrect
-
Question 28 of 94
28. Question
Sector interleaving in disks is done by
Correct
Incorrect
-
Question 29 of 94
29. Question
Memory protection is of no use in a
Correct
Incorrect
-
Question 30 of 94
30. Question
Some computer systems support dual mode operation the user mode and the supervisor or monitor mode. These refer to the modes
Correct
Incorrect
-
Question 31 of 94
31. Question
Disk scheduling involves deciding
Correct
Incorrect
-
Question 32 of 94
32. Question
A computer system has 6 tape drives, with ‘n’ processes competing for them, Each process may need 3 tape drives. The maximum value of ‘n’ for which the system is guaranteed to be deadlock free is
Correct
Incorrect
-
Question 33 of 94
33. Question
Dirty bit is used to show the
Correct
Incorrect
-
Question 34 of 94
34. Question
Fence register is used for
Correct
Incorrect
-
Question 35 of 94
35. Question
Which of the following is a service not supported y the operation system?
Correct
Incorrect
-
Question 36 of 94
36. Question
The first-fit, best-fit and the worst-fit algorithm can be used for
Correct
Incorrect
-
Question 37 of 94
37. Question
Which of the following are single-user operating systems?
Correct
Incorrect
-
Question 38 of 94
38. Question
In Round Robin CPU scheduling, as the time quantum is increased, the average turn around time
Correct
Incorrect
-
Question 39 of 94
39. Question
In a multiprogramming environment
Correct
Incorrect
-
Question 40 of 94
40. Question
Which of the following are true?
Correct
Incorrect
-
Question 41 of 94
41. Question
In a paged memory, the page hit ratio is 0.35. The time required to access a page in secondary memory is equal to 100 ns. The time required to access a page in primary memory is 10 ns. The average time required to access a page is
Correct
Incorrect
-
Question 42 of 94
42. Question
A state is safe if the system can allocate resources to each process (up to its maximum) in some order and still avoid deadlock.
Which of the following are true?
Correct
Incorrect
-
Question 43 of 94
43. Question
The size of the virtual memory depends on the size of the
Correct
Incorrect
-
Question 44 of 94
44. Question
In a multi-user operating system.20 requests are made to use a particular resource per hour, on an average. The probability that no requests are made in 45 minutes is
Correct
Incorrect
-
Question 45 of 94
45. Question
In which of the following scheduling policies does context switching never take place?
Correct
Incorrect
-
Question 46 of 94
46. Question
Suppose that a process is in ‘BLOCKED’ state waiting for some I/O service. When the service is completed, it goes to the
Correct
Incorrect
-
Question 47 of 94
47. Question
In which of the following directory systems, is it possible to have multiple complete paths for a file starting from the root directory?
Correct
Incorrect
-
Question 48 of 94
48. Question
In a system that does not support swapping
Correct
Incorrect
-
Question 49 of 94
49. Question
To obtain better memory utilization dynamic loading is used. With dynamic loading, a routine is not loaded until it is called for. For implementing dynamic loading,
Correct
Incorrect
-
Question 50 of 94
50. Question
Which of the following is true?
Correct
Incorrect
-
Question 51 of 94
51. Question
Which of the following is true?
Correct
Incorrect
-
Question 52 of 94
52. Question
If the CPU scheduling policy is FCFS, the average waiting time will be
Correct
Incorrect
-
Question 53 of 94
53. Question
If the CPU scheduling policy is SJF, the average waiting time (without pre-emption) will be
Correct
Incorrect
-
Question 54 of 94
54. Question
If the CPU scheduling policy SJF with pre-emption, the average waiting time will be
Correct
Incorrect
-
Question 55 of 94
55. Question
If the CPU scheduling policy is priority scheduling without pre-emption, the average waiting time will be
Correct
Incorrect
-
Question 56 of 94
56. Question
If the CPU scheduling policy is priority scheduling with pre-emption,k the average waiting time will be
Correct
Incorrect
-
Question 57 of 94
57. Question
In partitioned memory allocation scheme, the
Correct
Incorrect
-
Question 58 of 94
58. Question
Cascading termination refers to termination of all child processes before the parent terminates
Correct
Incorrect
-
Question 59 of 94
59. Question
For implementing a multiprogramming operating system
Correct
Incorrect
-
Question 60 of 94
60. Question
Consider a system having ‘m’ resources of the same type. These resources are shared by 3 processes A, B, C, which have peak time demands of 3, 4, 6 respectively. The minimum value of ‘m’ that ensures that dead lock will never occur is
Correct
Incorrect
-
Question 61 of 94
61. Question
A system has 3 processes sharing 4 resources. If each process needs a maximum of 2 units then, deadlock
Correct
Incorrect
-
Question 62 of 94
62. Question
‘m’ processes share ‘n’ resources of the same type. The maximum need of each process doesn’t exceed ‘n’ and the sum all their maximum needs is always less than m+n. In this set up deadlock.
Correct
Incorrect
-
Question 63 of 94
63. Question
A process refers to 5 pages, A, B, C, D and E in the order – A; B; C; D; A; B; which transfer with an empty internal store of 3 frames is
Correct
Incorrect
-
Question 64 of 94
64. Question
Distrubuted systems should
Correct
Incorrect
-
Question 65 of 94
65. Question
The main function of shared memory is to
Correct
Incorrect
-
Question 66 of 94
66. Question
Which of the following is the most suitable scheduling scheme in a real-time operating system?
Correct
Incorrect
-
Question 67 of 94
67. Question
In Question number 63, if the number of available page frames is increased to 4 then the number of page transfers
Correct
Incorrect
-
Question 68 of 94
68. Question
‘Aging’ is
Correct
Incorrect
-
Question 69 of 94
69. Question
If there are 32 segments, each of size 1 k bytes, then the logical address should hav
Correct
Incorrect
-
Question 70 of 94
70. Question
Disk requests come to a disk driver for cylinders in the order 10, 22, 20, 2, 40, 6 and 38 at a time when the disk drive is reading from cylinder 20. the seed time is 6 ms per cylinder. The total seek timer, if the disk arm scheduling algorithm is first-ome-first-served is
Correct
Incorrect
-
Question 71 of 94
71. Question
In question 70, if the scheduling algorithm is the closest cylinder next, then the total seek time will be
Correct
Incorrect
-
Question 72 of 94
72. Question
A certain moving arm disk storage with one head has following specification:
Number of tracks / recording surface = 200
Disk rotation speed = 2400 rpm
Track storage capacity = 62500 bits
The average latency time (assume that the head can move from one track to another only by traversing the entire track) isCorrect
Incorrect
-
Question 73 of 94
73. Question
Memory protection is normally done by the
Correct
Incorrect
-
Question 74 of 94
74. Question
Which of the following scheduling algorithms gives minimum average waiting time?
Correct
Incorrect
-
Question 75 of 94
75. Question
In question number 72, the transfer rate will be
Correct
Incorrect
-
Question 76 of 94
76. Question
In a paged segmented scheme of memory management, the segment table itself must have a page table because
Correct
Incorrect
-
Question 77 of 94
77. Question
Which of the following page replacement algorithms suffers from Belady’s anomaly?
Correct
Incorrect
-
Question 78 of 94
78. Question
Which of the following scheduling policy is well suited for a time-shared operating system?
Correct
Incorrect
-
Question 79 of 94
79. Question
The address sequence generated by tracing a particular program executing in a pure demand pagins system with 100 records per page, with 1 free main memory frame is recorded as follows. What is the number of page faults?
0100, 0200, 0430, 0499, 0510, 0530, 0560, 0120, 0220, 0240, 0260, 0320, 0370.Correct
Incorrect
-
Question 80 of 94
80. Question
A computer system has 4 k word cache organized in a block-set-associative manner, with 4 blocks per set, 64 words per block. The number of bits in the SET and WORD fields of the main memory address format is
Correct
Incorrect
-
Question 81 of 94
81. Question
A computer installation has 1000 k of main memory. The jobs arrive and finish in the following sequence.
job 1 requiring 200 k arrives
job 2 requiring 350 k arrives
job 3 requiring 300 k arrives
job 1 finishes
job 4 requiring 120 k arrives
job 5 requiring 150 k arrives
job 6 requiring 80 k arrives
Among best fit and first fit, Which performs better for this sequence?Correct
Incorrect
-
Question 82 of 94
82. Question
A memory page containing a heavily used variable that was initialized very early and is in constant use is removed, when the page replacement algorithm used is
Correct
Incorrect
-
Question 83 of 94
83. Question
Consider the following heap.
JOB 1 – 50
Free – 150
JOB 2 – 300
FREE – 350
JOB 3 – 600
The sequence of requests for blocks of size 300, 25, 125, 50 can be satisfied if we useCorrect
Incorrect
-
Question 84 of 94
84. Question
This system is in a deadlock state. This remark is
Correct
Incorrect
-
Question 85 of 94
85. Question
Which of the following is a safe sequence?
Correct
Incorrect
-
Question 86 of 94
86. Question
A demand paging system, with page table held in registers, takes 5 ms to service a page fault if an empty page is available, or if the page to be replaced is not dirty. It takes 15 ms if the replaced page is dirty. Memory access time is 1 μ s and that the page to be replaced is dirty 60% of the time. What is the approximate maximum acceptable page fault rate to meet this access time requirement?
Correct
Incorrect
-
Question 87 of 94
87. Question
Consider a computer with 8 Mbytes of main memory and a 128 K cache. The cache block size is 4 K. It uses a direct mapping scheme for cache management. How many different main memory blocks can map onto a given physical cache block?
Correct
Incorrect
-
Question 88 of 94
88. Question
Which of the following applications are well suited for batch processing?
Correct
Incorrect
-
Question 89 of 94
89. Question
Locality of reference implies that the page reference being made by a process
Correct
Incorrect
-
Question 90 of 94
90. Question
The correct matching for the following pairs
(A) Disk scheduling (1) Round robin
(B) Batch Processing (2) SCAN
(C) Time sharing (3) LIFO
(D) Interrupt Processing (4) FIFO
isCorrect
Incorrect
-
Question 91 of 94
91. Question
Thrashing
Correct
Incorrect
-
Question 92 of 94
92. Question
Dirty bit for a page in a page table
Correct
Incorrect
-
Question 93 of 94
93. Question
Each process Pi i= 1, 2, 3, . . . . 9 is coded as follows
repeat
p (mutex)
{ critical section }
V (mutex)
forever
The code for P10 is identical except that it uses V (mutex) instead of P (mutex). What is the largest number of processes that can be inside the critical section at any moment?
Correct
Incorrect
-
Question 94 of 94
94. Question
When an interrupt occurs, an operating system
Correct
Incorrect