DSSSB TGT / PGT · Topic-wise previous year questions

Computer Science Previous Year Questions (page 41)

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.

  • 2444 questions
  • 20 topics
  • Official answer key
  • Free

Practise by topic

Q2001DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following refers to focusing on determining, organising, directing, facilitating and monitoring knowledge-related practices and activities required to achieve the desired business strategies and objectives with reference to knowledge management in organisations?
  1. ABusiness point of view
  2. BEducation point of view
  3. CHands-on operational point of view
  4. DManagement point of view
Show answerHide answer

Correct answer: (D) Management point of view

Explanation

The management point of view of knowledge management focuses on determining, organising, directing, facilitating and monitoring knowledge practices to meet business goals.

Q2002DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following refers to a system test that forces a software to fail in a variety of ways and verifies that recovery is properly performed?
  1. ARecovery testing
  2. BStress testing
  3. CSecurity testing
  4. DPerformance testing
Show answerHide answer

Correct answer: (A) Recovery testing

Explanation

Recovery testing deliberately makes the software fail in different ways and checks that recovery is performed correctly.

Q2003DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
By default, the BASH shell of the Linux environment has a prompt.
  1. A#
  2. B&
  3. C$
  4. D%
Show answerHide answer

Correct answer: (C) $

Explanation

By default BASH shows $ as the prompt for a normal user; # is shown for the root user.

Q2004DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is NV RAM memory that retains its data even when turned off?
  1. ACache memory
  2. BFlash memory
  3. CRegister memory
  4. DMain memory
Show answerHide answer

Correct answer: (B) Flash memory

Explanation

Flash memory is non-volatile (NVRAM-type) memory that keeps its data without power, as in pen drives and SSDs. Cache, registers and main RAM are volatile.

Q2005DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is NOT a method of solving quadratic equations?
  1. ABy completing the square
  2. BBy using the quadratic formula
  3. CBy factorisation
  4. DBy using convergence
Show answerHide answer

Correct answer: (D) By using convergence

Explanation

Quadratic equations are solved by factorisation, completing the square or the quadratic formula. Convergence is not a method for solving them.

Q2006DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
The technology of .Net is developed by ______ and was launched in ______.
  1. AMicrosoft; 2002
  2. BOracle; 2002
  3. CMicrosoft; 2010
  4. DGoogle; 2002
Show answerHide answer

Correct answer: (A) Microsoft; 2002

Explanation

Microsoft developed the .NET Framework and released version 1.0 in 2002.

Q2007DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is a software application that helps developers to build attractive website layouts and apps with ease?
  1. ADatabase design tools
  2. BFront-end development tools
  3. CLogic programming tools
  4. DBack-end development tools
Show answerHide answer

Correct answer: (B) Front-end development tools

Explanation

Front-end development tools help developers build attractive website layouts and user interfaces quickly. Back-end tools deal with servers and databases.

Q2008DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
A cube is a square prism. If all the sides of a cube are x, then volume = and surface area =
  1. Ax³; 6x²
  2. Bx²; 6x³
  3. C6x³; x²
  4. D6x²; x³
Show answerHide answer

Correct answer: (A) x³; 6x²

Explanation

A cube of side x has volume x³ and six square faces, so its total surface area is 6x².

Q2009DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is a valid syntax for the XML element in a DTD?
  1. A<!ELEMENT element-name category>
  2. B<!ATTLIST element-name attribute-name attribute-type attribute-value>
  3. C<#ELEMENT element-name category>
  4. D<!ENTITY entity-name "entity-value">
Show answerHide answer

Correct answer: (A) <!ELEMENT element-name category>

Explanation

In a DTD an element is declared as <!ELEMENT element-name category>. <!ATTLIST> declares attributes and <!ENTITY> declares entities.

Q2010DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following statements is FALSE?
  1. AMicrokernel is smaller in size.
  2. BIt is not easy to extend a Monolithic kernel.
  3. CIn Monolithic kernel, both user services and kernel services are kept in a separate address space.
  4. DTo design a Microkernel, more codes are required.
