Digital Logic Circuits and Discrete Mathematical Structures Topic Wise Pyq

31. A binary-to-gray code converter is an example of:
Binary-to-Gray code converter किसका उदाहरण है?
(Bihar STET C.S. 2023)
A. Encoder
B. Decoder
C. Comparator
D. Multiplexer

Correct Answer: A

Explanation (EN): An encoder converts data from one code to another. Binary → Gray conversion is a type of encoding process. Hence, it is an Encoder.

Explanation (HI): Encoder एक प्रकार का सर्किट होता है जो एक code को दूसरे code में बदलता है। Binary से Gray conversion भी encoding है। इसलिए यह Encoder का उदाहरण है।

32. Which code changes only one bit between successive numbers?
ऐसा कौन-सा code है जिसमें लगातार संख्याओं में केवल 1 bit बदलता है?
(Bihar STET C.S. 2023)
A. BCD
B. ASCII
C. Gray Code
D. EBCDIC

Correct Answer: C

Explanation (EN): In Gray Code, only one bit changes between two consecutive values. This reduces error in digital circuits.

Explanation (HI): Gray Code में लगातार दो संख्याओं के बीच केवल 1 bit बदलता है। इससे error कम होता है।

33. Number of bits required to represent decimal 4096:
Decimal संख्या 4096 को binary में दर्शाने के लिए कितने bits चाहिए?
(KVS PGT C.S. 2017)
A. 16
B. 10
C. 12
D. 13

Correct Answer: D

Explanation (EN): 4096 = 2¹² Binary = 1 followed by 12 zeros → total 13 bits

Explanation (HI): 4096 = 2¹² Binary में यह 1 के बाद 12 zero होंगे → कुल 13 bits

34. Octal equivalent of hexadecimal 132A:
Hexadecimal 132A का octal equivalent क्या है?
(KVS PGT C.S. 2017)
A. 46252
B. 11450
C. 11452
D. 46250

Correct Answer: C

Explanation (EN): Convert hex → binary → octal 132A₁₆ = 0001 0011 0010 1010 Group in 3 bits → 001 001 100 101 010 → 1 1 4 5 2 Answer = 11452₈

Explanation (HI): पहले hex को binary में बदलते हैं, फिर 3-3 bits में group करते हैं अंतिम उत्तर = 11452₈

35. Radix of number system having digits 0,1,X:
यदि digits 0,1,X हैं तो radix क्या होगा?
(KVS PGT C.S. 2013)
A. 1
B. 2
C. 3
D. 4

Correct Answer: C

Explanation (EN): Total digits = 3 → radix = 3

Explanation (HI): Digits = 3 (0,1,X) इसलिए radix = 3

36. Hexadecimal equivalent of (3564)₁₀:
(3564)₁₀ का hexadecimal equivalent क्या है?
(NVS PGT C.S. 2022)
A. DAD
B. DEF
C. DEC
D. DAC

Correct Answer: C

Explanation (EN): 3564 ÷ 16 repeatedly → result = DEC

Explanation (HI): 3564 को 16 से divide करने पर hexadecimal रूप DEC मिलता है।

37. Binary equivalent of (173)₈:
(173)₈ का binary equivalent क्या है?
(NVS PGT C.S. 2022)
A. 1110111
B. 1111011
C. 1101111
D. 1101011

Correct Answer: B

Explanation (EN): 1 → 001 7 → 111 3 → 011 Combine → 001111011 → remove leading zero → 1111011

Explanation (HI): 1 → 001 7 → 111 3 → 011 जोड़ने पर → 1111011

38. Binary equivalent of (11)₁₀:
(11)₁₀ का binary equivalent क्या है?
(EMRS PGT C.S. 2023)
A. 1101
B. 1001
C. 1111
D. 1011

Correct Answer: D

Explanation (EN): 11 ÷ 2 repeatedly → binary = 1011

Explanation (HI): 11 को 2 से बार-बार divide करने पर binary = 1011

39. ASCII code of 'a' (lowercase):
ASCII में 'a' का decimal value क्या है?
(EMRS PGT C.S. 2023)
A. 90
B. 97
C. 122
D. 65

Correct Answer: B

Explanation (EN): Lowercase 'a' ASCII value = 97

Explanation (HI): छोटा 'a' का ASCII value = 97

40. Decimal equivalent of (ADD)₁₆:
(ADD)₁₆ का decimal equivalent क्या है?
(EMRS PGT C.S. 2023)
A. 2871
B. 2178
C. 2187
D. 2781

Correct Answer: D

Explanation (EN): A=10, D=13 = 10×256 + 13×16 + 13 = 2560 + 208 + 13 = 2781

Explanation (HI): A=10, D=13 = 2560 + 208 + 13 = 2781