UGC NET CS 2009 Dec-Paper-2

October 10, 2023

UGC NET CS 2009 Dec-Paper-2

October 10, 2023

UGC NET CS 2009 Dec-Paper-2

October 10, 2023

UGC NET CS 2009 Dec-Paper-2

October 10, 2023

UGC NET CS 2009 Dec-Paper-2

Question 10
How many 1’s are present in the binary representation of 3 × 512 + 7 × 64 + 5 × 8 + 3
A
8
B
9
C
10
D
11
Question 10 Explanation: 
Given expression is 3 × 512 + 7 × 64 + 5 × 8 + 3
We can write above statement based on precedence is (3 * 512) + (7 * 64) + (5 * 8) + 3
Step-1: 1536+448+40+3
Step-2: (2027)10
Step-3: Equivalent binary number is (‭011111101011‬)2
Note: Total number of 1’s is 9.
Correct Answer: B
Question 10 Explanation: 
Given expression is 3 × 512 + 7 × 64 + 5 × 8 + 3
We can write above statement based on precedence is (3 * 512) + (7 * 64) + (5 * 8) + 3
Step-1: 1536+448+40+3
Step-2: (2027)10
Step-3: Equivalent binary number is (‭011111101011‬)2
Note: Total number of 1’s is 9.

Leave a Reply

Your email address will not be published. Required fields are marked *