DSSSB TGT / PGT · Computer Science

DBMS & SQL Previous Year Questions (page 2)

227 DBMS & SQL (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.

  • 227 questions
  • Official answer key
  • Free

Other Computer Science topics

Q51From DSSSB TGT Computer Science Practice Set 2
The number of attributes in a relation is called the ______ of the relation.
  1. ADegree
  2. BDomain
  3. CCardinality
  4. DTuyples
Show answerHide answer

Correct answer: (A) Degree

Explanation

The degree of a relation is its number of attributes (columns). Cardinality is the number of tuples (rows).

Q52From DSSSB TGT Computer Science Practice Set 2
A child has a schema for a dog based on his experience with his pet, then when he sees another dog in the garden, he is able to recognize the animal. Which process of cognitive development is highlighted in the statement?
  1. AAssimilation
  2. BAccommodation
  3. COperation
  4. DEquilibrium
Show answerHide answer

Correct answer: (A) Assimilation

Explanation

Fitting a new experience (another dog) into an existing schema is assimilation in Piaget's theory. Accommodation means changing the schema itself.

Q53From DSSSB TGT Computer Science Practice Set 1
With SQL, how can you return the number of records in the "Persons" table?
  1. ASELECT COUNT (*) FROM Persons
  2. BSELECT COUNT () FROM Persons
  3. CSELECT COUNT () FROM Persons
  4. DSELECT COLUMN (*) FROM Persons
Show answerHide answer

Correct answer: (A) SELECT COUNT (*) FROM Persons

Explanation

Options (b) and (c) are printed identically in the source book.

Q54From DSSSB TGT Computer Science Practice Set 1
What will the following code result in? import pandas as pd pd.Series ([10,20], index = ['A', 'B', 'C'])
  1. AValueError
  2. BNameError
  3. CIndexError
  4. DSyntaxError
Show answerHide answer

Correct answer: (A) ValueError

Explanation

The data list has 2 values but the index has 3 labels. pandas cannot match the lengths, so it raises a ValueError ("Length of values does not match length of index").

Q55From DSSSB TGT Computer Science Practice Set 1
Which of the following attribute of the <TABLE> tag specifies the amount of space between the border and the contents of the cell?
  1. APADDING
  2. BSPACING
  3. CCELL PADDING
  4. DCELL SPACING
Show answerHide answer

Correct answer: (C) CELL PADDING

Explanation

CELLPADDING sets the space between a cell's border and its content. CELLSPACING sets the space between neighbouring cells.

Q56From DSSSB TGT Computer Science Practice Set 1
What is the correct usage of the FRAMEBORDER attribute of the <FRAME> tag in HTML ?
  1. ASpecifies the color of the border of the frame
  2. BSpecifies the status of scroll bars of a frame
  3. CSpecifies the distance between top and bottom edge of the frame and frame contents
  4. DSpecifies whether the border should be visible or not
Show answerHide answer

Correct answer: (D) Specifies whether the border should be visible or not

Explanation

FRAMEBORDER takes 1 or 0 (yes or no) and controls whether a border is shown around the frame. It does not set the border colour or the scrollbars.

Q57From DSSSB TGT Computer Science Practice Set 1
Which of the following is not an example of an application of a Database ?
  1. AVIDEO Editing
  2. BProfile Management System
  3. CResult Management System
  4. DInventory Control System
Show answerHide answer

Correct answer: (A) VIDEO Editing

Explanation

Video editing works on audio and video media streams and is not organised around stored records. Profile, result and inventory systems are classic database applications.

Q58From DSSSB TGT Computer Science Practice Set 1
Which of the following options appropriately represent the relationship shown in the diagram ? Diagram: entity box E1 is joined to entity box E2 by a line labelled R; the line ends in a crow's-foot (many) symbol at the E1 side and has a plain end at the E2 side.
  1. AONE - TO - ONE
  2. BONE - TO - MANY
  3. CMANY - TO - ONE
  4. DMANY - TO - MANY
Show answerHide answer

Correct answer: (C) MANY - TO - ONE

Explanation

The crow's foot (many) is on the E1 side and the plain (one) end is on the E2 side. Many E1 entities relate to one E2 entity, so the relationship is many-to-one.

Q59From DSSSB TGT Computer Science Practice Set 1
Which of the following cannot be represented as a tree ?
  1. AUnix directory without links
  2. BTable of Content of a book
  3. CCustomer calls in a call centre
  4. DArithmetic expression
Show answerHide answer

Correct answer: (C) Customer calls in a call centre

Explanation

Customer calls in a call centre are served in arrival order (first in, first out), so they form a queue, not a hierarchy. Directories, a table of contents and arithmetic expressions are naturally hierarchical trees.

Q60From DSSSB TGT Computer Science Practice Set 1
______ is a sequence of memory read-write operations that are atomic.
  1. ACritical section object
  2. BAdaptive mutex
  3. CTurnstile
  4. DMemory transaction
Show answerHide answer

Correct answer: (D) Memory transaction

Explanation

In transactional memory, a memory transaction is a sequence of memory read-write operations that is atomic: either all of them take effect (commit) or none do.

Q61From DSSSB TGT Computer Science Practice Set 1
In relational databases, the natural join of two tables is :
  1. ACartesian Product always.
  2. BCombination of Union and filtered Cartesian Product.
  3. CCombination of Selection and filtered Cartesian Product.
  4. DCombination of Projection and filtered Cartesian Product.
Show answerHide answer

Correct answer: (D) Combination of Projection and filtered Cartesian Product.

Explanation

A natural join takes the Cartesian product, keeps the rows where common attributes are equal (selection), then projects away the duplicate columns. So it is a projection of a filtered Cartesian product.

Q62From DSSSB TGT Computer Science Practice Set 1
Consider the database table "Persons" having persons_ID as the primary key: person_ID | Name | Age 1000 | Rajan | 40 - | Jatin | -45 1001 | Rajesh | 35 What are the constraints violated by the above table ?
  1. ARelationship integrity
  2. BReferential integrity only
  3. CEntity and domain integrities
  4. DReferential and domain integrities
Show answerHide answer

Correct answer: (C) Entity and domain integrities

Explanation

A missing person_ID breaks entity integrity, because a primary key cannot be null. An age of −45 is outside the valid domain, so domain integrity is also broken.

Q63From DSSSB TGT Computer Science Practice Set 1
What is the output of the following C program? # include int main ( ) { int index; for (index = 1; index < = 5; index ++) { printf ("%d", index); if (index = = 3) continue; } }
  1. A1245
  2. B12345
  3. C12245
  4. D12354
Show answerHide answer

Correct answer: (B) 12345

Explanation

printf runs before the if statement, so continue only skips the (empty) rest of the loop body. Every value from 1 to 5 is printed: 12345.

Q64DSSSB PGT Computer Science (Technical), 11 Jul 2021
How many rows are there in a truth table having 'n' variables?
  1. A2n
  2. Bn²
  3. Clog₂n
  4. D2ⁿ
Show answerHide answer

Correct answer: (D) 2ⁿ

Explanation

Each of the n variables can be 0 or 1, giving 2ⁿ input combinations, so the truth table has 2ⁿ rows.

Q65DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the relation between N select inputs and M inputs lines in a multiplexer?
  1. A2^M = N
  2. B2^N = M
  3. C2M = N
  4. D2N = M
Show answerHide answer

Correct answer: (B) 2^N = M

Explanation

N select lines can address 2ᴺ inputs, so a multiplexer with M data inputs needs N select lines where 2ᴺ = M.

Q66DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is NOT an attribute of good programming languages?
  1. AClarity, simplicity and unity
  2. BSupport for abstraction
  3. CEase of program verification
  4. DNon portability
Show answerHide answer

Correct answer: (D) Non portability

Explanation

Portability (running on different machines) is a desirable attribute of a good language, so non-portability is not one. Clarity, abstraction and ease of verification are all good attributes.

Q67DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the relation between object and class in an object oriented programming?
  1. AObject is keyword of class
  2. BObject is scope of class
  3. CObject is instance of class
  4. DObject is type of class
Show answerHide answer

Correct answer: (C) Object is instance of class

Explanation

A class is a blueprint, and an object is an instance of that class created in memory.

Q68DSSSB PGT Computer Science (Technical), 11 Jul 2021
Consider a n × n tri-diagonal sparse matrix A. Suppose we want to store sparse A in a one-dimensional array. What is the index of the (i,j)th element of A in the one-dimensional array?
  1. A2i + 2j
  2. B2i + j − 2
  3. Ci + j
  4. Di + j − 1
Show answerHide answer

Correct answer: (B) 2i + j − 2

Explanation

Row-major with 1-based indexes, rows before row i hold 3(i−1) − 1 elements, and (i, j) is the (j − i + 2)th element of row i. Total = 3i − 4 + j − i + 2 = 2i + j − 2.

Q69DSSSB PGT Computer Science (Technical), 11 Jul 2021
Using division method [n(k) = k mod m], at which position 177 and 197 key values are stored in hash table when the size of hash table is 57?
  1. A6, 26
  2. B7, 27
  3. C26, 6
  4. D27, 7
Show answerHide answer

Correct answer: (A) 6, 26

Explanation

177 mod 57 = 177 − 171 = 6 and 197 mod 57 = 197 − 171 = 26.

Q70DSSSB PGT Computer Science (Technical), 11 Jul 2021
In C++, "Out-of-range-index" belong to ________ type exception while keyboard interrupts are called ________ exceptions.
  1. ASynchronous; synchronous
  2. BSynchronous; asynchronous
  3. CAsynchronous; synchronous
  4. DAsynchronous; asynchronous
Show answerHide answer

Correct answer: (B) Synchronous; asynchronous

Explanation

Errors such as out-of-range index come from the program's own execution, so they are synchronous. Events beyond the program's control, such as keyboard interrupts, are asynchronous.

Q71DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is join operation in Structure Query Language (SQL)?
  1. AJoin is an operation used to select group rows of a table that contains the same values in a specific column.
  2. BJoin is an operation which is used to combine two different data keys.
  3. CJoin is an operation used to combine rows from two or more tables based on one or more common fields between them.
  4. DJoin is an operation which work on a single row of a table and return a single value.
Show answerHide answer

Correct answer: (C) Join is an operation used to combine rows from two or more tables based on one or more common fields between them.

Explanation

A JOIN combines rows from two or more tables based on a related (common) column between them.

Q72DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is NOT a part of Data Definitions Language in Relational Database Management System?
  1. ACreate table
  2. BInsert table
  3. CAlter table
  4. DDrop table
Show answerHide answer

Correct answer: (B) Insert table

Explanation

INSERT is a DML command (and is used as INSERT INTO, not "insert table"). CREATE, ALTER and DROP TABLE are DDL commands.

Q73DSSSB PGT Computer Science (Technical), 11 Jul 2021
Match the following formal relational term with informal equivalents. i. Relation — A. Row ii. Tuple — B. Value iii. Attribute — C. Table iv. Domain — D. Column
  1. Ai-3, ii-4, iii-1, iv-2
  2. Bi-3, ii-1, iii-4, iv-2
  3. Ci-1, ii-3, iii-2, iv-4
  4. Di-4, ii-3, iii-2, iv-1
Show answerHide answer

Correct answer: (B) i-3, ii-1, iii-4, iv-2

Explanation

Note: in the official paper the options refer to A, B, C, D as 1, 2, 3, 4 respectively.

Q74DSSSB PGT Computer Science (Technical), 11 Jul 2021
Write the name of the relational algebra operation as per the given order of their notation. Π, X, σ
  1. AProjection, Cartesian product, division
  2. BProjection, Cartesian product, select
  3. CIntersection join, outer join, select
  4. DProjection, outer join, select
Show answerHide answer

Correct answer: (B) Projection, Cartesian product, select

Explanation

Π is projection (choose columns), × is Cartesian product, and σ is selection (choose rows).

Q75DSSSB PGT Computer Science (Technical), 11 Jul 2021
Consider the following relation schema of students. STUDENT (Rollno, Name, DOB, Marks, Gender) Which of the given query is equivalent to this query in English? "Find the tuples of student having marks above 80".
  1. Aσ Marks>80 (STUDENT)
  2. BΠ Marks>80 (STUDENT)
  3. Cσ Marks<80 (STUDENT)
  4. DΠ Marks<80 (STUDENT)
Show answerHide answer

Correct answer: (A) σ Marks>80 (STUDENT)

Explanation

Selecting tuples (rows) that satisfy a condition uses σ: σ Marks>80 (STUDENT). Π selects columns, not rows.

Q76DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is Denormalization in Relational Database Management System?
  1. ADenormalization is the process of increasing redundancy to improve performance
  2. BDenormalization is used to decrease redundancy in database
  3. CDenormalization is used to decrease the dependence on normal forms
  4. DDenormalization is used to develop a new schema in database
Show answerHide answer

Correct answer: (A) Denormalization is the process of increasing redundancy to improve performance

Explanation

Denormalization deliberately adds redundancy (merging tables or duplicating data) to cut joins and improve read performance.

Q77DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are correct regarding Structured Query Language (SQL)? I. The datatype FLOAT can hold numbers with decimal points. II. The datatype BIGINT occupies 16 bytes.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (A) Only I

Explanation

FLOAT stores numbers with decimal points, but BIGINT occupies 8 bytes, not 16. So only I is correct.

Q78DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement is a part of Data Manipulative Language in Structured Query Language?
  1. ADelete
  2. BAlter table
  3. CCopy
  4. DPaste
Show answerHide answer

Correct answer: (A) Delete

Explanation

DELETE is a DML command because it manipulates data. ALTER TABLE is DDL, and copy/paste are not SQL statements.

Q79DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the cardinality and degree of relation having 50 Tuples and 20 Attributes?
  1. ACardinality – 70 Degree – 30
  2. BCardinality – 20 Degree – 50
  3. CCardinality – 50 Degree – 20
  4. DCardinality – 50 Degree – 50
Show answerHide answer

Correct answer: (C) Cardinality – 50 Degree – 20

Explanation

Cardinality is the number of tuples (50), and degree is the number of attributes (20).

Q80DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are correct regarding COUNT functions in Structured Query Language of Relational Database Management System? I. COUNT(*) is used to count the number of values in a column. II. COUNT() is used to count the number of rows of the query result.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (D) Neither I nor II

Explanation

Both statements are reversed: COUNT(*) counts all rows of the result, while COUNT(column) counts the non-NULL values in a column. So neither is correct.

Q81DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is NOT an element of Database?
  1. ASchema
  2. BRelationships
  3. CConstraints
  4. DFrontend
Show answerHide answer

Correct answer: (D) Frontend

Explanation

A database includes its schema, data, relationships and constraints. A frontend is the user interface application, not part of the database.

Q82DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are correct regarding single row functions in structured query language? I. INSERT() is a numeric function. II. ROUND() is a numeric function. III. LENGTH() is a character function.
  1. ABoth I and II
  2. BBoth II and III
  3. COnly III
  4. DBoth I and III
Show answerHide answer

Correct answer: (B) Both II and III

Explanation

ROUND() is a numeric function and LENGTH() is a character function. INSERT() (e.g., in MySQL) is a string function, not a numeric one.

Q83DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is self join in Database Management System?
  1. AIn a self join, a table is joined to a number
  2. BIn a self-join, a table is joined to itself
  3. CIn a selfjoin, a table is joined with a query
  4. DIn a self-join, two databases are joined
Show answerHide answer

Correct answer: (B) In a self-join, a table is joined to itself

Explanation

A self join joins a table to itself, usually using aliases, e.g., to pair employees with their managers in the same table.

Q84DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which one of the following is NOT a part of the ACID properties of database transaction?
  1. AAtomicity
  2. BConsistency
  3. CInstance
  4. DDurability
Show answerHide answer

Correct answer: (C) Instance

Explanation

ACID stands for Atomicity, Consistency, Isolation and Durability. "Instance" is not one of them.

Q85DSSSB PGT Computer Science (Technical), 11 Jul 2021
In Structured Query Language, what is the GROUP BY clause?
  1. AIt groups the table with same name in the database
  2. BIt groups the rows together that contain the same values in a specific column
  3. CIt combines data from two tables on specific conditions
  4. DIt groups the columns together that contains the same valuesin a specific rows
Show answerHide answer

Correct answer: (B) It groups the rows together that contain the same values in a specific column

Explanation

GROUP BY puts rows with the same values in the given column(s) into groups, usually for aggregates like SUM or COUNT.

Q86DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are correct regarding Data Dictionary in Database Management System? I. Data Dictionary is a collection of definitions, rules and advisories of data designed to be used as a reference with the data warehouse. II. Data Dictionary is the area of memory allocated for data storage.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (A) Only I

Explanation

A data dictionary is a metadata repository that holds definitions, rules and descriptions of the data. It is not a memory area for storing data.

Q87DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is not an example of Simulation and Modeling?
  1. AVideo game
  2. BComputer table
  3. CLogical gates
  4. DFlight simulator
Show answerHide answer

Correct answer: (B) Computer table

Explanation

Video games, flight simulators and logic-gate simulations all model real systems. A computer table is just furniture.

Q88DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is NOT a Data MINING technique?
  1. ALink Analysis
  2. BDatabase Segmentation
  3. CPredictive Modeling
  4. DEvaluation
Show answerHide answer

Correct answer: (D) Evaluation

Explanation

Link analysis, database segmentation (clustering) and predictive modelling are data mining techniques. Evaluation is a general step, not a mining technique.

Q89DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
What is the cardinality of Relation having 500 tuples and 50 attribute?
  1. A500
  2. B50
  3. C450
  4. D2500
Show answerHide answer

Correct answer: (A) 500

Explanation

Cardinality is the number of tuples (rows) in a relation, so it is 500. The number of attributes (50) is the degree.

Q90DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
How many rule does Dr. E.F. codd provides which qualify quality a database as a RDBMS?
  1. A10
  2. B11
  3. C12
  4. D13
Show answerHide answer

Correct answer: (C) 12

Explanation

E.F. Codd gave 12 rules, numbered 1-12 with an extra Rule 0 (the foundation rule), that a DBMS must satisfy to be called fully relational.

Q91DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is a type of connection trap in Entity relationship model? I. Fan-traps II. Chasm-traps
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Fan traps and chasm traps are the two kinds of connection trap in ER modelling. A fan trap gives ambiguous paths between entities, and a chasm trap gives a missing path.

Q92DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following symbol represent one to one cardinality relationship in Entity relationship diagram?
  1. A─○|─ (a line with a circle and one bar)
  2. B─|─ (a line with a single bar)
  3. C─||─ (a line with a double bar)
  4. D─|<─ (a line with a bar and a crow's foot)
Show answerHide answer

Correct answer: (B) ─|─ (a line with a single bar)

Explanation

In crow's-foot notation, a single bar means "one". A line with a single bar marks a one-to-one link. A crow's foot means "many", and a circle means "zero" (optional).

Q93DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is NOT an approach of database design in database management system?
  1. ATop-down approach
  2. BBottom-up approach
  3. CInside-out approach
  4. DUP-down approach
Show answerHide answer

Correct answer: (D) UP-down approach

Explanation

The recognised database design approaches are top-down, bottom-up, inside-out and mixed. There is no "up-down" approach.

Q94DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is an Aggregate operator in structured Query Language?
  1. AMinus
  2. BIntersect
  3. CUnion
  4. DCount
Show answerHide answer

Correct answer: (D) Count

Explanation

COUNT is an aggregate function: it returns one value computed over a set of rows. MINUS, INTERSECT and UNION are set operators.

Q95DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which attribute in HTML table tag defines the number of columns in a column group?
  1. ABorder
  2. BColspan
  3. CRowspan
  4. DSpan
Show answerHide answer

Correct answer: (D) Span

Explanation

The span attribute of <colgroup> or <col> sets how many columns the group covers. Colspan and rowspan are used on table cells (td or th).

Q96DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which is the value of f'(x) at x = 4 from the following table of values? x | 1 | 2 | 3 | 4 f(x) | 20 | 22 | 27 | 34
  1. A9.2
  2. B9
  3. C10.8
  4. D9.5
Show answerHide answer

Correct answer: (D) 9.5

Explanation

Note: the answer key gives (D) 9.5, but with this table Newton's backward formula gives f′(4) = ∇f + ∇²f/2 + ∇³f/3 = 7 + 2/2 − 1/3 ≈ 7.67. No option matches, so the table is probably misprinted.

Q97DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is a invalid relational operator in Java?
  1. A<=
  2. B=>
  3. C!=
  4. D==
Show answerHide answer

Correct answer: (B) =>

Explanation

Java's relational operators are <, >, <=, >=, == and !=. "=>" is not a valid operator in Java.

Q98DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
What is the description of append keyword of visual Basic net keyword?
  1. ABoolean operation
  2. BUsed in the declare statement
  3. CUsed as a symbolic constant in the fileopen function
  4. DAssembly-attribute specifier
Show answerHide answer

Correct answer: (C) Used as a symbolic constant in the fileopen function

Explanation

In VB.NET, Append is used as a symbolic constant (OpenMode.Append) in the FileOpen function, to open a file and add data at its end.

Q99DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
The following keys 22, 28, 23, 12 and 13 are inserted into initially empty hash table of length 9 using open addressing with hash function h(k) = k mod 9 and linear probing. At what index key 13 is inserted?
  1. A4
  2. B5
  3. C6
  4. D7
Show answerHide answer

Correct answer: (C) 6

Explanation

22→4, 28→1, 23→5, 12→3. 13 mod 9 = 4 is taken, so linear probing tries 5 (taken), then 6, which is free. So 13 goes to index 6.

Q100DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
Which gate is represented by the following truth table? A | B | C | Output 0 | 0 | 0 | 1 0 | 0 | 1 | 1 0 | 1 | 0 | 1 0 | 1 | 1 | 1 1 | 0 | 0 | 1 1 | 0 | 1 | 1 1 | 1 | 0 | 1 1 | 1 | 1 | 0
  1. ANOR
  2. BNAND
  3. CXOR
  4. DXNOR
Show answerHide answer

Correct answer: (B) NAND

Explanation

The output is 0 only when all inputs are 1 and 1 otherwise, which is (ABC)', the NAND function.

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