Show answerHide answer

Correct answer: (C) In Monolithic kernel, both user services and kernel services are kept in a separate address space.

Explanation

C is false: a monolithic kernel keeps user and kernel services in the same address space. A microkernel keeps them in separate address spaces.

Q2011DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
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?
  1. AIncremental Process Models
  2. BSequential Process Models
  3. CEvolutionary Process Models
  4. 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.

Q2012DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
What is the output of the following java program? public class Solution{ public static void main(String[] args){ int[] p = {121, 201, 017}; for(int j = 0; j < p.length; j++){ System.out.print(p[j] + " "); } } }
  1. A1121 201 17
  2. B1121 201 15
  3. CCompilation error
  4. DRuntime error
Show answerHide answer

Correct answer: (B) 1121 201 15

Explanation

A leading 0 makes 017 an octal literal, which equals 15. The program prints 121 201 15, which is option (B) (its text shows a stray leading 1).

Q2013DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
The demand is said to be ______ when a very insignificant change in price leads to an infinite change in quantity demanded.
  1. Aperfectly inelastic
  2. Brelatively elastic
  3. Crelatively inelastic
  4. Dperfectly elastic
Show answerHide answer

Correct answer: (D) perfectly elastic

Explanation

Demand is perfectly elastic when a negligible change in price causes an infinite change in quantity demanded (a horizontal demand curve).

Q2014DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following displays uses an electron beam that operates like a pencil to create a line image on the CRT screen?
  1. ARotate Scan
  2. BRoster Scan
  3. CRandom Scan
  4. DRaster Scan
Show answerHide answer

Correct answer: (C) Random Scan

Explanation

A random-scan (vector) display moves the electron beam like a pencil, drawing only the lines of the picture. Raster scan sweeps the whole screen row by row.

Q2015DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Consider the following data set: 6, 20, 25, 63, 92, 101. What is the range of the data set?
  1. A63
  2. B6
  3. C95
  4. D101
Show answerHide answer

Correct answer: (C) 95

Explanation

Range = largest − smallest = 101 − 6 = 95.

Q2016DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is a graphical representation of an algorithm?
  1. AFlowchart
  2. BSource code
  3. CProgram
  4. DPseudo code
Show answerHide answer

Correct answer: (A) Flowchart

Explanation

A flowchart shows an algorithm graphically using standard symbols joined by arrows. Pseudocode is a text description.

Q2017DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
In connectionless services offered by the network layer, packets are injected into the network individually and routed independently of each other. In this context, the packets are frequently called ______, and the network is called a ______ network.
  1. Adatagrams; virtual-circuit
  2. Bdatagrams; datagram
  3. Cvirtual circuits; datagram
  4. Dvirtual circuits; virtual-circuit
Show answerHide answer

Correct answer: (B) datagrams; datagram

Explanation

In a connectionless network service packets are called datagrams and the network a datagram network. Connection-oriented service uses a virtual-circuit network.

Q2018DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following can be used for the frontend or user interface while developing a web application?
  1. AJavaScript
  2. BPHP
  3. CDjango
  4. DSQL
Show answerHide answer

Correct answer: (A) JavaScript

Explanation

JavaScript runs in the browser and is used to build the front end. PHP and Django are server-side, and SQL is for databases.

Q2019DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
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
  1. A443
  2. B80
  3. C143
  4. 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.

Q2020DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following refers to expertise and skills acquired by a person through experience or education, the theoretical or practical understanding of a subject?
  1. ASynthesis
  2. BReference
  3. CKnowledge
  4. DProblem solving
Show answerHide answer

Correct answer: (C) Knowledge

Explanation

Knowledge is the expertise and skills a person gains through experience or education, i.e. theoretical or practical understanding of a subject.

Q2021DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following software quality factors refers to the degree to which the software makes optimal use of system resources as indicated by the sub-attributes time behaviour and resource behaviour?
  1. AMaintainability
  2. BUsability
  3. CPortability
  4. DEfficiency
Show answerHide answer

Correct answer: (D) Efficiency

Explanation

