DSSSB TGT / PGT · Topic-wise previous year questions
Computer Science Previous Year Questions (page 44)
2444 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.
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.
The advantage of SSTF (Shoffest Seek Time First) is:
Ahigh variance of response time as SSTF favours only some requests
Boverhead to calculate seek time in advance
Caverage response time decreases
Dthroughput decreases
Show answerHide answer
Correct answer: (C) average response time decreases
Explanation
SSTF serves the request nearest to the current head position, which cuts total head movement and lowers average response time. A and B are its drawbacks.
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.
What are the solutions for the following sum of a subset problem?
w[1:5]={2,7,8,9,15}; Sum required = 17
1 means the item is included.
0 means the item is excluded.
A11100; 10101; 00110
B11100; 10001; 00110
C11000; 10001; 00110
D11100; 10101; 00111
Show answerHide answer
Correct answer: (B) 11100; 10001; 00110
Explanation
The subsets summing to 17 are 2 + 7 + 8 (11100), 2 + 15 (10001) and 8 + 9 (00110).
Which of the following systems comprises word processing, electronic filing, electronic mail, message switching, data storage and data and voice communication?
AExecutive Support Systems
BOffice Automation Systems
CCustomer Relationship Management
DDecision Support Systems
Show answerHide answer
Correct answer: (B) Office Automation Systems
Explanation
Office Automation Systems support office work: word processing, e-filing, e-mail, message switching, data storage, and data and voice communication.
Data privacy is the trade-off between data collected and product performance (2); K-anonymity measures how many users share an attribute (1); L-diversity extends this across several sensitive attributes (3). So I-2, II-1, III-3.
What is the advantage of exploratory Data Analysis in Big Data and Analytics?
ALess realistic statements of accuracy
BFlexible ways to generate hypotheses
CUsually does not provide definitive answers
DMore realistic statements of accuracy
Show answerHide answer
Correct answer: (B) Flexible ways to generate hypotheses
Explanation
Exploratory Data Analysis explores data without fixed assumptions, so it offers flexible ways to generate hypotheses. Not giving definitive answers and less realistic accuracy statements are its drawbacks, not advantages.
Which of the following type of function used with strings in the Python language
returns the character with the highest ASCII value?
Alen ( )
Bhvalue ( )
Cmax ( )
Dlong ( )
Show answerHide answer
Correct answer: (C) max ( )
Explanation
max() on a string returns the character with the highest ASCII/Unicode value, e.g. max("apple") gives "p". len() gives length; hvalue() and long() are not string functions.
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.
In AI biases many AI models are ______.
I. deepfakes
II. Black boxes
III. K-anonymity
AOnly II
BOnly I
CI, II and III
DOnly I and III
Show answerHide answer
Correct answer: (A) Only II
Explanation
Many AI models are called "black boxes" because their internal decision-making cannot be easily seen or explained, which hides bias. Deepfakes are fake media and K-anonymity is a privacy measure.
Which of the following is an input device which can detect the presence or absence of
a pencil or pen mark on a paper?
AOptical Mark Reader (OMR)
BLight pen
CDigitizer
DOptical Character Recognizer (OCR)
Show answerHide answer
Correct answer: (A) Optical Mark Reader (OMR)
Explanation
An Optical Mark Reader senses the presence or absence of pen/pencil marks at fixed positions, as in OMR answer sheets. OCR reads printed characters instead.
Which of the following statement is correct for DATEDIFF function in SQL?
I. This function reports difference between the arguments ‘startdate’ and ‘enddate’.
II. In this, ‘datepart’ argument/value can be specified in a variable.
AOnly I
BNeither I nor II
CBoth I and II
DOnly II
Show answerHide answer
Correct answer: (A) Only I
Explanation
DATEDIFF returns the difference between startdate and enddate in the given datepart, so I is correct. The datepart cannot be supplied through a user-defined variable or quoted string, so II is wrong.
Narrow AI (ANI) seems intelligent but has no awareness (2); General AI (AGI) acts and thinks like a conscious, smart human (3); Super Intelligence is smarter than humans (1). So I-2, II-3, III-1.
Which of the following notation of ERD (Entity – Relationship Diagram) shows the
‘Weak Entity’?
A
B
C
D
Show answerHide answer
Correct answer: (C)
Explanation
A weak entity is drawn as a double rectangle (option C). A single rectangle is a strong entity, a diamond a relationship, and a double diamond an identifying relationship.
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.
In Python language, which of following mode for opening the file, opens the file for
both reading and writing and file pointer will be placed at the start of the file?
Aab
Brb
Cr⁺
Da⁺
Show answerHide answer
Correct answer: (C) r⁺
Explanation
"r+" opens a file for reading and writing with the file pointer at the beginning. "a+" places it at the end; "rb" is read-only and "ab" append-only.
Which of the following is characteristic of a RISC (Reduced Instruction Set Computer)
processor?
AMicroprogrammed control
BInstruction that manipulate operands in memory
CFixed-length, easily decoded instruction format
DA large number (typically from 100 to 250) of instructions
Show answerHide answer
Correct answer: (C) Fixed-length, easily decoded instruction format
Explanation
RISC processors use simple, fixed-length instructions that are easy to decode, with hardwired control and few instructions. Microprogrammed control, memory operands and 100-250 instructions are CISC traits.
Which among the following given below is correct in context of privacy issues in
social media and online platforms?
AThhe sharing on social media especially by children must be monitored at all times.
BThhe addiction of social media does not hamper the academic performance of a student.
CRumours and fake news cannot put the administration at risk.
DMishandling of social media cannot create tension in the law and order.
Show answerHide answer
Correct answer: (A) Thhe sharing on social media especially by children must be monitored at all times.
Explanation
Children's activity on social media must be monitored because they are vulnerable to privacy risks. The other options are false: social media addiction can hurt studies, and fake news and misuse can disturb law and order.
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.