DSSSB TGT / PGT · Computer Science

Operating Systems Previous Year Questions

154 Operating Systems (Computer Science) questions asked in DSSSB TGT / PGT previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.

  • 154 questions
  • Official answer key
  • Free

Other Computer Science topics

Q1From DSSSB TGT Computer Science Practice Set 5
Consider the following statements about deadlock: A. Existence of a cycle in resource-allocation graph indicates deadlock. B. Existence of a cycle in wait-for graph indicates deadlock. C. Mutual-exclusion, hold and wait, no preemption and circular wait conditions, if occur simultaneously, may lead to deadlock. Mark the correct option :
  1. AOnly (b) is correct
  2. BOnly (c) is correct
  3. COnly (a) and (c) are correct
  4. DOnly (b) and (c) are correct
Show answerHide answer

Correct answer: (D) Only (b) and (c) are correct

Explanation

Corrected: the book's key says (c). A cycle in a resource-allocation graph does not always mean deadlock (with multiple instances), so A is false; B and C are correct.

Q2From DSSSB TGT Computer Science Practice Set 5
Semaphores are used to solve the problem of ______.
  1. AMutual exclusion
  2. BRace condition
  3. CProcess synchronization
  4. DThe belady problem
Show answerHide answer

Correct answer: (C) Process synchronization

Explanation

Semaphores are a synchronization tool. They control how concurrent processes access shared resources, which solves process synchronization problems, including mutual exclusion.

Q3From DSSSB TGT Computer Science Practice Set 5
Given the list of tasks in Col-A and list of data structure in Col-B. Identify the best match. Col-A | Col-B A. Recursion | (i) Binary tree B. Scheduling | (ii) Stack C. Sorting | (iii) Queue
  1. AA-(i), B-(iii), C-(ii)
  2. BA-(ii), B-(i), C-(iii)
  3. CA-(iii), B-(ii), C-(i)
  4. DA-(ii), B-(iii), C-(i)
Show answerHide answer

Correct answer: (D) A-(ii), B-(iii), C-(i)

Explanation

Recursion uses a stack of activation records, scheduling uses a queue (first come, first served), and sorting can use a binary tree (as in a BST or heap).

Q4From DSSSB TGT Computer Science Practice Set 5
Which of the following applications may use a stack? (A) Parenthesis balancing program (B) Process scheduling in operating system (C) Conversion of infix arithmetic expression to postfix form
  1. A(A) and (B)
  2. B(B) and (C)
  3. C(A) and (C)
  4. D(A), (B) and (C)
Show answerHide answer

Correct answer: (C) (A) and (C)

Explanation

Stacks are used for parenthesis balancing and infix-to-postfix conversion, so (A) and (C) are correct. Process scheduling uses queues, not stacks.

Q5From DSSSB TGT Computer Science Practice Set 5
Copying a process from memory to disk to allow space for other processes is called ______.
  1. ADemand paging
  2. BDeadlock
  3. CPagefault
  4. DSwapping
Show answerHide answer

Correct answer: (D) Swapping

Explanation

Swapping moves a whole process from main memory to disk (and back later) to free memory for other processes.

Q6From DSSSB TGT Computer Science Practice Set 5
Which is the Linux?
  1. AOpen-source Operating System
  2. BOpen-source Application Software
  3. CWindows based Application Software
  4. DProprietary Operating System
Show answerHide answer

Correct answer: (A) Open-source Operating System

Explanation

Linux is a free, open-source operating system (kernel) released under the GNU GPL.

Q7From DSSSB TGT Computer Science Practice Set 5
Which refers to the subconscious process of 'understanding' a language through exposure?
  1. AAccess
  2. BListening
  3. CSpeaking
  4. DAcquisition
Show answerHide answer

Correct answer: (D) Acquisition

Explanation

Acquisition is the subconscious way a language is picked up through exposure and use. Learning is the conscious study of rules.

Q8From DSSSB TGT Computer Science Practice Set 4
A thread is also called :
  1. AA scheduler
  2. BA virtual process
  3. CA heavyweight process
  4. DA lightweight process
