Digital Logic & Number Systems Previous Year Questions
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.
The logic circuit of binary adder which is used to add two 4-bits binary numbers, requires ______ half adder (s) and ______ full adder (s).
A4 , 0
B1 , 3
C2 , 2
D3 , 1
Show answerHide answer
Correct answer: (B) 1 , 3
Explanation
A 4-bit parallel (ripple-carry) adder uses one half adder for the least significant bit, which has no carry-in, and three full adders for the other three bits.
The following diagram depicts a ______ cell.
Diagram: a box labelled "Binary Storage cell" with an Input arrow going in, an Output arrow coming out, and two control lines, Read and Write, entering it from below.
AStorage
BMobile
CMemory
DRegister
Show answerHide answer
Correct answer: (C) Memory
Explanation
A binary storage cell with input, output and Read/Write control lines is the basic building block of a memory. Each cell stores one bit, which is read or written as the control lines select.
Which of the following options states the correct storage - device hierarchy in terms of decreasing access time?
AMagnetic tape, magnetic disk, cache, main memory
BMagnetic disk, optical disk, main memory, register
CMagnetic tape, magnetic disk, main memory, register
DRegister, main memory, magnetic disk, magnetic tape
Show answerHide answer
Correct answer: (C) Magnetic tape, magnetic disk, main memory, register
Explanation
Decreasing access time means going from slowest to fastest: magnetic tape, magnetic disk, main memory, register. Option A wrongly puts cache before main memory.
Which of the following Boolean expression correctly represents the logic circuit diagram ?
Circuit: A and B feed a NOR gate; C and D feed a second NOR gate; the outputs of both NOR gates feed an AND gate, whose output is the circuit output.
A(A+B) . (C+D)
B(A . B)' + (C . D)'
CA . B + C . D
D(A+B)' . (C+D)'
Show answerHide answer
Correct answer: (D) (A+B)' . (C+D)'
Explanation
The NOR gates give (A+B)' and (C+D)', and the AND gate combines them, so the output is (A+B)' · (C+D)'.
In which addressing mode, the operand is given explicitly in the instruction (example instruction : ADD R4, #3) ?
ABased Indexed mode
BAbsolute mode
CImmediate mode
DRegister indirect mode
Show answerHide answer
Correct answer: (C) Immediate mode
Explanation
In immediate addressing the operand value itself is part of the instruction; in ADD R4, #3 the constant 3 (marked by #) is used directly, with no memory lookup.
______ memory is intended to give memory speed approaching that of the fastest memories available, and at the same time provide a large memory size at the price of less expensive types of semiconductor memories.
ARegister
BCounter
CFlip flop
DCache
Show answerHide answer
Correct answer: (D) Cache
Explanation
Cache is a small, fast memory between the CPU and main memory. It gives near-register speed for frequently used data, while the large cheaper main memory provides the size.
Identify the Boolean expression from the given options, which is equivalent to the Logic Circuit Diagram.
Circuit: A and B' (B through a NOT gate) feed an OR gate; the OR output and C' (C through a NOT gate) feed an AND gate; the AND output and D feed a second OR gate, whose output is the circuit output.
A(A + B').C' + D
BA.B' + C'.D
CA+B'.C'+D
D(A.B' + C').D
Show answerHide answer
Correct answer: (A) (A + B').C' + D
Explanation
The first OR gate gives A + B', which is ANDed with C' to give (A + B')·C'. This result is ORed with D, so the output is (A + B')·C' + D.
What is the function ofs the program counter register?
AIt holds the operand address
BIt holds the address of current instruction
CIt holds the address of previous instruction
DIt holds the address of next instruction
Show answerHide answer
Correct answer: (D) It holds the address of next instruction
Explanation
The program counter always holds the address of the next instruction to be fetched; it is incremented (or loaded with a branch target) after each fetch.
When Bus Grant (BG) = 1 in direct memory access (DMA) transfer, then what function read line and write lines perform?
ARead line and write line act as input line allowing CPU to communicate with internal DMA register
BRead line act as input line and write line act as output line from DMA
CRead line act as output line and write line act as input line from DMA controller
DRead line and write line act as output lines from DMA controller
Show answerHide answer
Correct answer: (D) Read line and write line act as output lines from DMA controller
Explanation
When BG = 1 the CPU has given up the buses and the DMA controller is the bus master, so its RD and WR lines become outputs that control memory reads and writes.
Which of the logic equation is the represented canonical sum of product form for the given K-Map?
(K-map columns AB = 00, 01, 11, 10; rows CD = 00, 01, 11, 10)
Row CD=00: 1 _ 1 _
Row CD=01: _ 1 _ 1
Row CD=11: _ _ 1 _
Row CD=10: _ _ _ _
What is the correct answer of the given statements in the given order?
I. Gate in which output of logical gate is high when all inputs are high is ________
II. Half of byte is known as ________
III. A flip-flop whose output follows the input when triggered is ________
ANAND gate, bit, T-flip-flop
BOR gate, nibble, T-flip-flop
CAND gate, nibble, D-flip-flop
DNOR gate, byte, S-R flip-flop
Show answerHide answer
Correct answer: (C) AND gate, nibble, D-flip-flop
Explanation
An AND gate gives a high output only when all inputs are high, half a byte (4 bits) is a nibble, and a D flip-flop's output follows its D input on the clock edge.
What is output of Y in the given circuit?
I. BC + AC'
II. (A + C)(B + C')
Circuit: inputs A, B, C. An AND gate takes B and C; its output is ORed with A (first OR). A second AND gate takes A and NOT C; its output is ORed with B (second OR). The outputs of the two OR gates feed a final AND gate whose output is Y.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Y = (A + BC)(B + AC') = AB + AC' + BC. AB is the consensus term of BC and AC', so Y = BC + AC'. Also (A + C)(B + C') = AB + AC' + BC, the same function, so both are correct.
In the given sequential circuit if the initial value of Q1Q0 = 00, then what are the next three values of Q1Q0?
Circuit: two T flip-flops in series. The first has T = 1 and is driven by the clock; its output Q0 is the clock input of the second flip-flop, whose T input is also 1 and whose output is Q1.
A11, 10, 00
B11, 10, 01
C10, 11, 01
D10, 00, 01
Show answerHide answer
Correct answer: (B) 11, 10, 01
Explanation
Q0 toggles on every clock and Q1 toggles whenever Q0 goes 0→1 (it is clocked by Q0). From 00: Q0→1 so Q1 toggles (11); then Q0→0 (10); then Q0→1 so Q1 toggles (01). This is a down counter.
Which of the following statement(s) is/are true about Break All Visual Basic toolbar buttons?
I. Delete the selected item
II. Pauses execution of your program
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (B) Only II
Explanation
The Break All button pauses (breaks) execution of the running program so it can be debugged. It does not delete items.
Which of the following statement(s) is/are true regarding Data Communication?
I. Half duplex communication is multidirectional communication.
II. Full duplex communication is bidirectional communication.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (B) Only II
Explanation
Half duplex is two-way but only one direction at a time, not "multidirectional". Full duplex is bidirectional at the same time. So only II is true.
'Preparing any project in science/mathematics may give pleasure to the pupil as result of which he/she is motivated to undertake similar activities on his/her own.' This given statement describes which of the following type(s) of motivation?
I. Intrinsic Motivation
II. Extrinsic Motivation
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (A) Only I
Explanation
The motivation comes from the pleasure of doing the activity itself, not from an outside reward, so it is intrinsic motivation.
Which of the following statement(s) is/are not correct?
I. Conditioning of elicited behaviours defines classical conditioning.
II. Conditioning of emitted behaviours defines operant conditioning.
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: classical conditioning conditions elicited (respondent) behaviour, and operant conditioning conditions emitted behaviour. So neither is incorrect.
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.