LawMint Sign in

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

Select one answer

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 :

ProcessMax. NeedCurrent Allocation
P183
P294
P352
P431
With reference to current allocation, what is the safe sequence ?

Select one answer

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 __________.

Select one answer

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 ?

Select one answer

Question 5

Match the following List-I with List-II :

List-IList-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

Select one answer

Question 6

Overlaying :

Select one answer

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 ?

Select one answer

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 ?

Select one answer

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 :

Select one answer

Question 10

Linked allocation strategy is suitable :
(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
Select one answer

Continue practising

The practice pack for Himachal Pradesh SET (HP SET) is coming soon to LawMint.

Himachal Pradesh SET (HP SET) practice pack

The practice pack for Himachal Pradesh SET (HP SET) is coming soon to LawMint.