Efficiency (ISO 9126) means the software makes optimal use of system resources, measured by time behaviour and resource behaviour.

Q2022DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is a type of Discrete Probability Distribution?
  1. ALog-Normal Distribution
  2. BExponential Distribution
  3. CNormal Distribution
  4. DPoisson Distribution
Show answerHide answer

Correct answer: (D) Poisson Distribution

Explanation

The Poisson distribution is discrete; it counts events in a fixed interval. Normal, log-normal and exponential distributions are continuous.

Q2023DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is a router in a foreign network to which the mobile node is currently connected with reference to mobile communication?
  1. AForeign agent
  2. BHome agent
  3. CForeign agent COA
  4. DCo-located COA
Show answerHide answer

Correct answer: (A) Foreign agent

Explanation

In Mobile IP, the foreign agent is a router on the visited (foreign) network that serves the mobile node while it is attached there.

Q2024DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following are two arguments that 'chmod' takes to change different permission configurations of files in KDE Linux shell?
  1. APermission changes and network names
  2. BPermission changes and user names
  3. CPermission changes and system names
  4. DPermission changes and file names
Show answerHide answer

Correct answer: (D) Permission changes and file names

Explanation

chmod takes the permission changes (e.g. u+x or 755) and the file names to apply them to, as in chmod 755 file.txt.

Q2025DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following symbols of a flow chart represents the processing phase?
  1. AQuestion content
  2. BQuestion content
  3. CQuestion content
  4. DQuestion content
Show answerHide answer

Correct answer: (D)

Explanation

In a flowchart the rectangle is the process (processing) symbol. The diamond is a decision, the parallelogram is input/output and the oval is start/end.

Q2026DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following curves is particularly a kind of spline generated from a set of control points by forming a set of polynomial functions with reference to computer graphics?
  1. AExplicit
  2. BParametric
  3. CImplicit
  4. DBezier
Show answerHide answer

Correct answer: (D) Bezier

Explanation

A Bezier curve is a spline defined by a set of control points, using polynomial (Bernstein) blending functions.

Q2027DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following refers to messages sent from transport entity to transport entity in the transport layer of the ISO/OSI network model?
  1. APacket
  2. BBlock
  3. CFrame
  4. DSegment
Show answerHide answer

Correct answer: (D) Segment

Explanation

Messages exchanged between transport entities in the transport layer are called segments (TPDUs). Packets belong to the network layer and frames to the data link layer.

Q2028DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is defined as that branch of economic analysis that studies the economic behaviour of the individual unit and may be a person, a particular household or a particular firm?
  1. AInternational Economics
  2. BMacro Economics
  3. CEnvironmental Economics
  4. DMicro Economics
Show answerHide answer

Correct answer: (D) Micro Economics

Explanation

Microeconomics studies the behaviour of individual economic units such as a consumer, a household or a firm. Macroeconomics studies the economy as a whole.

Q2029DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
In Cohen Sutherland Line clipping algorithm, if a line ______ the clipping window, then the line is required to clip as it is considered partially visible.
  1. Afalls inside
  2. Bfalls outside
  3. Cintersects
  4. Dfalls on
Show answerHide answer

Correct answer: (C) intersects

Explanation

In Cohen-Sutherland clipping, a line that crosses (intersects) the window boundary is partially visible and must be clipped. Lines fully inside are accepted and lines fully outside are rejected.

Q2030DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
What is the output of following C program? #include<stdio.h> int main() { int x = 8, *y, z; y = &x; printf("%d\n", x * *y * x + *y); return 0; }
  1. A8
  2. BRuntime error
  3. C520
  4. DCompilation error
Show answerHide answer

Correct answer: (C) 520

Explanation

y points to x, so *y = 8. x * *y * x + *y = 8 × 8 × 8 + 8 = 512 + 8 = 520.

Q2031DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following options describes the desirable property of a good operating system?
  1. ALow throughput and low turnaround time
  2. BHigh throughput and high turnaround time
  3. CLow throughput and high turnaround time
  4. DHigh throughput and low turnaround time
