Digital Logic & Number Systems Previous Year Questions (page 4)
190 Digital Logic & Number 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, b are the inputs and y is the output of a two input AND logic gate, then which of the
following is the correct expression for the output of the AND logic gate?
Ay = a'.b'
By = a.b'
Cy = a'.b
Dy = a.b
Show answerHide answer
Correct answer: (D) y = a.b
Explanation
An AND gate gives 1 only when both inputs are 1, so y = a·b. The options with complemented inputs describe other functions.
Which addressing mode uses the actual address of the data in the instruction?
AIndirect addressing
BImmediate addressing
CDirect addressing
DRegister addressing
Show answerHide answer
Correct answer: (C) Direct addressing
Explanation
In direct (absolute) addressing, the instruction's address field holds the actual memory address of the operand. Immediate addressing holds the data itself and indirect holds the address of the address.
Which of the following statements is false about universal logic gates?
AAll basic logic gates can be implemented through universal logic gates.
BNOR gate is known as universal logic gate.
CNAND gate is known as universal logic gate.
DAll basic logic gates cannot be implemented using universal logic gates.
Show answerHide answer
Correct answer: (D) All basic logic gates cannot be implemented using universal logic gates.
Explanation
NAND and NOR are universal gates precisely because AND, OR and NOT (and hence every other gate) can be built from them alone, so the statement that basic gates cannot be built from them is false.
Which of the following statements is false about simplification of Boolean functions using
Karnaugh Map technique?
AKarnaugh Map technique is used to simplify Product of Sum (POS) form of Boolean
functions.
BIn Karnaugh Map, the rows and columns are represented in binary code sequence.
CIn Karnaugh Map, you group adjacent squares in the form of power of two and try to
cover as many minterms or maxterms as you can in one group.
DKarnaugh Map technique is used to simplify Sum of Product (SOP) form of Boolean
functions.
Show answerHide answer
Correct answer: (B) In Karnaugh Map, the rows and columns are represented in binary code sequence.
Explanation
In a K-map, rows and columns are labelled in Gray code (00, 01, 11, 10) so adjacent cells differ by one bit; plain binary order (00, 01, 10, 11) would break adjacency. K-maps simplify both SOP and POS forms.
Which of the following is NV RAM memory that retains its data even when turned off?
ACache memory
BFlash memory
CRegister memory
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.
Which of the following statements is true about Home Location Register (HLR) and Visitor Location Register (VLR)?
AVLR is not responsible for the MS (Mobile Station) to inform the MLR about location changes.
BVLR is not responsible for the MS (Mobile Station) to inform the HLR about location changes.
CVLR is responsible for the MS (Mobile Station) to inform the HLR about location changes.
DHLR is responsible for the MS (Mobile Station) to inform the VLR about location changes.
Show answerHide answer
Correct answer: (C) VLR is responsible for the MS (Mobile Station) to inform the HLR about location changes.
Explanation
When a mobile station enters a new area, the serving VLR registers it and informs the HLR of the location change, so the HLR always knows which VLR area the subscriber is in.
In which of the following type of addressing mode, the instruction specifies a register
in the CPU whose contents give the address of the operand in memory?
ARegister indirect mode
BIndirect address mode
CImplied mode
DImmediate mode
Show answerHide answer
Correct answer: (A) Register indirect mode
Explanation
In register indirect mode the chosen register holds the memory address of the operand, not the operand itself.
Which of the following statement(s) is/are correct regarding Assembly language?
I. An assembler converts (or assembles) the symbolic program of an Assembly
language into its equivalent machine program.
II. A program written in an assembly language is machine dependent.
ABoth I and II
BOnly II
COnly I
DNeither I nor II
Show answerHide answer
Correct answer: (A) Both I and II
Explanation
An assembler translates assembly mnemonics into machine code, and because assembly instructions map to a specific processor's instruction set, the program is machine dependent. Both are true.
Which of the following statement is correct regarding point-to-point connection in the
data communication?
I. It provides a dedicated link between two devices.
II. It is a timeshared connection.
AOnly II
BBoth I and II
CNeither I nor II
DOnly I
Show answerHide answer
Correct answer: (D) Only I
Explanation
A point-to-point connection gives a dedicated link between exactly two devices. A shared, timeshared link describes a multipoint connection, so only I is correct.
The E-waste (management) rules 2016 of India, recognizes two broad categories: IT
and telecommunication equipment and consumer electrical and electronics including
which of the following material?
I. Fluorescent
II. Mercury
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
The E-Waste (Management) Rules 2016 cover IT and telecom equipment and consumer electrical and electronics, and also include compact fluorescent lamps (CFL) and other mercury-containing lamps. So both apply.
ASCII (American Standard Code for Information Interchange) can only handle ______
or at most ______ languages and that shows its limitation to handle all world languages.
A2, 5
B1, 2
C1, 5
D3, 4
Show answerHide answer
Correct answer: (B) 1, 2
Explanation
ASCII uses 7 bits (128 characters), enough mainly for English, so it can handle only one, or at most two, languages.
Which of the following statement(s) is/are correct regarding AND logic gate?
I. The AND gate produces the output value 1 if input A and input B are both equal to 1.
II. The algebraic operation symbol of the AND function is the same as the
multiplication symbol of ordinary arithmetic.
ANeither I nor II
BOnly I
CBoth I and II
DOnly II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
AND outputs 1 only when both inputs are 1, and it is written with the multiplication symbol (A·B). Both are correct.
Which of the following is an example of a combinational circuit?
ACounter
BShift Register
CClock
DEncoder
Show answerHide answer
Correct answer: (D) Encoder
Explanation
An encoder's output depends only on its present inputs, so it is a combinational circuit. Counters and shift registers have memory, which makes them sequential.
What would be the 2's complement representation of the —15 decimal value?
A1001
B1111111
C1111
D10001
Show answerHide answer
Correct answer: (C) 1111
Explanation
Note: the answer key gives (C), but 1111 is −1 in 4-bit two's complement, and −15 cannot fit in 4 bits. With 5 bits, 15 = 01111, so −15 = 10001 (option D).
What is the size of the computer accumulator register?
A8 bytes
B16 bytes
C8 KB
D4 bytes
Show answerHide answer
Correct answer: (D) 4 bytes
Explanation
The accumulator's size equals the processor's word length. For a 32-bit processor it is 32 bits = 4 bytes.
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.