Himachal Pradesh SET (HP SET) System Software and Operating System Previous Year Questions
Try the preview and open any solution for a worked explanation.
Himachal Pradesh SET (HP SET) practice pack
The practice pack for Himachal Pradesh SET (HP SET) is coming soon to LawMint.
Question 1
The problem of starvation can occur in which of the following scheduling algorithms :
(i) Shortest Remaining Time First
(ii) First Come First Serve
(iii) Round Robin
(iv) Priority
(v) Shortest Job Next
Question 2
Suppose there are four processes in execution with 12 instances of a Resource R in a system. The maximum need of each process and current allocation are given below :
| Process | Max. Need | Current Allocation |
| P1 | 8 | 3 |
| P2 | 9 | 4 |
| P3 | 5 | 2 |
| P4 | 3 | 1 |
Question 3
In a paging hardware with a TLB, the entire page table and all the pages are in the physical memory. It takes 10 ms to search the TLB and 80 ms to access the physical memory. If the hit ratio is 0.6, the effective memory access time is __________.
Question 4
Consider the following statements :
(i) Only one reader at a time may read a file
(ii) Only one writer at a time may write to a file
(iii) Any number of writers may simultaneously write to a file
(iv) Any number of readers may simultaneously read a file
(v) If a writer is writing to a file, no reader may read it
(vi) If a reader is reading a file, no writer may write it
Which of the above conditions must be satisfied in the classic readers/writers problem ?
Question 5
Match the following List-I with List-II :
| List-I | List-II |
|---|---|
| (a) Contiguous allocation | (i) This scheme supports very large file sizes |
| (b) Linked allocation | (ii) This allocation technique supports only sequential files |
| (c) Indexed allocation | (iii) Number of disk accesses required to access files is minimal |
| (d) Multi-level allocation | (iv) This technique suffers from maximum wastage of space in storing pointers |
Question 6
Overlaying :
Question 7
In a simple paging system with 224 bytes of physical memory, 256 pages of logical address space and a page size of 210 bytes, how many bits are in a logical address ?
Question 8
Given the following statements with respect to memory management :
(i) A multithreaded process with only one thread has the execution semantics of a traditional single-threaded process.
(ii) Demand paging requires the programmer to take specific action to force the operating system to load a particular virtual memory page.
(iii) A page frame is a portion of the main memory.
Which of the following is true ?
Question 9
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, then value of X will be :
Question 10
(i) If file is relatively small
(ii) If file is large
(iii) If file is usually accessed randomly
(iv) If file is usually accessed sequentially
Previous papers with System Software and Operating System questions
Himachal Pradesh SET (HP SET) practice pack
The practice pack for Himachal Pradesh SET (HP SET) is coming soon to LawMint.