Show answerHide answer

Correct answer: (D) High throughput and low turnaround time

Explanation

A good OS should complete many jobs per unit time (high throughput) and finish each job quickly (low turnaround time).

Q2032DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which step of the knowledge management process involves adding value by discovering relationships, abstracting and sharing?
  1. AKnowledge refining
  2. BKnowledge gathering or acquisition
  3. CKnowledge organisation
  4. DKnowledge sharing
Show answerHide answer

Correct answer: (A) Knowledge refining

Explanation

Knowledge refining adds value to collected knowledge by discovering relationships, abstracting and preparing it to be shared.

Q2033DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following ciphers reorders the letters but does NOT disguise them?
  1. AQuantum
  2. BOne time pad
  3. CTransposition
  4. DSubstitution
Show answerHide answer

Correct answer: (C) Transposition

Explanation

A transposition cipher only rearranges the order of the letters and does not change them. A substitution cipher replaces letters, disguising them.

Q2034DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is an action or occurrence such as a mouse click, a key press, mouse movements or any system- generated notification in ASP.NET?
  1. ADirective
  2. BValidator
  3. CControl
  4. DEvent
Show answerHide answer

Correct answer: (D) Event

Explanation

In ASP.NET an event is an action or occurrence such as a click, key press, mouse movement or system notification that code can respond to.

Q2035DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which characteristic of business refers to 'various components of a business system are highly interacting and interdependent'?
  1. AInterdependence
  2. BComplexity
  3. CCreativity
  4. DGoal-orientation
Show answerHide answer

Correct answer: (A) Interdependence

Explanation

Interdependence means the parts of a business system are closely interacting and depend on each other.

Q2036DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
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 ______.
  1. Abias
  2. Bvariance
  3. Chypothesis
  4. 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.

Q2037DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is NOT a front-end design tool?
  1. AAngular JS
  2. BPHP
  3. CChrome Dev Tools
  4. DjQuery
Show answerHide answer

Correct answer: (B) PHP

Explanation

PHP is a server-side scripting language, so it is not a front-end tool. AngularJS, jQuery and Chrome DevTools are used for front-end work.

Q2038DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is the proper sequence of the accounting cycle?
  1. ARecording of Transaction → Journal → Ledger → Trial Balance → Adjusted Trial Balance → Adjustment Entries → Closing Entries → Financial Statement
  2. BRecording of Transaction → Journal → Ledger → Trial Balance → Adjustment Entries → Adjusted Trial Balance → Closing Entries → Financial Statement
  3. CRecording of Transaction → Journal → Ledger → Trial Balance → Adjustment Entries → Closing Entries → Adjusted Trial Balance → Financial Statement
  4. DRecording of Transaction → Journal → Ledger → Trial Balance → Adjustment Entries → Adjusted Trial Balance → Financial Statement → Closing Entries
Show answerHide answer

Correct answer: (B) Recording of Transaction → Journal → Ledger → Trial Balance → Adjustment Entries → Adjusted Trial Balance → Closing Entries → Financial Statement

Explanation

The cycle is: transactions → journal → ledger → trial balance → adjustment entries → adjusted trial balance → closing entries → financial statements, as in (B).

Q2039DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following operators has the highest precedence in the C programming language?
  1. A^
  2. B!=
  3. C*
  4. D( )
Show answerHide answer

Correct answer: (D) ( )

Explanation

Parentheses ( ) (function call or grouping) have the highest precedence. * comes next, then !=, and ^ (bitwise XOR) is lower.

Q2040DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Interpretability, Format, Coherence and Compatibility refer to which quality of information with reference to Management Information System?
  1. AContextual
  2. BRepresentational
  3. CIntrinsic
  4. DAccessibility
Show answerHide answer

Correct answer: (B) Representational

Explanation

The representational quality of information covers interpretability, ease of understanding, format and concise or consistent representation (coherence and compatibility).

Q2041DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
The 'DEFAULT constraint' of SQL will
  1. Aensure that a column cannot have a NULL value
  2. Bensure that all the values in a column satisfy certain conditions
  3. Censure that all values in a column are different
  4. Dprovide a default value for a column when none is specified
