Operating Systems Previous Year Questions (page 2)
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.
Q51DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are correct?
I. After completion of teaching a topic, we always desire to known the extent of acquisition of knowledge and understanding of the topic and compare the achievement of each individual against the desired level of achievement. This process is called assessment of learning.
II. Mr. Rohan was assessing the performance of students while teaching-learning process was going on. He used the results of assessment for improvement of learning and his own teaching process. This process is called Assessment for learning.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Statement I describes assessment of learning (summative), which measures achievement after teaching. Statement II describes assessment for learning (formative), which uses results during teaching to improve learning. Both are correct.
Q52DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
Which of the following is a type of Real time operating system?
I. Hard real time system
II. Soft real time system
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Real-time operating systems are either hard (deadlines must always be met) or soft (occasional misses are tolerated). Both are types.
Q53DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
Which of the following is a feature of depreciation?
I. It is decline in the book value of fixed assets
II. It is a continuing process
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Depreciation is the decline in the book value of fixed assets, and it continues throughout the asset's useful life. Both are features.
Q54DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
Assume that the following jobs are to be executed on a single processor system. All jobs have arrived at 0 msec.
Job Id | CPU
a | 4
b | 1
c | 7
d | 2
If scheduling is round robin with time slice 1 msec, then what is the completion time for job 'a'?
A4
B10
C7
D11
Show answerHide answer
Correct answer: (B) 10
Explanation
With RR (q = 1), the order is a, b, c, d, a, c, d, a, c, a. b ends at 2 and d at 7, and a's fourth slice ends at time 10.
Q55DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
In a production process if all inputs get tripled, then which of the following statements will follow?
I. If output in tripled, then decreasing returns to scale holds.
II. If output gets doubled, then constant returns to scale holds.
III. If output is more than tripled, then increasing returns to scale holds.
AOnly II
BOnly III
CI and II
DI and III
Show answerHide answer
Correct answer: (B) Only III
Explanation
Tripled inputs giving tripled output is constant returns (I wrong), doubled output is decreasing returns (II wrong), and more than tripled output is increasing returns (III correct).
Q56DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
The process of compiling Intermediate Language programs to the actual machine language on the target platform prior to execution is known as ________.
I. Just-In-Time compiling
II. First-In-Time compiling
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (A) Only I
Explanation
Compiling Intermediate Language to native machine code just before it runs is Just-In-Time (JIT) compilation. First-In-Time compiling does not exist.
Q57DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
What does '/etc' directory contain in Linux operating system?
AHome directories of the common user
BSystem configuration file
CMiscellaneous data
DCommon program shared by the system and the system administrator
Show answerHide answer
Correct answer: (B) System configuration file
Explanation
/etc holds system-wide configuration files (e.g. /etc/passwd, /etc/fstab). Home directories are in /home.
Q58DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
Flowchart given in below figure represents which programming construct?
(Figure: a diamond-shaped decision box with a "Y" branch leading to one process box and an "N" branch leading to another process box.)
ASequence structure
BDecision structure
CLoop structure
DCase structure
Show answerHide answer
Correct answer: (B) Decision structure
Explanation
A diamond with Yes and No branches leading to different actions is the decision (selection, if-else) structure.
Q59DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
Through the process of standardization which of the following properties of achievement tests is/are ensured?
I. The test items used are purposefully designed to measure a clearly defined achievement domain
II. A standardized procedure of administering, scoring and interpreting the results of the test are followed
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Standardization ensures that the items are designed to measure a clearly defined domain, and that administering, scoring and interpreting follow a uniform procedure. Both are ensured.
Q60DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
Which of the following is/are the objective(s) of formal and non-formal education?
I. Aim at improving the quality and raising the living standards of life.
II. Contribute to the process of empowering girls through inculcating the values, attitudes and other life skills.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Formal and non-formal education aim to improve the quality of life and living standards, and to empower girls through values, attitudes and life skills. Both are objectives.
Q61DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 2
A computer system has 7 tape drives. There 'n' processes competing for them. Each process may need 2 tape drives. What is the maximum value of 'n' for which the system is guaranteed to be deadlock free?
A2
B3
C4
D1
Show answerHide answer
Correct answer: (B) 3
Explanation
The key fits a need of 3 drives per process: deadlock is impossible if n(3 − 1) + 1 ≤ 7, so n = 3. (If each needed only 2 drives as written, up to 6 processes would be safe.)
Q62DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 2
________ is a symbol used to represent special files in Linux OS.
Ad
Be
Cc
Ds
Show answerHide answer
Correct answer: (C) c
Explanation
In a Linux ls -l listing, 'c' marks a character special (device) file. 'b' marks block special files and 'd' marks directories.
Q63DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 2
When we gather new experiences while assessing our own performance or performance of others, then the processes of learning and assessment lose the line of demarcation between them. In such instances assessment becomes a ________ process.
ALearning
BReading
CSpeaking
DTeaching
Show answerHide answer
Correct answer: (A) Learning
Explanation
When students learn while judging their own or others' work, assessment itself becomes a learning process (assessment as learning).
Q64DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following is/are correct regarding accounting process?
I. A provision is a charge against profit
II. Reserve is an approbation of profit
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
A provision is a charge against profit made for a known liability or loss, while a reserve is an appropriation of profit kept aside for future needs. Both statements are correct.
Q65DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
If a memory partition of size 80k is allocated to a process of size 60k then the 20k of the partition is wasted and cannot be allocated to any process. It is called ________.
AExternal fragmentation
BBest fit
CWorst fit
DInternal fragmentation
Show answerHide answer
Correct answer: (D) Internal fragmentation
Explanation
The unused 20K lies inside the partition already given to the process, so it is internal fragmentation.
Q66DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
If two non-continuous free partition of size 'a' and 'b' are available. A process of size 'c' cannot be allocated even when a + b > c, a < c and b < c. This problem is known as ________.
AExternal fragmentation
BInternal fragmentation
CQuick fit
DWorst fit
Show answerHide answer
Correct answer: (A) External fragmentation
Explanation
Total free memory (a + b) is enough, but it is not contiguous, so the process cannot be loaded. This is external fragmentation, which compaction can fix.
Q67DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
The rate at which page fault occurs is known as ________.
ASwapping
BPaging
CThrashing
DCompaction
Show answerHide answer
Correct answer: (C) Thrashing
Explanation
Thrashing is the state in which the page fault rate is so high that the system spends most of its time swapping pages instead of executing; the key links the term to a high page-fault rate.
Q68DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
________ is a process of lifting the process from memory and placing it on disk.
APaging
BSwapping out
CSwapping in
DThrashing
Show answerHide answer
Correct answer: (B) Swapping out
Explanation
Swapping out moves a process from main memory to disk (backing store). Swapping in brings it back into memory.
Q69DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Consider a main memory with the capacity of 4 page frames which are initially empty. If the page reference string is 1, 3, 4, 4, 3, 2, 1, 7, 5, 6 then what is the number of page fault using FIFO page replacement algorithm?
Q70DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following is not a operating system for mobile computing?
AWindows Mobile
BPalm OS
CSymbian Os
DManet Os
Show answerHide answer
Correct answer: (D) Manet Os
Explanation
Windows Mobile, Palm OS and Symbian are mobile operating systems. MANET (Mobile Ad hoc Network) is a type of wireless network, not an OS.
Q71DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
________ is the process of identifying, organizing, storing and disseminating information within an organization.
AKnowledge management
BHuman resourced management
CFinancial management
DManagement information system
Show answerHide answer
Correct answer: (A) Knowledge management
Explanation
Knowledge management is the process of identifying, capturing, organising, storing and sharing knowledge within an organisation.
Q72DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
________ is the key process of teacher centered approach.
I. Memorizing
II. Recalling From memory
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
In a teacher-centred approach students mainly memorise what is taught and recall it from memory in tests, so both are key processes.
Q73DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following is/are the indicator(s) of empowered women?
I. Participation in social change
II. Participation in developmental process
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Empowered women take part in social change and in the development process, so both are indicators of women's empowerment.
Q74DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
Which of the following are the functions performed by operating system?
I. Process Management
II. Memory Management
III. Security
AI and II
BII and III
CI and III
DI, II, and III
Show answerHide answer
Correct answer: (D) I, II, and III
Explanation
An operating system manages processes (creation, scheduling), memory (allocation, paging) and security/protection of resources, so all three are OS functions.
Q75DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
Which of the following statement(s) is/are true about pre-processor in C/C++?
I. To replace each # include directive with the contents of the designated file.
II. To replace each escape sequence with designated character.
III. To process macro definitions and expand macro calls.
AI and II
BII and III
COnly I
DI, II and III
Show answerHide answer
Correct answer: (D) I, II and III
Explanation
The preprocessor stage replaces #include lines with the file contents and expands macros; the key also counts handling of escape sequences in this preprocessing step, so all three are taken as correct.
Q76DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
Shortcut key used to open Google chrome developer tools in windows is ________.
ACtrl + I
BCtrl + Shift + I
CShift + I
DCtrl + Alt + I
Show answerHide answer
Correct answer: (B) Ctrl + Shift + I
Explanation
In Chrome on Windows, Ctrl + Shift + I (or F12) opens Developer Tools.
Q77DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
The process in an operating system in which the output of any program is not printed directly on printer but dumped onto a reserved area of a disk is known as ________.
ASystem call
BTear down operation
CSpooling
DSwapping
Show answerHide answer
Correct answer: (C) Spooling
Explanation
Spooling (Simultaneous Peripheral Operations On-Line) stores output on disk and sends it to the slow printer later, so the CPU need not wait for the printer.
Q78DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
Consider a main memory with the capacity of 3 page frames which are initially empty. Page reference is 4, 7, 6, 1, 7, 6, 1, 2, 7, 2. What is the number of page fault using optimal page replacement algorithm?
A7
B6
C5
D4
Show answerHide answer
Correct answer: (C) 5
Explanation
Faults for 4, 7, 6 (3). Page 1: evict 4 (never used again), fault 4. 7, 6, 1 hit. Page 2: evict 6 or 1 (never used again), fault 5. 7 and 2 hit. Total 5 page faults.
Q79DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
Inner most layer of operating system which is always present in main memory is known as ________.
AHardware
BUser interface
CApplication program
DKernel
Show answerHide answer
Correct answer: (D) Kernel
Explanation
The kernel is the core of the OS that stays resident in main memory and directly manages CPU, memory and devices.
Q80DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
The instruction which are executed only in kernel mode is known as ________.
AMemory instruction
BArithmetic instruction
CPrivileged instruction
DLogical instruction
Show answerHide answer
Correct answer: (C) Privileged instruction
Explanation
Privileged instructions (I/O, changing the timer, disabling interrupts, etc.) can run only in kernel mode; attempting them in user mode causes a trap.
Q81DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
________ is a system to make a file or directory visible in multiple parts of the system's file tree in Linux operator system.
ADirectories
BSpecial files
CLinks
DSockets
Show answerHide answer
Correct answer: (C) Links
Explanation
Links (hard links and symbolic links) let the same file or directory appear at multiple places in the Linux directory tree.
Q82DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
Which of the following factors is taken into account when we develop a knowledge management system (KMS)?
AIt requires a knowledge contract
BIt is a cheap management system
CIt is a definite process
DIt has no human implications
Show answerHide answer
Correct answer: (A) It requires a knowledge contract
Explanation
The key treats a knowledge contract (agreement on who contributes, owns and shares knowledge) as a factor in building a KMS. The other options are false: a KMS is costly, evolving, and has strong human implications.
Which of the following is NOT a benefit of using threads in an operating system?
AImproved application responsiveness
BIncreased system resource utilisation
CSimplified programming model
DFaster execution of tasks in single-core processors
Show answerHide answer
Correct answer: (D) Faster execution of tasks in single-core processors
Explanation
On a single-core CPU, threads only take turns (concurrency), so they do not make tasks run faster in parallel. They do improve responsiveness and resource use.
In FCFS scheduling, the average waiting time is affected most by:
Aprocess priority
Bpreemption
Cthe arrival order of processes
DCPU clock speed
Show answerHide answer
Correct answer: (C) the arrival order of processes
Explanation
FCFS runs processes strictly in arrival order, so if a long process arrives first, every later process waits behind it (the convoy effect). The order of arrival therefore decides the average waiting time.
What is the role of the 'resource-allocation graph' in deadlock avoidance?
AScheduling I/O operations
BDetecting existing deadlocks
CRepresenting the state of system resources and processes
DTracking CPU usage
Show answerHide answer
Correct answer: (C) Representing the state of system resources and processes
Explanation
A resource-allocation graph shows processes, resources, and request and assignment edges. Using it (with claim edges), the system can check whether granting a request could create a cycle, and so avoid deadlock.
Process of Bank Reconciliation involves which of the following?
i. Identify the entries which are in the bank statement and do require changes in the cash
book.
ii. List out entries in the cash book not reflected in the bank statement to arrive at the
adjusted Bank Balance.
iii. Find out clerical mistakes, if any committed in the cash book.
AOnly (i) and (iii)
BOnly (ii) and (iii)
COnly (i) and (ii)
DAll (i), (ii) and (iii)
Show answerHide answer
Correct answer: (D) All (i), (ii) and (iii)
Explanation
In bank reconciliation you find bank-statement items that need entries in the cash book, list cash-book entries not yet in the bank statement, and correct clerical errors. All three steps are part of the process.
Which synchronisation tool helps implement bounded waiting?
AInterrupts
BPaging
CContext switching
DSemaphores
Show answerHide answer
Correct answer: (D) Semaphores
Explanation
Semaphores (with a fair, e.g. FIFO, waiting queue) let processes wait in order to enter the critical section, so no process waits indefinitely. Interrupts, paging and context switching are not synchronisation tools.
Which of the following is true about FCFS disk scheduling?
AIt provides the best throughput compared to other algorithms.
BIt ensures the shortest seek time first.
CIt causes minimal delay for all processes.
DIt serves requests in the order they are received.
Show answerHide answer
Correct answer: (D) It serves requests in the order they are received.
Explanation
FCFS (first come, first served) serves disk requests strictly in arrival order. It is fair and simple, but it does not minimise seek time or give the best throughput.
Which of the following conditions must be satisfied to solve the critical section
problem?
ASemaphore, mutex, and locks
BMutual exclusion, progress, and bounded waiting
CPriority inversion, deadlock, and throughput
DStarvation, fairness, and scheduling
Show answerHide answer
Correct answer: (B) Mutual exclusion, progress, and bounded waiting
Explanation
A correct solution to the critical-section problem must satisfy mutual exclusion, progress and bounded waiting. Semaphores, mutexes and locks are tools for achieving this, not the conditions.
Which type of applications are commonly developed using Object-Oriented
Programming?
AOperating system kernals
BMachine-level programs
CMobile applications
DAssembly-level programs
Show answerHide answer
Correct answer: (C) Mobile applications
Explanation
Mobile apps (Android in Java/Kotlin, iOS in Swift) and other large application software are commonly built with OOP. OS kernels and machine- or assembly-level programs are usually written in procedural C or assembly.
The process of acquiring knowledge through observation and experiences is called
_________.
Aempiricism
Btenacity
Cauthority
Drevelation
Show answerHide answer
Correct answer: (A) empiricism
Explanation
Empiricism holds that knowledge comes from sensory experience and observation (Locke, Hume). Tenacity, authority and revelation rely on habit, experts or divine sources.
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.