UGC NET CS 2012 Dec-Paper-2
November 5, 2023UGC NET CS 2012 Dec-Paper-2
November 5, 2023Question 5191 – UGC NET CS 2012 Dec-Paper-2
The number of bit strings of length eight that will either start with a 1 bit or end with two bits 00 shall be
Correct Answer: D
Question 10 Explanation:
→ Number of bit strings of length 8 that start with 1: 27 = 128.
→ Number of bit strings of length 8 that end with 00: 26 = 64.
→ Number of bit strings of length 8 that start with 1 and end with 00: 25 = 32.
→ Applying the subtraction rule, the number is 128+64−32 = 160
→ Number of bit strings of length 8 that end with 00: 26 = 64.
→ Number of bit strings of length 8 that start with 1 and end with 00: 25 = 32.
→ Applying the subtraction rule, the number is 128+64−32 = 160
32
64
128
160
Subscribe
Login
0 Comments