Show answerHide answer

Correct answer: (D) provide a default value for a column when none is specified

Explanation

The DEFAULT constraint supplies a default value for a column when no value is given in an INSERT. NOT NULL, CHECK and UNIQUE do the other jobs.

Q2042DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following refers to the art of recording, classifying and summarising in a significant manner, and in terms of money, transactions and events that are in part at least of a financial character, and interpreting the results thereof?
  1. AFinancial Accounting
  2. BCost Accounting
  3. CManagement Accounting
  4. DBook Keeping
Show answerHide answer

Correct answer: (A) Financial Accounting

Explanation

This is the AICPA definition of accounting, used for financial accounting: recording, classifying and summarising financial transactions in money terms and interpreting the results.

Q2043DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following types of XML parsers is an object that contains all the information of an XML document and is composed like a tree structure?
  1. ADOS
  2. BSAX
  3. CDOM
  4. DSAY
Show answerHide answer

Correct answer: (C) DOM

Explanation

A DOM parser loads the whole XML document into memory as a tree of objects. SAX is event-based and builds no tree.

Q2044DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Activities like packing goods, loading goods and shipping goods belong to which step of the e-commerce primary process?
  1. AContract conclusion
  2. BDelivery/fulfilment
  3. CBilling/invoice
  4. DService/support
Show answerHide answer

Correct answer: (B) Delivery/fulfilment

Explanation

Packing, loading and shipping the goods to the buyer are part of the delivery/fulfilment step of the e-commerce process.

Q2045DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following algebraic functions represents NAND gate?
  1. A(xy)'
  2. B(x+y)'
  3. Cx+y
  4. Dx*y
Show answerHide answer

Correct answer: (A) (xy)'

Explanation

NAND is NOT-AND, so its output is (xy)'. (x+y)' is NOR, x+y is OR and xy is AND.

Q2046DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following front-end tools is one of the most widely used CSS extension languages across the world?
  1. AVisual Studio Code
  2. BGit
  3. CTypeScript
  4. DSass
Show answerHide answer

Correct answer: (D) Sass

Explanation

Sass (Syntactically Awesome Style Sheets) is one of the most widely used CSS extension (preprocessor) languages.

Q2047DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following methods is used for the function y = f(x), with the given discrete set of points (xᵢ, yᵢ), i = 0, 1, 2, 3, ..., n where xᵢ's are NOT equispaced?
  1. ANewton's backward interpolation formula
  2. BNewton's divided difference formula
  3. CNewton's forward interpolation formula
  4. DGauss's forward difference formula
Show answerHide answer

Correct answer: (B) Newton's divided difference formula

Explanation

Newton's divided difference formula works for unequally spaced xᵢ. Newton's forward/backward and Gauss formulas need equally spaced points.

Q2048DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
In which of the following radio channel sharing methods several users share the same frequency channel of higher bandwidth by dividing it into different time slots?
  1. ATime Division Multiple Access
  2. BNetwork Division Multiple Access
  3. CFrequency Division Multiple Access
  4. DPacket Division Multiple Access
Show answerHide answer

Correct answer: (A) Time Division Multiple Access

Explanation

TDMA lets several users share one frequency channel by giving each user its own time slot.

Q2049DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following with reference to digital electronics is a device that stores (and sometimes displays) the number of times a particular event or process has occurred, often in relationship to a clock signal?
  1. ALatch
  2. BFlip-Flop
  3. CCounter
  4. DRegister
Show answerHide answer

Correct answer: (C) Counter

Explanation

A counter stores, and may display, the number of times an event has occurred, usually counting clock pulses.

Q2050DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
The operations of a ______ require that the first element that is inserted is the first one to be removed?
  1. Aunion
  2. Bgraph
  3. Cstack
  4. Dqueue
Show answerHide answer

Correct answer: (D) queue

Explanation

A queue is FIFO (first in, first out), so the first element inserted is the first removed. A stack is LIFO.

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