CUET PG 2023 Computer PYQ — The number of 1's in the binary representation of (3*4096+15*256+… | Mathem Solvex | Mathem Solvex
Tip:A–D to answerE for explanationV for videoS to reveal answer
CUET PG 2023 — Computer PYQ
CUET PG | Computer | 2023
The number of 1's in the binary representation of (3*4096+15*256+5*16+3) are
Choose the correct answer:
A.
8
B.
29
C.
10
(Correct Answer)
D.
12
Correct Answer:
10
Explanation
Decimal value = (3 * 4096 + 15 * 256 + 5 * 16 + 3) It can be written as: 3×163+15×162+5×161+3×160 Hexadecimal representation: = (3F53)₁₆ = (0011 1111 0101 0011)₂ The number of 1's is 10
Explanation
Decimal value = (3 * 4096 + 15 * 256 + 5 * 16 + 3) It can be written as: 3×163+15×162+5×161+3×160 Hexadecimal representation: = (3F53)₁₆ = (0011 1111 0101 0011)₂ The number of 1's is 10