Aspirant Academy

MCQ

Basic Computer: Number Systems & Codes MCQ - Practice Questions with Answers

Solve 15 Basic Computer: Number Systems & Codes questions for RAS/RPSC preparation.

Practice questions

Q1In the binary number 1011, what is its decimal value?

A 11
B 10
C 13
D 15
Explanation

Binary is a base-2 number system, so each place represents a power of 2. For 1011, read from right to left: 1 × 2^0 = 1, 1 × 2^1 = 2, 0 × 2^2 = 0, and 1 × 2^3 = 8. Adding these place values gives 8 + 0 + 2 + 1 = 11. The cue in the question is the word "binary", so the digits must be evaluated with powers of 2, not powers of 10.

Q2Assertion (A): In BCD, each decimal digit is represented separately by a 4-bit binary code. Reason (R): For example, decimal 59 is written in BCD as 0101 1001, not as the pure binary form of 59. Choose the correct option.

A Both A and R are true, and R is the correct explanation of A.
B Both A and R are true, but R is not the correct explanation of A.
C A is true, but R is false.
D A is false, but R is true.
Explanation

BCD means Binary Coded Decimal. Its key idea is not to convert the whole decimal number into one binary value. Instead, each decimal digit is converted separately into its 4-bit binary form. In the stem, 5 becomes 0101 and 9 becomes 1001, so decimal 59 is written as 0101 1001 in BCD. This example proves the assertion and explains why BCD is different from pure binary conversion. Therefore both A and R are true, and R explains A.

Q3Which binary number is equal to the decimal number 13?

A 1101
B 1011
C 1110
D 1001
Explanation

In the binary system, place values are powers of 2 from right to left: 1, 2, 4, 8 and so on. To write decimal 13 in binary, split it into powers of 2: 13 = 8 + 4 + 1. Therefore the bits for 8, 4 and 1 are set to 1, while the bit for 2 is 0. Reading the four bits in order gives 1101. This matches option A.

Q4Consider the following statements about ASCII. Statement 1: ASCII is a character encoding standard used to represent letters, digits and control characters in computers. Statement 2: Standard ASCII originally used 7 bits to represent characters. Which of the above statements is/are correct?

A Statement 1 only
B Statement 2 only
C Both Statement 1 and Statement 2
D Neither Statement 1 nor Statement 2
Explanation

ASCII stands for a widely used character encoding scheme in basic computer studies. It assigns numeric codes to characters such as English letters, digits, punctuation marks and control characters, so Statement 1 is correct. Standard ASCII is historically a 7-bit code, giving 128 possible code values. Extended versions later used 8 bits, but the question says standard ASCII originally, which points to 7 bits. Therefore both statements are correct, and option C is the defensible answer.

Q5For the hexadecimal number system, identify the correct statement.

A It has base 16 and uses 0-9 and A-F as symbols.
B It has base 8 and uses only the digits 0-7.
C It has base 2 and uses only 0 and 1.
D It has base 10 and uses the digits 0-9 only.
Explanation

The cue in the question is the hexadecimal number system. Hexadecimal means base 16. Since ordinary digits provide only ten symbols, hexadecimal uses 0 to 9 for the first ten values and A to F for values 10 to 15. This is why one hexadecimal digit can represent four binary bits. Options B, C and D describe octal, binary and decimal systems respectively, so option A is the correct statement.

You've seen 5 of 15 sample questions

Unlimited practice on Basic Computer: Number Systems & Codes comes with the RAS Test Series + Practice pack or Gate Pass.

More questions

6Assertion (A): In 8421 BCD, the decimal digit 9 is represented as 1001. Reason (R): In BCD, each decimal digit is encoded separately using a 4-bit binary code. Choose the correct answer.

ABoth A and R are true, and R is the correct explanation of A.
BBoth A and R are true, but R is not the correct explanation of A.
CA is true, but R is false.
DA is false, but R is true.

7In a computer system, which number system uses only the symbols 0 and 1 to represent data internally?

ABinary number system
BDecimal number system
COctal number system
DHexadecimal number system

8Which of the following conversions from decimal to binary is correct?

A25 decimal = 11001 binary
B25 decimal = 10101 binary
C25 decimal = 11100 binary
D25 decimal = 10011 binary

9Which one of the following statements about number systems and binary codes is incorrect?

AStandard ASCII is a 7-bit character code.
BBCD represents each decimal digit using four binary bits.
CUnicode can represent characters from many languages and scripts.
DOctal number system uses the digits 0 to 8.

10Match List I with List II. List I: I. Binary II. Octal III. Decimal IV. Hexadecimal List II: 1. Base 8 2. Base 16 3. Base 2 4. Base 10

AI-3, II-1, III-4, IV-2
BI-1, II-3, III-4, IV-2
CI-3, II-4, III-1, IV-2
DI-4, II-1, III-3, IV-2

11Match the number system with the set of symbols it uses. List I: I. Binary II. Octal III. Decimal IV. Hexadecimal List II: 1. 0 to 9 and A to F 2. 0 to 7 3. 0 and 1 4. 0 to 9

AI-3, II-2, III-4, IV-1
BI-2, II-3, III-4, IV-1
CI-3, II-4, III-2, IV-1
DI-4, II-2, III-3, IV-1

12Match List I with List II. List I: I. Binary II. Octal III. Decimal IV. Hexadecimal List II: a. Base 10 b. Base 2 c. Base 16 d. Base 8

AI-b, II-d, III-a, IV-c
BI-d, II-b, III-a, IV-c
CI-b, II-a, III-d, IV-c
DI-c, II-d, III-a, IV-b

13Consider the following statements about ASCII. Statement 1: ASCII is a character-encoding standard used to represent letters, digits and control characters. Statement 2: Standard ASCII represents each character using 7 bits. Statement 3: ASCII is mainly used to compress image files. Which of the above statements are correct?

AStatement 1 and Statement 2 only
BStatement 1 only
CStatement 2 and Statement 3 only
DStatement 1, Statement 2 and Statement 3

14Read the assertion and reason carefully. Assertion (A): One hexadecimal digit can represent exactly four binary bits. Reason (R): Hexadecimal is a base-16 number system, and 16 equals 2^4. Choose the correct option.

ABoth A and R are true, and R is the correct explanation of A.
BBoth A and R are true, but R is not the correct explanation of A.
CA is true, but R is false.
DA is false, but R is true.

15Which of the following statements about hexadecimal notation is correct?

AIt uses sixteen symbols: 0 to 9 and A to F.
BIt uses only the digits 0 and 1.
CIt is a base-8 number system.
DIt is used only for storing decimal fractions.

More topics in Basic Computer

Explore other subjects