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?
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.
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?
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?
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.
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.
7In a computer system, which number system uses only the symbols 0 and 1 to represent data internally?
8Which of the following conversions from decimal to binary is correct?
9Which one of the following statements about number systems and binary codes is incorrect?
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
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
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
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?
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.
15Which of the following statements about hexadecimal notation is correct?
