DSSSB TGT / PGT · Topic-wise previous year questions
Computer Science Previous Year Questions (page 30)
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.
Q1451DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following statement(s) is/are correct regarding java programming?
I. Place a semicolon immediately after a method header.
II. Define a method outside the braces of a class definition.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (D) Neither I nor II
Explanation
Both are common errors: a semicolon after a method header ends the declaration, and in Java every method must be defined inside the class body braces. Neither statement is correct.
Q1452DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
What is the output of the given java code?
byte x = 64, y;
y = (byte) (x << 4);
system.out.println(y);
A0
B128
C256
D32
Show answerHide answer
Correct answer: (A) 0
Explanation
x << 4 is 64 × 16 = 1024 = 0x400 (as int). Casting to byte keeps only the low 8 bits, 0x00, so y prints 0.
Q1453DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which page replacement algorithm has Belady's anomaly?
AOptimal page replacement
BFIFO page replacement
CLeast recent used page replacement
DNot recently used page replacement
Show answerHide answer
Correct answer: (B) FIFO page replacement
Explanation
In FIFO, increasing the number of frames can increase page faults for some reference strings (Belady's anomaly). Optimal and LRU are stack algorithms and do not suffer from it.
Q1454DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
When there is a memory wastage within the memory partition itself then it is known as ________.
AExternal fragmentation
BInternal fragmentation
CBelady's Anomaly
DCompaction
Show answerHide answer
Correct answer: (B) Internal fragmentation
Explanation
Internal fragmentation is wasted space inside an allocated partition, when the partition is larger than the process placed in it.
Q1455DSSSB 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.
Q1456DSSSB 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.
Q1457DSSSB 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.
Q1458DSSSB 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.
Q1459DSSSB 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?
Q1460DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
A certain percentage of deposits which a bank must keep in the form of cash with the RBI is called ________.
AStatutory Liquidity Ratio
BCash Reserve Ratio
COpen Market Operations
DLiquidity Adjustment Facility
Show answerHide answer
Correct answer: (B) Cash Reserve Ratio
Explanation
CRR is the share of deposits banks must keep as cash with the RBI. SLR is kept by banks themselves in cash, gold or approved securities.
Q1461DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following method(s) is/are used to measure the aggregate value of goods and services produced in an economy?
I. Expenditure method
II. Income method
III. Product method
AI and II
BOnly III
CI and III
DI, II and III
Show answerHide answer
Correct answer: (D) I, II and III
Explanation
National income can be measured by the product (value added) method, the income method and the expenditure method. All three measure the aggregate value of output.
Q1462DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following effects of the price change can influence the consumer's optimal choice?
I. The change in the relative price of a good.
II. The change in the purchasing power of a consumer.
III. Sudden reduction in the minimum support price of a commodity.
AOnly I
BOnly III
CI and II
DI, II and III
Show answerHide answer
Correct answer: (C) I and II
Explanation
A price change affects consumer choice through the substitution effect (change in relative price) and the income effect (change in purchasing power). A cut in MSP is not one of these effects.
Q1463DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which layer in OSI model is responsible for the dialogue control and token management?
ATransport layer
BSession layer
CPhysical layer
DNetwork layer
Show answerHide answer
Correct answer: (B) Session layer
Explanation
The session layer (layer 5) handles dialogue control (who may send, and when) and token management, along with synchronisation.
Q1464DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
In OSI model network layer is responsible for ________.
ADialog control
BToken management
CRouting
DPhysical transmission
Show answerHide answer
Correct answer: (C) Routing
Explanation
The network layer (layer 3) routes packets from source to destination across networks using logical (IP) addresses.
Q1465DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which statement is/are true about the OSI model?
I. Layer 1 through 3 are end-to-end
II. Layer 4 through 7 are chained
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (D) Neither I nor II
Explanation
Layers 1-3 are chained (they work hop-by-hop between adjacent devices), and layers 4-7 are end-to-end. The statements reverse this, so neither is true.
Q1466DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Layer five of OSI model is ________.
ANetwork layer
BTransport layer
CSession layer
DPresentation layer
Show answerHide answer
Correct answer: (C) Session layer
Explanation
The OSI layers are 1 Physical, 2 Data Link, 3 Network, 4 Transport, 5 Session, 6 Presentation, 7 Application. Layer five is the session layer.
Q1467DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following business models fall into the category of 'Native Internet Business models'?
I. Library Model
II. Subscription Model
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (A) Only I
Explanation
Native internet business models arose on the internet itself, such as library, freeware, information barter and digital product models. The subscription model is transplanted from the real world, so only I is correct.
Q1468DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following statement(s) is/are correct regarding the strategies required to increase the visibility of e-commerce website?
I. The website name should be sensible that it can be guessed.
II. Uploading contents like special offers or eye catching information for the regular followers can increase traffic on the website.
III. Icons of social networks on the website have no major influence on e-visibility.
AI and II
BII and III
COnly II
DI, II and III
Show answerHide answer
Correct answer: (A) I and II
Explanation
A sensible, easily guessed name and fresh attractive content (offers) increase visibility (I and II). III is false: social network icons do help e-visibility.
Q1469DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which statement is correct regarding binary search tree?
I. The value at node N is less than every value in the left subtree of node.
II. The value at node N is greater than or equal to every value in the right subtree of N.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (D) Neither I nor II
Explanation
In a BST, the value at N is greater than every value in its left subtree and less than (or equal to) every value in its right subtree. Both statements reverse this, so neither is correct.
Q1470DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following statement(s) is/are correct regarding the undirected graph?
I. Number of odd degree vertices is even.
II. Sum of degrees of all vertices is even.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Each edge adds 2 to the total degree, so the sum of degrees is even (handshaking lemma), and hence the number of odd-degree vertices must also be even.
Q1471DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which statement(s) is/are correct regarding node N deletion in binary search tree?
I. If node N has no children then just replace location of N in the parent node by the null pointer.
II. If node N has two children, then replace it by preorder successor.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (A) Only I
Explanation
A leaf node is removed by setting its parent's pointer to null (I correct). A node with two children is replaced by its inorder successor (or predecessor), not its preorder successor, so II is wrong.
Q1472DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following is a type of information system?
ATransaction Processing System
BOnline Processing System
CReal-time Processing System
DDistributed Processing System
Show answerHide answer
Correct answer: (A) Transaction Processing System
Explanation
A Transaction Processing System is a type of information system that records routine business transactions. The other options are modes of data processing.
Q1473DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following characteristic(s) of expert systems is/are correct?
I. The direction of interaction is from machine to the user.
II. Its domain of knowledge is narrow.
III. Information is produced by analysis of operational and external data.
AI and III
BOnly II
CI and II
DI, II and III
Show answerHide answer
Correct answer: (C) I and II
Explanation
In an expert system the machine asks the user questions (interaction from machine to user) and its knowledge domain is narrow. Producing information by analysing operational and external data describes MIS/DSS.
Q1474DSSSB 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.
Q1475DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
The maximum number of points that can be displayed without overlap on a CRT is referred to as ________.
APersistence
BResolution
CAspect ratio
DPhosphorescence
Show answerHide answer
Correct answer: (B) Resolution
Explanation
Resolution is the maximum number of points that can be shown on a CRT without overlap, given as horizontal × vertical pixels.
Q1476DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
How many different levels of heading does HTML support?
A6
B7
C5
D9
Show answerHide answer
Correct answer: (A) 6
Explanation
HTML has six heading levels, <h1> to <h6>.
Q1477DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which HTML tag is used to embed Java script scripts in a page?
A<script> tag
B<embed> tag
C<java> tag
D<enable> tag
Show answerHide answer
Correct answer: (A) <script> tag
Explanation
JavaScript is placed in a page with the <script> tag, either inline or through src.
Q1478DSSSB 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.
Q1479DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following methods can be used to organize notes for interpreting an information?
I. Flow chart
II. Transition devices
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (A) Only I
Explanation
A flow chart can organise notes visually to show the sequence and relation of ideas. Transition devices are linking words used in writing, not a method of organising notes.
Q1480DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which symbol in flowchart is used for representing start and end?
ACircle
BOval
CDiamond
DArrow
Show answerHide answer
Correct answer: (B) Oval
Explanation
An oval (terminal symbol) marks the start and end of a flowchart. A diamond is for decisions and arrows show flow.
Q1481DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Rearrange steps involved in top-down design programming?
I. Analyze the problem
II. Revise and resequence
III. Write the main module
IV. Connect the modules in proper order
V. Write the remaining modules
AII → IV → V → III → I
BIII → I → V → IV → II
CV → III → I → IV → II
DI → III → V → IV → II
Show answerHide answer
Correct answer: (D) I → III → V → IV → II
Explanation
Top-down design: analyse the problem (I), write the main module (III), write the remaining modules (V), connect the modules in order (IV), then revise and resequence (II).
Q1482DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
If P is the mean of Poisson distribution, then what is the standard deviation?
AP/2
BP
CP²
D√P
Show answerHide answer
Correct answer: (D) √P
Explanation
In a Poisson distribution, mean = variance = P, so the standard deviation is √P.
Q1483DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
A question in mathematics is given to three students P, Q and R whose chances of solving are 1/3, 1/4, 1/5 respectively. What is the probability that the problem will be solved?
A0.4
B0.6
C0.8
D0.7
Show answerHide answer
Correct answer: (B) 0.6
Explanation
P(no one solves) = (2/3)(3/4)(4/5) = 2/5. So P(solved) = 1 − 2/5 = 3/5 = 0.6.
Q1484DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
If f(1) = 4 and f(5) = 6, then what is the value of f(3) using Lagrange's interpolation?
A5
B6.5
C4
D3
Show answerHide answer
Correct answer: (A) 5
Explanation
Lagrange's formula with two points: f(3) = 4·(3−5)/(1−5) + 6·(3−1)/(5−1) = 4×0.5 + 6×0.5 = 5.
Q1485DSSSB 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.
Q1486DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following statement(s) is/are NOT correct?
I. In case of multi-grade and multi-level situations, teaching learning materials provide vital help to the teachers for effective management of their class.
II. Teaching learning materials are needed for effective self-learning.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (D) Neither I nor II
Explanation
Both statements are correct: TLMs help teachers manage multi-grade, multi-level classes, and they support self-learning. So neither statement is incorrect.
Q1487DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
As a teacher, you have to realize that the entire responsibility of the assessment of learning and its follow up lies with you. Which of the following is/are that/those aspect(s) that need your attention?
I. You must collect sufficient evidence on which you base your decisions.
II. You need to be sensitive to the challenges faced by some students in completing the task/assignment.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
A teacher must base decisions on sufficient evidence of learning and be sensitive to difficulties some students face in completing tasks. Both need attention.
Q1488DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
________ is the type of assessment.
I. Formative assessment
II. Summative assessment
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Formative assessment (during learning, to improve it) and summative assessment (at the end, to grade it) are both types of assessment.
Q1489DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
In Hindi every noun can have ________ forms in principle.
A4
B2
C8
D6
Show answerHide answer
Correct answer: (D) 6
Explanation
In principle a Hindi noun has 6 forms: 2 numbers (singular, plural) × 3 cases (direct, oblique, vocative). For example, laṛkā has laṛkā/laṛke (direct), laṛke/laṛkoṃ (oblique) and laṛke/laṛko (vocative).
Q1490DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following statement(s) is/are NOT correct?
I. Sanskrit is the standard language of Brahmanic society.
II. Persian is the standard language of Iranians.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (D) Neither I nor II
Explanation
Sanskrit was the standard (elite) language of Brahmanic society, and Persian is the standard language of Iran. Both statements are correct, so neither is "not correct".
Q1491DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
There are various factors on which our choice of words, our selection of sentences are always dependent. Which of the following are those factors?
I. The context
II. The place where we speak
III. The theme
AI, II and III
BII and III
CI and III
DI and II
Show answerHide answer
Correct answer: (A) I, II and III
Explanation
Word and sentence choice depends on the context, the place or setting where we speak, and the theme or topic. All three are factors.
Q1492DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
At the elementary level, how awareness of regional arts and crafts help?
I. To recognise and promote traditional and contemporary art and art pieces.
II. To sensitise the children about the pluralistic cultural legacy of India – awareness of local crafts.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Awareness of regional arts and crafts helps children recognise and promote traditional and contemporary art, and sensitises them to India's pluralistic cultural heritage. Both are correct.
Q1493DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Gender discrimination can be ________.
I. Direct
II. Indirect
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Gender discrimination can be direct (openly treating someone worse because of gender) or indirect (a neutral-looking rule that disadvantages one gender). Both forms exist.
Q1494DSSSB 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.
Q1495DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
Which of the following statement is correct for the given partial differential equation?
∂u/∂t + ∂u/∂x = ∂²u/∂x²
AIt is linear equation of order two
BIt is non-linear equation of order one
CIt is linear equation of order one
DIt is non-linear equation of order two
Show answerHide answer
Correct answer: (D) It is non-linear equation of order two
Explanation
Note: the answer key gives (D), but the equation is linear: u and its derivatives appear only to the first power and are never multiplied together. The highest derivative is ∂²u/∂x², so it is a linear equation of order two (option A).
Q1496DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
A parametric curve is defined by x = cos(πt/2), y = sin(πt/2) in the range of 0 ≤ t ≤ 1. It is rotated about the X axis by 360°. What is the area of the surface generated?
A4π
Bπ
C2π
Dπ/2
Show answerHide answer
Correct answer: (C) 2π
Explanation
For 0 ≤ t ≤ 1 the point (cos πt/2, sin πt/2) traces a quarter of the unit circle from (1, 0) to (0, 1). Rotating it about the X axis gives a hemisphere of radius 1, whose curved surface area is 2πr² = 2π.
Q1497DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
What is the value of ∮c e^(2z) / (z + 1)⁴ dz, where c is a circle with centre at origin, |z| = 3?
A(4/3) πi e⁻²
B2πi e⁻²
C(8/3) πi e⁻²
D3πi e⁻²
Show answerHide answer
Correct answer: (C) (8/3) πi e⁻²
Explanation
The only singularity, z = −1 (a pole of order 4), lies inside |z| = 3. By Cauchy's formula the integral is 2πi·f'''(−1)/3! with f = e^(2z), f''' = 8e^(2z), giving 2πi·8e⁻²/6 = (8/3)πi e⁻².
Q1498DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
Which of the following comes under the category of survey report in an organization?
AField reports
BProject reports
CSales reports
DCompany annual reports
Show answerHide answer
Correct answer: (A) Field reports
Explanation
Field reports are written after observing or surveying conditions on site (inspections, surveys, investigations), so they fall under survey reports. Project, sales and annual reports are progress or periodic reports.
Q1499DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
10⁻¹⁵ second = ________.
A1 Picosecond
B1 Attosecond
C1 Femtosecond
D1 Nanosecond
Show answerHide answer
Correct answer: (C) 1 Femtosecond
Explanation
Femto means 10⁻¹⁵. Pico is 10⁻¹², nano is 10⁻⁹ and atto is 10⁻¹⁸.
Q1500DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 1
What is the full form of 'ENIAC' the first all electronics computer?
DThe electronic numerical integrator and calculator
Show answerHide answer
Correct answer: (C) The electronic numerical integrator and computer
Explanation
ENIAC (1946, Eckert and Mauchly) stands for Electronic Numerical Integrator and Computer.
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.