Digital Logic & Number Systems Previous Year Questions
29 Digital Logic & Number Systems (Computer Science) questions asked in BPSC TRE previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.
When a key is pressed on keyboard, which standard is used for converting the keystroke into the corresponding bits?
AANSI
BASCII
CEBCDIC
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (A) ANSI
Explanation
Note: the official key gives (A) ANSI; the character code most commonly named for keystroke-to-bits conversion is ASCII (B). The key is kept as printed.
1234 = 4×256 + 13×16 + 2, so it is 4D2 in hex. In octal, 2×512 + 3×64 + 2×8 + 2 = 1234 gives 2322, and binary 100 1101 0010 is 10011010010.
Q9BPSC TRE 3.0 (2024) Computer Science Class 11-12
When performing BCD addition, what is the maximum value that can be represented in a single BCD digit?
A2
B10
C15
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (E) None of the above
Explanation
A BCD digit uses 4 bits but only codes 0 to 9, so its maximum value is 9. That is not among the options; any sum above 9 needs +6 correction.
Q10BPSC TRE 3.0 (2024) Computer Science Class 11-12
Convert the binary number 1011.1101 to its decimal equivalent. Which of the following is the correct decimal value?
A11.75
B12.125
C13.5
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (E) None of the above
Explanation
1011 = 11, and .1101 = 0.5 + 0.25 + 0 + 0.0625 = 0.8125, so the value is 11.8125. None of the listed values matches.
Q11BPSC TRE 3.0 (2024) Computer Science Class 11-12
What is De Morgan’s theorem used for in digital logic?
ASimplifying Boolean expressions
BImplementing NAND gates
CPerforming binary addition
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (D) More than one of the above
Explanation
De Morgan's theorems, (AB)' = A' + B' and (A + B)' = A'B', are used to simplify Boolean expressions and to turn circuits into NAND/NOR-only forms, so both A and B are correct.
Q12BPSC TRE 1.0 (2023) Computer Science Class 11-12
What are the canonical forms of Boolean expressions?
AOR and XOR
BNOR and XNOR
CSOM and POM
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (C) SOM and POM
Explanation
The canonical forms are sum of minterms (SOM, or canonical SOP) and product of maxterms (POM, or canonical POS).
Q13BPSC TRE 1.0 (2023) Computer Science Class 11-12
AC(A + B)DE
B[C(A + B)D + E′]
C[[C(A + B)D]E′]
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (A) C(A + B)DE
Explanation
The circuit gives A + B from the OR gate, then three AND gates in turn multiply it by C, D and E. So Y = C(A + B)DE, with E not inverted.
Q14BPSC TRE 1.0 (2023) Computer Science Class 11-12
Boolean algebra can be used
Afor designing the digital computers
Bin building logic symbols
Cin circuit theory
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (D) More than one of the above
Explanation
Boolean algebra is used in designing digital computers, in building logic symbols and gates, and in switching circuit theory, so more than one option applies.
Q15BPSC TRE 1.0 (2023) Computer Science Class 11-12
To display time in railway stations which digital circuit is used?
ASeven-segment decoder
BEight-segment encoder
C8 : 3 multiplexer
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (A) Seven-segment decoder
Explanation
Digital clocks at stations show digits on seven-segment displays, which are driven by seven-segment (BCD-to-7-segment) decoders.
Q16BPSC TRE 2.0 (2023) Computer Science Class 11-12
The cost of storing a bit is minimum in
Acache
Bregister
Cmagnetic tape
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (C) magnetic tape
Explanation
Magnetic tape is the cheapest storage per bit, and also the slowest. Registers and cache are the fastest and most expensive, so they cost the most per bit.
Q17BPSC TRE 2.0 (2023) Computer Science Class 11-12
The register that contains the address of the next instruction to be executed is called
Aprogram counter
Binstruction register
Caccumulator
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (A) program counter
Explanation
The program counter (PC) holds the address of the next instruction to be fetched. It is incremented after each fetch.
Q18BPSC TRE 2.0 (2023) Computer Science Class 11-12
The register that contains the instruction that is being executed is called
Aaccumulator
Bprogram counter
Cinstruction register
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (C) instruction register
Explanation
The instruction register (IR) holds the instruction that is currently being decoded and executed.
Q19BPSC TRE 2.0 (2023) Computer Science Class 11-12
The number of 1’s in the binary representation of the value of the decimal expression 16³ × 9 + 16² × 7 + 16 × 5 + 3 is
A15
B9
C12
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (B) 9
Explanation
The expression is (9753)₁₆ = 1001 0111 0101 0011₂. The 1s per group are 2 + 3 + 2 + 2 = 9.
Q20BPSC TRE 2.0 (2023) Computer Science Class 11-12
The Boolean expression x + x′y equals
Ax + y
Bx + xy
Cy + yx
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (A) x + y
Explanation
x + x′y = (x + x′)(x + y) = 1·(x + y) = x + y, using the distributive law.
Q21BPSC TRE 2.0 (2023) Computer Science Class 11-12
The Boolean expression AB + AB′ + A′C + AC is independent of Boolean variable
AA
BB
CC
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (B) B
Explanation
AB + AB′ = A(B + B′) = A, and A + A′C + AC = A + C. The result A + C does not contain B.
Q22BPSC TRE 2.0 (2023) Computer Science Class 11-12
The Boolean expression A + BC equals
A(A′ + B)(A′ + C)
B(A + B)(A′ + C)
C(A + B)(A + C)
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (C) (A + B)(A + C)
Explanation
By the distributive law of Boolean algebra, A + BC = (A + B)(A + C).
Q23BPSC TRE 2.0 (2023) Computer Science Class 11-12
The Boolean expression x + xy will be equal to
Ax
By
Cx + y
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (A) x
Explanation
By the absorption law, x + xy = x(1 + y) = x.
Q24BPSC TRE 2.0 (2023) Computer Science Class 11-12
The Boolean expression x(x + y) is equal to
Ax
By
Cxy
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (A) x
Explanation
By absorption, x(x + y) = x + xy = x.
Q25BPSC TRE 2.0 (2023) Computer Science Class 11-12
If x is a Boolean variable, then (((x′)′)′)′ will be
Ax′
Bx
Cx + x′
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (B) x
Explanation
There are four complements in a row, an even number, so they cancel out and the result is x.
Q26BPSC TRE 2.0 (2023) Computer Science Class 11-12
In two-valued Boolean algebra, the maximum number of Boolean functions for two variables will be
A8
B12
C16
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (C) 16
Explanation
With n variables there are 2^(2ⁿ) Boolean functions. For n = 2 that is 2⁴ = 16.
Q27BPSC TRE 2.0 (2023) Computer Science Class 11-12
Simplified Boolean function of Boolean function F = A′C + A′B + AB′C + BC is
AF = C + A′B
BF = A′B + B′C
CF = BC + A′B
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (A) F = C + A′B
Explanation
F covers minterms 1, 2, 3, 5 and 7. Minterms 1, 3, 5 and 7 group to C, and 2 and 3 group to A′B, so F = C + A′B.
Q28BPSC TRE 2.0 (2023) Computer Science Class 11-12
Which of the following logic gates is called universal gate?
AAND
BOR
CNAND
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (C) NAND
Explanation
NAND (like NOR) is a universal gate, because AND, OR and NOT can all be built from NAND gates alone.
Q29BPSC TRE 2.0 (2023) Computer Science Class 11-12
The minimum number of NAND gates required to implement Boolean function f = x′y + xy′ is
A3
B4
C6
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (B) 4
Explanation
x′y + xy′ is XOR, and XOR needs at least 4 NAND gates. One NAND makes (xy)′, two NANDs combine it with x and with y, and a fourth NAND joins their outputs.
How to use these BPSC TRE Computer Science questions
Every question here was asked in a real BPSC TRE 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 BPSC TRE papers as timed tests to check your speed under exam conditions.