chapter
    Number Systems, Binary Arithmetic and Data Representation Short Notes for GATE CS

    Number Systems, Binary Arithmetic and Data Representation short notes for GATE CS: 3 study cards covering concepts, formulas, shortcuts and exam traps, plus s

    number systems binary arithmetic and data representation short notes

    Summary: The Radix Conversion Checklist

    Revision Checklist

    • 1. Validity Check: Are all digits ?
    • 2. Identify Bases: Source and Target?
    • 3. Power-of-2? Use bit grouping (3 or 4 bits).
    • 4. Otherwise: Route through Base 10.
    • 5. Unknown : Solve polynomial, verify .

    Summary: Fractional Conversion Checklist

    Final Revision Checklist

    • 1 Radix Point: Integer weights are positive powers (right to left); fractional weights are negative powers (left to right).
    • 2 Binary → Decimal: Sum . Rely on memorized values: .
    • 3 Decimal → Binary: Repeated multiply by 2. Read integer parts top-down.
    • 4 Non-Terminating: If it doesn't terminate, check for bit-limits or closest approximations.
    • 5 Mixed Equations: Convert the fully known side to Base 10 first, then expand and match coefficients.

    Final Checklist: Two's Complement Arithmetic

    Final Checklist

    • Subtraction: .
    • Carry-out: Always discard in signed addition.
    • Overflow Condition 1: Operands same sign, Result different sign.
    • Overflow Condition 2: at MSB.
    • Shortcut: Unsigned overflow = Carry-out. Signed overflow = XOR of carries.

    Try a question

    Answer it here to see how it works. Nothing is recorded until you sign in.

    Question 1
    Level 1: Warm-up

    Assertion (A): In a 4-bit 2's complement system, adding and does not result in an overflow.

    Reason (R): The addition produces a carry out of 1 from the most significant bit, which indicates an overflow in signed arithmetic.

    Question 2
    Level 1: Warm-up

    Which of the following statements correctly describes the hardware operation for subtracting an -bit number from in 2's complement arithmetic?

    Question 3
    Level 1: Warm-up

    When converting the base-4 number to base 5, the process involves an intermediate conversion to base 10. How many division steps are required to convert this base-10 value into base 5?

    Question 4
    Level 1: Warm-up

    When converting the base-4 number to base 5, the process requires routing through base 10. What is the minimum number of division-by-5 steps required to complete the base-10 to base-5 conversion?

    Question 5
    Level 1: Warm-up

    When converting a decimal number to base using the repeated division method, what is the maximum possible value that any remainder can take?

    Question 6
    Level 1: Warm-up

    Which of the following statements is TRUE regarding the conversion of a number from base 3 to base 7?

    Question 7
    Level 1: Warm-up

    When converting a base-10 integer to base 8 using the repeated division method, what is the maximum possible remainder that can be recorded in any single division step?

    Question 8
    Level 1: Warm-up

    Which of the following statements correctly describes the 'Golden Rule' for converting a number from base 6 to base 9?

    Question 9
    Level 1: Warm-up

    What is the maximum decimal value that can be represented by a 4-bit binary fraction of the form ?

    Question 10
    Level 1: Warm-up

    When converting the decimal fraction to binary using the repeated multiplication method, what is the minimum number of multiplication steps required until the fractional part becomes exactly zero?

    Free preview ends here

    Login to view the complete short notes

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Number Systems, Binary Arithmetic and Data Representation Short Notes for GATE CS

    Number Systems, Binary Arithmetic and Data Representation short notes for GATE CS: 3 study cards covering concepts, formulas, shortcuts and exam traps, plus solved practice questions.

    Summary: The Radix Conversion Checklist

    Revision Checklist

    • 1. Validity Check: Are all digits ?
    • 2. Identify Bases: Source and Target?
    • 3. Power-of-2? Use bit grouping (3 or 4 bits).
    • 4. Otherwise: Route through Base 10.
    • 5. Unknown : Solve polynomial, verify .

    Summary: Fractional Conversion Checklist

    Final Revision Checklist

    • 1 Radix Point: Integer weights are positive powers (right to left); fractional weights are negative powers (left to right).
    • 2 Binary → Decimal: Sum . Rely on memorized values: .
    • 3 Decimal → Binary: Repeated multiply by 2. Read integer parts top-down.
    • 4 Non-Terminating: If it doesn't terminate, check for bit-limits or closest approximations.
    • 5 Mixed Equations: Convert the fully known side to Base 10 first, then expand and match coefficients.

    Final Checklist: Two's Complement Arithmetic

    Final Checklist

    • Subtraction: .
    • Carry-out: Always discard in signed addition.
    • Overflow Condition 1: Operands same sign, Result different sign.
    • Overflow Condition 2: at MSB.
    • Shortcut: Unsigned overflow = Carry-out. Signed overflow = XOR of carries.

    Number Systems, Binary Arithmetic and Data Representation: Solved Questions with Step-by-Step Explanations (10 Problems)

    Question 1 · Digital Logic MCQ

    Assertion (A): In a 4-bit 2's complement system, adding and does not result in an overflow.

    Reason (R): The addition produces a carry out of 1 from the most significant bit, which indicates an overflow in signed arithmetic.

    1. A.

      Both A and R are true, and R is the correct explanation of A.

    2. B.

      Both A and R are true, but R is NOT the correct explanation of A.

    3. C.

      A is true, but R is false.

    4. D.

      A is false, but R is true.

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: This is a construction question testing the precise definition of overflow and the common trap of confusing carry-out with overflow.

    Step 1: Evaluate Assertion (A). , .

    Step 2: Add them: . Discard the carry out. The 4-bit result is , which is .

    Step 3: Since is within the 4-bit range , no overflow occurred. Assertion (A) is TRUE.

    Step 4: Evaluate Reason (R). The addition does produce a carry out of 1. However, in signed 2's complement arithmetic, a carry out does NOT indicate overflow. Overflow is determined by the sign bits or XOR of carries. Thus, Reason (R) is FALSE.

    Answer: A is true, but R is false.

    Question 2 · Digital Logic MCQ

    Which of the following statements correctly describes the hardware operation for subtracting an -bit number from in 2's complement arithmetic?

    1. A.

      Add and , then invert the result.

    2. B.

      Add to the 1's complement of and keep the carry out.

    3. C.

      Add to the 2's complement of and discard any carry out of the sign bit.

    4. D.

      Subtract from bit-by-bit and borrow from the sign bit.

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: This is a bounding question testing the constraints of unified hardware logic for subtraction in 2's complement.

    Step 1: Recall that subtraction is performed by adding to the 2's complement of .

    Step 2: The 2's complement of is found by inverting the bits of and adding 1.

    Step 3: After the addition is complete, any carry out of the most significant bit (sign bit) must be discarded in 2's complement arithmetic.

    Step 4: Evaluate the options. Option C perfectly matches this exact procedure.

    Answer: Add to the 2's complement of and discard any carry out of the sign bit.

    Question 3 · Digital Logic MCQ

    When converting the base-4 number to base 5, the process involves an intermediate conversion to base 10. How many division steps are required to convert this base-10 value into base 5?

    1. A.

      2

    2. B.

      3

    3. C.

      4

    4. D.

      5

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a step-counting question based on the cross-base conversion method.

    Step 1: Convert to base 10.

    .

    Step 2: Convert 30 to base 5 using repeated division.

    Step 3: Count the division steps until the quotient is 0.

    • Step 1: , remainder 0.
    • Step 2: , remainder 1.
    • Step 3: , remainder 1.

    Step 4: The quotient is now 0, so we stop. There are exactly 3 division steps.

    Answer: 3.

    Question 4 · Digital Logic MCQ

    When converting the base-4 number to base 5, the process requires routing through base 10. What is the minimum number of division-by-5 steps required to complete the base-10 to base-5 conversion?

    1. A.

      1

    2. B.

      2

    3. C.

      3

    4. D.

      4

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a contradiction question that requires performing the conversion and carefully counting the steps to avoid overcounting.

    Step 1: Convert to base 10.

    .

    Step 2: Convert 18 to base 5 using repeated division.

    Step 3: Count the division steps until the quotient is 0.

    • Step 1: , remainder 3.
    • Step 2: , remainder 3.

    Step 4: The quotient is now 0, so we stop. There are exactly 2 division steps.

    Answer: 2.

    Question 5 · Digital Logic MCQ

    When converting a decimal number to base using the repeated division method, what is the maximum possible value that any remainder can take?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a boundary condition question about the division algorithm.

    Step 1: Recall the division algorithm: Dividend = Divisor Quotient + Remainder.

    Step 2: By definition, the remainder must always be strictly less than the divisor. If the remainder were equal to or greater than the divisor, you could divide again.

    Step 3: Since the divisor in this method is the target base , the remainder must be less than .

    Step 4: Since remainders are non-negative integers, the maximum possible value is .

    Answer: .

    Question 6 · Digital Logic MCQ

    Which of the following statements is TRUE regarding the conversion of a number from base 3 to base 7?

    1. A.

      It can be performed directly by grouping bits into chunks of 3.

    2. B.

      It must be routed through base 10 as an intermediate step.

    3. C.

      It can be performed directly by grouping bits into chunks of 7.

    4. D.

      It requires conversion to base 2 before converting to base 7.

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a statement evaluation question testing the 'Golden Rule' of cross-base conversion.

    Step 1: Recall the rule for direct conversion. Direct bit-grouping only works when both bases are powers of the same number (e.g., 2, 4, 8, 16).

    Step 2: Check the bases in the question: base 3 and base 7. Neither is a power of 2, and they do not share a common power base.

    Step 3: Apply the Golden Rule. For arbitrary bases that are not powers of each other, you must route the conversion through base 10.

    Step 4: Evaluate options. Options A and C suggest direct grouping, which is invalid here. Option D suggests routing through base 2, which is only useful if the bases were powers of 2. Option B correctly states the Golden Rule.

    Answer: It must be routed through base 10 as an intermediate step.

    Question 7 · Digital Logic MCQ

    When converting a base-10 integer to base 8 using the repeated division method, what is the maximum possible remainder that can be recorded in any single division step?

    1. A.

      6

    2. B.

      7

    3. C.

      8

    4. D.

      9

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is an observation question about the boundary conditions of the division algorithm.

    Step 1: Recall the division algorithm: Dividend = Divisor Quotient + Remainder.

    Step 2: The remainder must always be strictly less than the divisor. If the remainder were equal to or greater than the divisor, the quotient would increase.

    Step 3: Here, the divisor is the target base, which is 8.

    Step 4: Therefore, the remainder must be strictly less than 8. The maximum integer less than 8 is 7.

    Answer: 7.

    Question 8 · Digital Logic MCQ

    Which of the following statements correctly describes the 'Golden Rule' for converting a number from base 6 to base 9?

    1. A.

      Direct bit-grouping can be used by grouping digits into chunks of 3.

    2. B.

      The conversion must be routed through base 10 as an intermediate step.

    3. C.

      The conversion can be done directly by dividing the base-6 number by 9.

    4. D.

      The conversion must be routed through base 2 first, then to base 9.

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a bounding question testing the constraints of the 'Golden Rule' of cross-base conversion.

    Step 1: Recall the Golden Rule. Direct bit-grouping only works when both bases are powers of the same number (e.g., 2, 4, 8, 16).

    Step 2: Check the bases in the question: base 6 and base 9. Neither is a power of 2, and they do not share a common power base.

    Step 3: Apply the rule. For arbitrary bases that are not powers of each other, you must route the conversion through base 10.

    Step 4: Evaluate options. Options A, C, and D suggest invalid direct methods. Option B correctly states the mandatory intermediate step.

    Answer: The conversion must be routed through base 10 as an intermediate step.

    Question 9 · Digital Logic MCQ

    What is the maximum decimal value that can be represented by a 4-bit binary fraction of the form ?

    1. A.

      0.9375

    2. B.

      0.8750

    3. C.

      0.9999

    4. D.

      0.5000

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is an observation question about the boundary of fractional representation using memorized weights.

    Step 1: The maximum value occurs when all bits are set to 1.

    Step 2: The value is the sum of the first four negative powers of 2: .

    Step 3: Using memorized weights: .

    Step 4: Summing these gives exactly .

    Answer: 0.9375.

    Question 10 · Digital Logic MCQ

    When converting the decimal fraction to binary using the repeated multiplication method, what is the minimum number of multiplication steps required until the fractional part becomes exactly zero?

    1. A.

      2

    2. B.

      3

    3. C.

      4

    4. D.

      5

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a contradiction question where the process seems like it might repeat infinitely, but terminates cleanly if counted correctly without overcounting the final zero state.

    Step 1: Multiply . Integer part is 1, new fraction is . (Step 1)

    Step 2: Multiply . Integer part is 0, new fraction is . (Step 2)

    Step 3: Multiply . Integer part is 1, new fraction is . (Step 3)

    Step 4: The fractional part is now exactly zero, so the process terminates. There are exactly 3 multiplication steps.

    Answer: 3.

    More short notes in this unit