Show answerHide answer

Correct answer: (D) A lightweight process

Explanation

A thread is called a lightweight process. Threads of the same process share its code, data and files, so creating and switching between them costs little.

Q9From DSSSB TGT Computer Science Practice Set 4
The diagram given below represents Diagram: Processes enter a 'ready queue' which feeds the 'CPU'; an arrow leaves the CPU (exit). From the CPU, four paths lead back to the ready queue: 1. I/O request → I/O queue → I/O → back to ready queue 2. time slice expired → back to ready queue 3. fork a child → child executes → back to ready queue 4. wait for an interrupt → interrupt occurs → back to ready queue
  1. AProcess creation
  2. BProcess state
  3. CQueuing diagram
  4. DCommunication model
Show answerHide answer

Correct answer: (C) Queuing diagram

Explanation

The diagram shows the ready queue, the I/O queues and the events that move a process between them. This is the queueing diagram of process scheduling.

Q10From DSSSB TGT Computer Science Practice Set 4
In virtual memory paging, page size and frame size have which of the following relations?
  1. ABoth are of equal size
  2. BBoth are of unequal size
  3. CThe page size is exactly half of the frame size
  4. DThe page size is twice the frame size
Show answerHide answer

Correct answer: (A) Both are of equal size

Explanation

In paging, logical memory is divided into pages and physical memory into frames of the same size, so any page fits into any frame.

Q11From DSSSB TGT Computer Science Practice Set 4
If a child is suffering from dyslexia, the teacher should adopt the following remedial strategy.
  1. Ahelping them to develop their listening skills by tracking the words provided from the audio book / recorded study material / materials
  2. BContinuing the learning process without any modifications
  3. CProviding counting materials such as counters, rulers, etc
  4. DDoing physical exercises showing the directions like left and right
Show answerHide answer

Correct answer: (A) helping them to develop their listening skills by tracking the words provided from the audio book / recorded study material / materials

Explanation

Children with dyslexia struggle with reading text. Audio books and recorded material help them learn by listening while they follow the words.

Q12From DSSSB TGT Computer Science Practice Set 3
______ is an intermediate storage area used for data processing during the extract, transform and load process of data warehousing.
  1. AInter-storage area
  2. BBuffer
  3. CStaging area
  4. DVirtual memory
Show answerHide answer

Correct answer: (C) Staging area

Explanation

In ETL, the staging area is the intermediate storage where extracted data is cleaned and transformed before it is loaded into the data warehouse.

Q13From DSSSB TGT Computer Science Practice Set 3
Which of the following memory improves the speed of execution of a program?
  1. AVirtual memory
  2. BPrimary memory
  3. CSecondary memory
  4. DCache memory
Show answerHide answer

Correct answer: (D) Cache memory

Explanation

Cache memory is a small, very fast memory between the CPU and main memory. It holds frequently used data and instructions, so programs run faster.

Q14From DSSSB TGT Computer Science Practice Set 3
If the time quantum size is 2 units of an there is only one job of 14 time unit in a ready queue, the round-robin scheduling algorithm will cause ______ context switches.
  1. A8
  2. B5
  3. C6
  4. D7
Show answerHide answer

Correct answer: (C) 6

Explanation

A 14-unit job with a 2-unit quantum runs in 7 slices. A switch is counted between slices, giving 7 − 1 = 6 context switches.

Q15From DSSSB TGT Computer Science Practice Set 3
The problem of indefinite blockage of low-priority jobs in general priority scheduling algorithm can be solved using :
  1. ASwapping
  2. BDirty bit
  3. CAging
  4. DCompaction
Show answerHide answer

Correct answer: (C) Aging

Explanation

Aging gradually raises the priority of processes that have waited a long time. This prevents starvation (indefinite blocking) of low-priority jobs.

Q16From DSSSB TGT Computer Science Practice Set 3
The data blocks of a very large file in UNIX file system are allocated using
  1. Acontiguous allocation
  2. Blinked allocation
  3. Cindexed allocation
  4. Dan extension of indexed allocation
