SV
StudyVirus
Get our free app!Download Free

Binary System — Set 4

Computers · बाइनरी सिस्टम · Questions 3140 of 60

00
0/10
1

What is the binary equivalent of decimal 5?

💡

Correct Answer: D. 101

Decimal 5 is represented as 101 because it is the sum of 4 (2^2) and 1 (2^0). The middle bit representing 2 is set to zero. This is a common conversion used in introductory programming exercises.

2

Which logic gate is known as an 'Inverter'?

💡

Correct Answer: C. NOT

The NOT gate is called an inverter because it flips the input to its opposite state. If the input is high (1), the output becomes low (0). It is essential for creating complex logical conditions in software.

3

What is the binary equivalent of the decimal number 2?

💡

Correct Answer: D. 10

The number 2 is written as 10 in binary because the value '2' exceeds the capacity of the first digit slot. A '1' is placed in the second slot, which has a weight of 2^1. This is the first number that requires more than one bit.

4

How many different combinations can be made with 3 bits?

💡

Correct Answer: C. 8

The number of combinations is calculated as 2 raised to the power of the number of bits. Thus, 2^3 equals 8 unique patterns (000 to 111). This is the basis of the octal number system used in some computing contexts.

5

In a computer, what does a low voltage signal typically represent in binary?

💡

Correct Answer: D. Binary 0

By convention, low voltage or a 'low' state is used to represent binary 0. High voltage or a 'high' state represents binary 1. These electronic pulses allow the physical components to perform mathematical operations.

6

What is the binary equivalent of decimal 7?

💡

Correct Answer: C. 111

Decimal 7 is 4 + 2 + 1, so it is represented as 111 in binary. It uses the maximum capacity of three bits. In positional notation, it is (1*2^2) + (1*2^1) + (1*2^0).

7

Which logic operation is represented by the '+' sign in Boolean algebra?

💡

Correct Answer: B. OR

In Boolean expressions, the '+' symbol denotes the OR operation. It signifies that the result is true if either variable A or variable B is true. The multiplication symbol '.' is similarly used for the AND operation.

8

Which number system is base-8 and uses three binary bits per digit?

💡

Correct Answer: D. Octal

The octal system uses digits 0-7 and is often used to represent binary data in a more compact way. Every octal digit corresponds to exactly three bits. It was more common in older computing systems but is still used for file permissions.

9

What is the binary value of the decimal number 6?

💡

Correct Answer: B. 110

Decimal 6 is 4 + 2, which results in the binary pattern 110. The 4's place and 2's place are both active, while the 1's place is zero. Converting small integers to binary is a key skill in programming logic.

10

What is the result of the binary AND operation on bits 1 and 0?

💡

Correct Answer: B. 0

The AND operation only results in 1 if both inputs are 1. Since one of the inputs is 0, the output is 0. This is the logical equivalent of 'False' in programming conditions.