Operating Systems Previous Year Questions (page 3)
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.
If a process arrives at time 5, what is the latest possible time for it to start execution if there
are no other processes in the system?
ATime 6
BTime 0
CTime 5
DTime 4
Show answerHide answer
Correct answer: (C) Time 5
Explanation
With no other process competing, the CPU is idle and the process is dispatched as soon as it arrives, at time 5. It cannot start before it arrives (time 0 or 4).
In which scheduling algorithm does the disk head move in one direction, satisfying all
requests until it reaches the end, and then reverses direction?
ASCAN
BSSTF
CLOOK
DFCFS
Show answerHide answer
Correct answer: (A) SCAN
Explanation
SCAN (elevator algorithm) moves the head in one direction serving requests all the way to the end of the disk, then reverses. LOOK reverses at the last request instead of the disk end.
ATo extend the physical memory using secondary storage
BTo provide cache storage
CTo store BIOS settings
DTo increase CPU speed
Show answerHide answer
Correct answer: (A) To extend the physical memory using secondary storage
Explanation
Virtual memory uses part of secondary storage (disk) as an extension of RAM, so programs larger than physical memory can run, with pages swapped in and out as needed.
Which of the following identifies, controls, audits and reports modifications that invariably occur while software is being developed and after it has been released to a customer?
Which of the following process models are the oldest software engineering paradigms and suggest a linear process flow that is often inconsistent with modern realities?
AIncremental Process Models
BSequential Process Models
CEvolutionary Process Models
DConcurrent Process Models
Show answerHide answer
Correct answer: (B) Sequential Process Models
Explanation
Sequential models such as the waterfall model are the oldest paradigms. They follow a linear flow, which often does not match changing real-world requirements.
Any process in the transport layer wishing to remotely retrieve mail from a host can connect to the destination host's to contact its IMAP daemon. port
A443
B80
C143
D20
Show answerHide answer
Correct answer: (C) 143
Explanation
IMAP servers listen on TCP port 143. Port 443 is HTTPS, 80 is HTTP and 20 is FTP data.
Suppose we are given values of y = f(x) for a set of values of x, the process of finding the value of y corresponding to any value of x = xᵢ between x₀ and xₙ is called ______.
Abias
Bvariance
Chypothesis
Dinterpolation
Show answerHide answer
Correct answer: (D) interpolation
Explanation
Interpolation is estimating y = f(x) for an x that lies between the given values x₀ and xₙ. Estimating outside this range is extrapolation.
______ is a set of interrelated components that collect (or retrieve), process, store and distribute information to support decision-making and control in an organisation.
AAn information technology
BMini model of a processed system
CMax model of a processed system
DAn information system
Show answerHide answer
Correct answer: (D) An information system
Explanation
An information system is a set of interrelated components (people, hardware, software, data, procedures) that collect, process, store and distribute information to support decision-making and control.
Which of the following services is NOT provided by the operating system?
AResource management
BInter process for communication
CTranslate source into machine code
DProgram execution
Show answerHide answer
Correct answer: (C) Translate source into machine code
Explanation
Translating source code into machine code is the job of a compiler or interpreter. The OS provides program execution, resource management and inter-process communication.
APOST is the process performed by BIOS immediately after the system is shutdown.
BThe bootstrap program is stored in RAM.
CCMOS chip is powered by the battery located in the mother board.
DBIOS was developed by Charles Babbage.
Show answerHide answer
Correct answer: (C) CMOS chip is powered by the battery located in the mother board.
Explanation
The CMOS memory that stores BIOS settings is kept powered by a small coin-cell battery on the motherboard. POST runs at power-on (not shutdown), and bootstrap code is in ROM.
Which of the following opens the linked document in the windows full body among the target values?
A_self
B_top
C_blank
D_parent
Show answerHide answer
Correct answer: (B) _top
Explanation
target="_top" opens the link in the full body of the window and breaks out of all frames. _blank opens a new window, and _parent opens it in the parent frame.
Which of the following is NOT a phase of the RAD model?
ADevelopment modelling
BBusiness modelling
CProcess modelling
DData modelling
Show answerHide answer
Correct answer: (A) Development modelling
Explanation
The RAD model's phases are business modelling, data modelling, process modelling, application generation, and testing and turnover. "Development modelling" is not one of them.
______ is the process of visiting different web sites on the internet hosted by various companies, organisations, educational institutions, magazines, individuals, etc.
AWebbing
BSearching
CChatting
DWeb surfing
Show answerHide answer
Correct answer: (D) Web surfing
Explanation
Web surfing (browsing) is moving from one website to another on the internet.
Which of the following is the execution engine for .NET applications and servers as the interface between .NET applications and the operating system.
AFramework Class Library (FCL)
BCommon Type System (CTS)
CCommon Language Specifications (CLS)
DCommon Language Runtime (CLR)
Show answerHide answer
Correct answer: (D) Common Language Runtime (CLR)
Explanation
The CLR is the .NET run-time engine. It handles JIT compilation, memory management (garbage collection) and security between the application and the OS.
Which of the following command is used in the communication system call of an
operating system?
ARequest device, release device
BAttach or detach remote devices
CAllocate and free memory
DRead, write, reposition
Show answerHide answer
Correct answer: (B) Attach or detach remote devices
Explanation
Communication system calls include creating/deleting connections, sending/receiving messages and attaching or detaching remote devices. Request/release device is device management, allocate/free memory is process control, read/write/reposition is file management.
Which of the following statement is correct for a ‘Volume Control block’ in File-
System Implementation?
AIt is used to organize the files
BIt has a unique identifier number to allow association with a directory entry
CIt contains the number of block in the partition
DIt can contain information needed by the system to boot an operating system from that volume
Show answerHide answer
Correct answer: (C) It contains the number of block in the partition
Explanation
The volume control block (superblock) holds volume details such as the number of blocks in the partition, block size and free-block count. Boot information is in the boot control block; the unique identifier is in the FCB.
Over half of the e-waste generated in the developed world are exported to
developing countries, mainly to ______, where metals like copper, iron, silicon, nickel
and gold are recovered during recycling process.
AAfghanistan
BKazakistan
CUAE
DIndia
Show answerHide answer
Correct answer: (D) India
Explanation
Much e-waste from developed countries is shipped to developing countries such as India, where metals like copper, iron, silicon, nickel and gold are recovered in recycling.
Which of the following page replacement algorithms(s) does not suffer from Belady’s
anomaly in Operating System?
I. Least-Recently Used (LRU) page replacement.
II. First-In, First-Out (FIFO) page replacement.
AOnly I
BNeither I nor II
COnly II
DBoth I and II
Show answerHide answer
Correct answer: (A) Only I
Explanation
LRU is a stack algorithm and never suffers from Belady's anomaly. FIFO can give more page faults with more frames, so it does suffer from it.
______ has been developed to incorporate all the character of every written language
of the world. It provides a unique number for every character, irrespective of device
[server, desktop, mob], OS [linux, win] or software application
AUNICODE
BBinary Code
CISCII
DASCII
Show answerHide answer
Correct answer: (A) UNICODE
Explanation
Unicode assigns a unique number (code point) to every character of every written language, regardless of platform, device or program.
New: the process is being created (3). Running: instructions are being executed (2). Ready: waiting to be assigned to a processor (1). So I-3, II-2, III-1.
Which of the following system call include ‘wait for time’ operation command in
Operating System?
AProcess Control
BDevice Management
CFile Management
DCommunications
Show answerHide answer
Correct answer: (A) Process Control
Explanation
Process control system calls include end/abort, load/execute, create/terminate process, get/set attributes, wait for time, wait/signal event and allocate/free memory.
Which of the following departmentalisations might be considered necessary in a business when the items are divided into various categories with vastly varied manufacturing processes for each categ01Y?
AProduction
BProcess
CMatrix
DCustomer
Show answerHide answer
Correct answer: (B) Process
Explanation
Process departmentalisation groups work by the manufacturing process. It suits products whose production steps differ widely.
Which of the following shell symbols matches a class of characters in filenames in a Linux shell command?
A;
B?
C[]
D*
Show answerHide answer
Correct answer: (C) []
Explanation
Square brackets [ ] match any one character from a set or range, such as [abc] or [0-9]. * matches any string, ? matches any one character and ; separates commands.
Which of the following refers to the economic development achieved essentially through the sustained use and creation of knowledge at the centre of the process?
ATraditional economy
BKnowledge economy
CKnowledge business
DInstitutional economy
Show answerHide answer
Correct answer: (B) Knowledge economy
Explanation
A knowledge economy is one whose growth is driven mainly by creating, spreading and using knowledge.
The architecture of ______ file system is based on Andrew File System.
ACODA
BNone of the given options
CFicus
DROVER
Show answerHide answer
Correct answer: (A) CODA
Explanation
Coda, developed at Carnegie Mellon, is a distributed file system descended from the Andrew File System (AFS). It adds support for disconnected operation.
Which of the given options best describes the truthfulness of the following statements?
i) In the scope of business economics, demand analysis and forecasting is the process of finding values for demand in the future period.
ii) In the scope of business economics, inventory management mentions the stock of raw materials that a firm keeps. If the level of inventory is high, then it will show blockage of funds.
iii) In the scope of business economics, price is the origin of a company's profit. So, its success depends on how the pricing decisions are made.
Ai-True, ii-True, in-True
Bi-True, ii-False, in-True
Ci-False, ii-False, in-True
Di-False, ii-True, in-True
Show answerHide answer
Correct answer: (A) i-True, ii-True, in-True
Explanation
All three are correct points from the scope of business economics: demand forecasting predicts future demand, high inventory ties up funds, and pricing decisions decide profit.
AA type of memory that provides a secure storage area for data that is larger than the physical memory of a computer
BA type of memory that provides a storage area for data that is the same size as the physical memory of a computer
CA type of memory that provides a temporarily storage area for data that is larger than the physical memory of a computer
DA type of memory that provides a permanent storage area for data that is larger than the physical memory of a computer
Show answerHide answer
Correct answer: (C) A type of memory that provides a temporarily storage area for data that is larger than the physical memory of a computer
Explanation
Virtual memory uses disk space as a temporary extension of RAM. This lets programs larger than physical memory run, with pages swapped in and out as needed.
An operating system completely releases the memory allocated to a process after the process transitions from which of the following states?
ASleeping to ready
BReady to running
CRunning to terminated
DRunning to sleeping
Show answerHide answer
Correct answer: (C) Running to terminated
Explanation
Only when a process moves from running to terminated (exit) does the OS reclaim all of its memory. In sleeping or ready states the process still exists and keeps its address space.
Ext4 (fourth extended file system) has been the default file system in most Linux distributions since about 2008. It replaced Ext3 and supports larger files and volumes and journaling.
Which type of computer program acts as a bridge between a computer user and the computer hardware?
ARandom Access Memory
BUser thread
COperating system
DKernel
Show answerHide answer
Correct answer: (C) Operating system
Explanation
The operating system is the program that acts as an interface between the user and the hardware, managing resources such as the CPU, memory and devices. The kernel is only its core part.
Identify the command that is used to delete files in Linux.
Arm
BRmdir
CDelete
DRdir
Show answerHide answer
Correct answer: (A) rm
Explanation
In Linux, the rm command deletes files (rm file.txt). rmdir removes only empty directories, and 'delete' and 'rdir' are not standard Linux commands.
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.