Show answerHide answer

Correct answer: (D) an extension of indexed allocation

Explanation

UNIX inodes use an extended indexed scheme: 12 direct block pointers plus single, double and triple indirect blocks. This lets very large files be addressed.

Q17From DSSSB TGT Computer Science Practice Set 3
Consider the memory reference string given below, for a memory with 3 frames per process. 7, 0, 1, 2, 0, 3, 0, 4, 2, 3 The number of page faults for FIFO page replacement policy are ______.
  1. ATen
  2. BSeven
  3. CNine
  4. DEight
Show answerHide answer

Correct answer: (C) Nine

Explanation

With FIFO and 3 frames: 7, 0, 1, 2 are faults (4 so far), 0 is a hit, then 3, 0, 4, 2, 3 are all faults. That gives 9 page faults.

Q18From DSSSB TGT Computer Science Practice Set 3
Consider three processes P₁, P₂, P₃, requiring 24, 3, 3 units of CPU time respectively. For time quantum of 4 units and Round - Robin scheduling policy, the average waiting time is ______.
  1. A5.66 units
  2. B17 units
  3. C10 units
  4. D15.66 units
Show answerHide answer

Correct answer: (A) 5.66 units

Explanation

With a quantum of 4: P1 runs 0–4, P2 runs 4–7, P3 runs 7–10, then P1 runs 10–30. Waiting times are P1 = 6, P2 = 4, P3 = 7. The average is 17/3 ≈ 5.66 units.

Q19From DSSSB TGT Computer Science Practice Set 2
Which of the following statements about disk scheduling algorithms is correct ?
  1. AThe disk arm behaves like an elevator in SCAN algorithm
  2. BFCFS provides fastest service to the disk requests
  3. CSSTF algorithm is an optimal algorithm
  4. DSCAN algorithm provides more uniform wait time compared to C - SCAN algorithm
Show answerHide answer

Correct answer: (A) The disk arm behaves like an elevator in SCAN algorithm

Explanation

In SCAN, the disk arm moves to one end, then reverses, serving requests along the way, like an elevator. C-SCAN, not SCAN, gives more uniform waiting time.

Q20From DSSSB TGT Computer Science Practice Set 2
Which of the following statements is incorrect?
  1. ACounting semaphore can be used to control access to finite number of instances of a resource
  2. BReader writers problem typically arises when several concurrent processes share the data base
  3. CBanker's algorithm prevents dead lock
  4. DA computer system is in a safe state only if there exists a safe sequence
Show answerHide answer

Correct answer: (C) Banker's algorithm prevents dead lock

Explanation

The banker's algorithm avoids deadlock (by checking for a safe state); it does not prevent it. Prevention means removing one of the four necessary conditions.

Q21From DSSSB TGT Computer Science Practice Set 2
Consider a set of n tasks with known runtimes r1, r2 ........ rn, to be run on a uniprocessor machine, Which of the following processor scheduling algorithm will result in the maximum throughput.
  1. APriority scheduling
  2. BRound-robin
  3. CFCFS
  4. DShortest job first
Show answerHide answer

Correct answer: (D) Shortest job first

Explanation

Shortest Job First runs the shortest tasks first, so the average waiting time is minimised and the most jobs are completed per unit time.

Q22From DSSSB TGT Computer Science Practice Set 2
The mechanism that brings a page into memory only when it is needed is called ______.
  1. APage replacement
  2. BSegmentation
  3. CFragmentation
  4. DDemand paging
Show answerHide answer

Correct answer: (D) Demand paging

Explanation

Demand paging loads a page into memory only when it is referenced, which triggers a page fault.

Q23From DSSSB TGT Computer Science Practice Set 1
The kernal keeps track of the state of each executing program by using a data structure called ______.
  1. AProcess control block
  2. BUser control block
  3. CFile control block
  4. DMemory control block
Show answerHide answer

Correct answer: (A) Process control block

Explanation

The OS stores each process's state, program counter, registers, scheduling and memory information in its Process Control Block (PCB), which it uses to save and restore the process during context switches.

Q24From DSSSB TGT Computer Science Practice Set 1
What is coalescing ?
  1. AIt is second strategy for allocating kernel memory.
  2. BThe buddy system allocates memory from a fixed size segment consisting of physically contiguous pages .
  3. CKernel memory is often allocated from a free-memory pool different from the list used to satisfy ordinary user made processes
  4. DAn advantage of the buddy system is how quickly adjacent buddies can be combined to form larger segments using this technique.
Show answerHide answer

Correct answer: (D) An advantage of the buddy system is how quickly adjacent buddies can be combined to form larger segments using this technique.

Explanation

In the buddy system, when a block is freed, it can be quickly merged with its free buddy to form a larger segment. This merging is called coalescing.

Q25From DSSSB TGT Computer Science Practice Set 1
Sorting is
  1. AA process of re-arranging a given set of objects in a specific order.
  2. BTo facilitate the later search for members of the sorted set.
  3. CIs a relevant and essential activity, particularly in data processing.
  4. DAll of these
Show answerHide answer

Correct answer: (A) A process of re-arranging a given set of objects in a specific order.

Explanation

Sorting is defined as re-arranging a given set of objects in a specific order (Wirth's definition). The other options describe why sorting is useful, not what sorting is.

Q26From DSSSB TGT Computer Science Practice Set 1
Which of the following techniques allows execution of programs larger than the size of physical memory ?
  1. AThrashing
  2. BDMA
  3. CBuffering
  4. DDemand paging
Show answerHide answer

Correct answer: (D) Demand paging

Explanation

Demand paging (virtual memory) loads pages only when they are needed, so a program larger than physical memory can still run. Thrashing is a performance problem, not a technique.

Q27From DSSSB TGT Computer Science Practice Set 1
An operating system contains 3 user processes each requiring 2 units of resource R. The minimum number of units of R such that no deadlock will ever occur is :
  1. A5
  2. B2
  3. C3
  4. D4
Show answerHide answer

Correct answer: (D) 4

Explanation

With n processes each needing k units, n(k−1) + 1 units guarantee no deadlock: 3 × (2−1) + 1 = 4.

Q28From DSSSB TGT Computer Science Practice Set 1
What is garbage collection in the context of Java?
  1. AThe Java Virtual Machine (JVM) checks the output of any Java program and deletes anything that does not make sense at all.
  2. BThe Operating System periodically deletes all of the Java files available on the system.
  3. CAny Java package imported in a program and not being used, is automatically deleted.
  4. DWhen all references to an object are gone, then the memory used by the object is automatically reclaimed.
Show answerHide answer

Correct answer: (D) When all references to an object are gone, then the memory used by the object is automatically reclaimed.

Explanation

Java's garbage collector automatically reclaims the memory of objects that are no longer referenced by any part of the program.

Q29DSSSB PGT Computer Science (Technical), 11 Jul 2021
Information about each process in operating system is maintained by ________.
  1. AScheduler
  2. BProcess control block
  3. CCentral Processing Unit
  4. DProgram Counter
Show answerHide answer

Correct answer: (B) Process control block

Explanation

The OS keeps each process's state, program counter, registers, scheduling and memory information in its Process Control Block (PCB).

Q30DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is Throughput in process scheduling?
  1. ATime required to complete a process
  2. BNumber of processes completed per unit time
  3. CTime required by a process to respond
  4. DTime required to abort a process
Show answerHide answer

Correct answer: (B) Number of processes completed per unit time

Explanation

Throughput is the number of processes completed per unit time. Turnaround time is the time to complete one process, and response time is the time to first response.

Q31DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is a function of an operating system? I. Memory allocation II. Resource utilization
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Memory allocation and managing resources for efficient utilization are both core functions of an operating system.

Q32DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which one of these is not a condition for Resource Deadlock?
  1. ANon-sharable resources
  2. BHold-and-wait
  3. CPreemption
  4. DCircular waits
Show answerHide answer

Correct answer: (C) Preemption

Explanation

The four Coffman conditions are mutual exclusion (non-sharable resources), hold and wait, NO preemption and circular wait. Preemption itself prevents deadlock, so it is not a condition.

Q33DSSSB PGT Computer Science (Technical), 11 Jul 2021
Match the following. A. Disk scheduling — i. Shortest Job First B. CPU scheduling — ii. Banker's Algorithm C. Page replacement — iii. Shortest Seek Time D. Deadlock — iv. Least Recently Used
  1. AA-iii, B-i, C-iv, D-ii
  2. BA-i, B-iv, C-ii, D-iii
  3. CA-iii, B-iv, C-i, D-ii
  4. DA-iv, B-i, C-ii, D-iii
Show answerHide answer

Correct answer: (A) A-iii, B-i, C-iv, D-ii

Explanation

Shortest Seek Time First is disk scheduling, Shortest Job First is CPU scheduling, Least Recently Used is page replacement, and the Banker's algorithm is deadlock avoidance.

Q34DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement is true about semaphore? I. It can be implemented using software II. It can be implemented using hardware
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Semaphores can be implemented in software (e.g., with OS/kernel code or algorithms like Peterson's) and with hardware support such as test-and-set or atomic instructions.

Q35DSSSB PGT Computer Science (Technical), 11 Jul 2021
Consider a main memory with 3 page frames in the following sequence of page reference 3, 4, 2, 3, 9, 1, 6, 3, 4, 9. What is the number of page fault using FIFO page replacement algorithm?
  1. A9
  2. B10
  3. C8
  4. D7
Show answerHide answer

Correct answer: (A) 9

Explanation

FIFO with 3 frames: faults on 3, 4, 2; 3 hits; then faults on 9 (out 3), 1 (out 4), 6 (out 2), 3 (out 9), 4 (out 1), 9 (out 6). Total = 9 faults.

Q36DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which one of the following is not a condition for process state transition from running state to wait state?
  1. AIf a process request an Input/Output operation
  2. BIf a higher priority process arrived
  3. CIf a lower priority process arrived
  4. DIf a process waits for some action performed by another process
Show answerHide answer

Correct answer: (C) If a lower priority process arrived

Explanation

A process goes from running to waiting only when it waits for I/O or for an event. A lower-priority arrival never affects the running process (a higher-priority arrival may preempt it to ready).

Q37DSSSB PGT Computer Science (Technical), 11 Jul 2021
Match the following window of visual basic with their function. A. Immediate window — i. It Display the properties for the current object B. Properties window — ii. It design the form C. Project explorer windows — iii. It list the forms and modules for the current projects D. Design window — iv. It give current values of variables
  1. AA-iv, B-i, C-iii, D-ii
  2. BA-ii, B-i, C-iii, D-iv
  3. CA-i, B-iii, C-ii, D-iv
  4. DA-iv, B-iii, C-ii, D-i
Show answerHide answer

Correct answer: (A) A-iv, B-i, C-iii, D-ii

Explanation

The Immediate window shows/evaluates current variable values, the Properties window shows the selected object's properties, Project Explorer lists forms and modules, and the Design window is where the form is designed.

Q38DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is the correct sequence in Pattern Recognition process?
  1. AData Acquisition, Feature Extraction, Matching, Classification
  2. BFeature Extraction, Data Acquisition, Matching, Classification
  3. CData Acquisition, Feature Extraction, Classification, Matching
  4. DMatching, Data Acquisition, Feature Extraction, Classification
Show answerHide answer

Correct answer: (A) Data Acquisition, Feature Extraction, Matching, Classification

Explanation

Pattern recognition first acquires data, then extracts features, then matches them against stored patterns, and finally classifies.

Q39DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is Customer Relationship Management?
  1. ACustomer relationship management includes the methodologies, technology and capabilities that help an enterprise to manage customer relationships
  2. BCustomer relationship management is a corporate level strategy which focuses on creating new customers
  3. CCustomer relationship management is the process of planning, implementation and controlling the operations of the supply chain
  4. DCustomer relationship management is the process of daily production and distribution
Show answerHide answer

Correct answer: (A) Customer relationship management includes the methodologies, technology and capabilities that help an enterprise to manage customer relationships

Explanation

CRM covers the methods, technology and capabilities a business uses to manage and analyse its interactions with customers.

Q40DSSSB PGT Computer Science (Technical), 11 Jul 2021
________ is an imitation of the dynamics of a real world process or system over time.
  1. ADesigning
  2. BCryptography
  3. CSimulation
  4. DCopying
Show answerHide answer

Correct answer: (C) Simulation

Explanation

Simulation imitates how a real-world process or system behaves over time, using a model.

Q41DSSSB PGT Computer Science (Technical), 11 Jul 2021
The process which digitized amplitude value of the image during digital conversion of an image is known as ________.
  1. ASampling
  2. BQuantization
  3. CFiltering
  4. DExtraction
Show answerHide answer

Correct answer: (B) Quantization

Explanation

Digitizing the coordinates is sampling, and digitizing the amplitude values is quantization.

Q42DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following can help a teacher to make teaching-learning process participatory in social science? I. By arranging debate, discussions on emerging social issues for example: dowry, population growth etc. II. By teaching students that how to cooperate with each other.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Debates and discussions on social issues, and teaching students to cooperate, both make social science learning participatory.

Q43DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
The memory resident components of an operating system are commonly known as the ________ of the operating system.
  1. ABlocks
  2. BKernel
  3. CPartition
  4. DSegments
Show answerHide answer

Correct answer: (B) Kernel

Explanation

The kernel is the core of the OS. It stays resident in main memory and manages the CPU, memory and devices. Other OS parts can be loaded only when needed.

Q44DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Process of recovering the design and the requirement specification of a product an analysis of its code is called as
  1. ASoftware analysis
  2. BSoftware engineering
  3. CSoftware reverse engineering
  4. Dsoftware return engineering
Show answerHide answer

Correct answer: (C) Software reverse engineering

Explanation

Reverse engineering analyses existing code to recover its design and requirements specification. It is often used when maintaining legacy software.

Q45DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following are monolithic kernel Systems? I. Linux II. Windows
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Linux is a classic monolithic kernel. The Windows NT kernel also runs most OS services in kernel mode and is usually described as hybrid, but the exam treats both as monolithic.

Q46DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are true regarding processes and threads in operating system? I. Threads encapsulates concurrency within a process. II. Process encapsulates protection within the system.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Threads give concurrency inside a single process. A process gives protection: each process has its own address space and resources. Both statements are true.

Q47DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are true regarding threads in operating system? I. The threads in a process are visible to other processes. II. A thread is strictly private resource of a process.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (B) Only II

Explanation

A thread belongs to its process and shares only that process's resources, so it is private to the process. Threads of one process are not visible to other processes, so statement I is false.

Q48DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is not a state of a process in operating system?
  1. AWaiting
  2. BExcite
  3. CRunning
  4. DReady
Show answerHide answer

Correct answer: (B) Excite

Explanation

The standard process states are new, ready, running, waiting (blocked) and terminated. "Excite" is not a process state.

Q49DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is not a CPU scheduling Algorithm?
  1. AFCFS
  2. BC-SCAN
  3. CSJF
  4. DSJN
Show answerHide answer

Correct answer: (B) C-SCAN

Explanation

C-SCAN is a disk scheduling algorithm. FCFS, SJF and SJN (shortest job next) are CPU scheduling algorithms.

Q50DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are true about CPU scheduling algorithm? I. Shortest remaining time first scheduling may cause starvation. II. Round Robin is better than First Come First Serve in terms of response time.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

SRTF keeps choosing short jobs, so long jobs can starve. Round Robin gives every process a time slice quickly, so its response time is better than FCFS. Both statements are true.

How to use these DSSSB TGT / PGT Computer Science questions

Every question here was asked in a real DSSSB TGT / PGT paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full DSSSB TGT / PGT papers as timed tests to check your speed under exam conditions.

More DSSSB TGT / PGT subjects