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

    Solve 5+ Number Systems, Binary Arithmetic and Data Representation previous year questions for GATE CS with answers and detailed solutions. Free sample questi

    Try a question

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

    Question 1
    2024 Slot Set2 PYQ
    Level 3: Exam Standard

    Which of the following is/are EQUAL to 224 in radix-5 (i.e., base-5) notation?

    Question 2
    2023 PYQ
    Level 3: Exam Standard

    A particular number is written as 132 in radix-4 representation. The same number in radix-5 representation is __________.

    Question 3
    2022 PYQ
    Level 3: Exam Standard

    Let R1 and R2 be two 4-bit registers that store numbers in 2’s complement form. For the operation R1+R2, which one of the following values of R1 and R2 gives an arithmetic overflow?

    Question 4
    2021 Slot Set2 PYQ
    Level 3: Exam Standard

    If and are two decimal digits and , the decimal value of is __________.

    Question 5
    2021 Slot Set1 PYQ
    Level 3: Exam Standard

    Let the representation of a number in base 3 be 210. What is the hexadecimal representation of the number?

    Free preview ends here

    Login to view the complete previous-year questions and solutions

    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 PYQs for GATE CS

    Solve 5+ Number Systems, Binary Arithmetic and Data Representation previous year questions for GATE CS with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: Number Systems and Binary Arithmetic

    Chapter Journey

    Step 1: Radix Conversion

    The foundation of how computers count. Mastering integer conversions across any base.

    Step 2: Binary Fractions

    Extending the logic to the fractional world. Handling precision and repeating fractions.

    Step 3: Two's Complement

    The hardware standard for negative numbers. Detecting when arithmetic exceeds limits.

    The Core Idea: Radix and Positional Weight

    The Anatomy of a Number System

    Every system is defined by its radix (), which dictates the available digits .

    Positions are counted from right to left, starting at .

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

    Question 1 · Digital Logic · 2024_Set2 MSQ

    Which of the following is/are EQUAL to 224 in radix-5 (i.e., base-5) notation?

    1. A.

      64 in radix-10

    2. B.

      100 in radix-8

    3. C.

      50 in radix-16

    4. D.

      121 in radix-7

    Correct Answer:

    ["A","B","D"]

    Step-by-Step Solution

    Insight: Convert the given Base 5 number to Base 10, then convert each option to Base 10 to check for equality.

    Exam route:

    1. .
    2. Check options in Base 10:

    A) . (Match)

    B) . (Match)

    C) . (No match)

    D) . (Match)

    Learning route:

    This is a multiple-select question testing base equivalence. The most efficient strategy is to anchor everything to Base 10.

    Step 1: Convert the target number to Base 10.

    .

    Step 2: Evaluate each option in Base 10.

    Option A: is already in Base 10. Value is 64. (Equal)

    Option B: . (Equal)

    Option C: . (Not equal)

    Option D: . (Equal)

    The correct options are A, B, and D.

    Question 2 · Digital Logic · 2023 NAT

    A particular number is written as 132 in radix-4 representation. The same number in radix-5 representation is __________.

    Correct Answer:

    110.00

    Step-by-Step Solution

    Insight: Route the conversion through Base 10 to avoid direct base-4 to base-5 arithmetic errors.

    Exam route:

    1. Convert to Base 10: .
    2. Convert to Base 5: R ; R ; R . Read bottom-up: .

    Learning route:

    The question asks for a cross-base conversion. The golden rule for arbitrary bases is to always route through Base 10.

    Step 1: Evaluate in Base 10 using positional weights. The weights are , , .

    .

    Step 2: Convert to Base 5 using repeated division.

    Divide 30 by 5: quotient 6, remainder 0.

    Divide 6 by 5: quotient 1, remainder 1.

    Divide 1 by 5: quotient 0, remainder 1.

    Reading the remainders from bottom to top gives .

    Verification: . Matches.

    Question 3 · Digital Logic · 2022 MCQ

    Let R1 and R2 be two 4-bit registers that store numbers in 2’s complement form. For the operation R1+R2, which one of the following values of R1 and R2 gives an arithmetic overflow?

    1. A.

      R1 = 1011 and R2 = 1110

    2. B.

      R1 = 1100 and R2 = 1010

    3. C.

      R1 = 0011 and R2 = 0100

    4. D.

      R1 = 1001 and R2 = 1111

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: Overflow in 2's complement only occurs when adding two numbers of the same sign yields a result with a different sign.

    Exam route:

    Check the sign bits (MSB) of R1 and R2.

    A) 1011 (-), 1110 (-). Same sign. Sum = 11001 1001 (-). No overflow.

    B) 1100 (-), 1010 (-). Same sign. Sum = 10110 0110 (+). OVERFLOW.

    C) 0011 (+), 0100 (+). Same sign. Sum = 0111 (+). No overflow.

    D) 1001 (-), 1111 (-). Same sign. Sum = 11000 1000 (-). No overflow.

    Learning route:

    In a 4-bit 2's complement system, the range is -8 to +7. Overflow happens if the true mathematical sum exceeds this range.

    The golden rule for detection: Overflow can ONLY happen when adding two numbers of the same sign. If the operands have the same sign, but the result's sign bit is different, overflow has occurred.

    Let's evaluate the options:

    A) R1 = 1011 (-5), R2 = 1110 (-2). Both negative. Sum = -7. Binary: 1011 + 1110 = 11001. Discard carry 1001 (-7). Sign matches. Valid.

    B) R1 = 1100 (-4), R2 = 1010 (-6). Both negative. True sum = -10 (out of range). Binary: 1100 + 1010 = 10110. Discard carry 0110 (+6). Two negatives gave a positive. OVERFLOW.

    C) R1 = 0011 (+3), R2 = 0100 (+4). Both positive. Sum = +7. Binary: 0011 + 0100 = 0111 (+7). Sign matches. Valid.

    D) R1 = 1001 (-7), R2 = 1111 (-1). Both negative. Sum = -8. Binary: 1001 + 1111 = 11000. Discard carry 1000 (-8). Sign matches. Valid.

    Question 4 · Digital Logic · 2021_Set2 NAT

    If and are two decimal digits and , the decimal value of is __________.

    Correct Answer:

    3.00

    Step-by-Step Solution

    Insight: Convert the fully known binary fraction to Base 10, then expand the decimal fraction with unknowns and match coefficients.

    Exam route:

    1. .
    2. .
    3. Equate: .
    4. Multiply by 1000: . Since are single digits, .
    5. .

    Learning route:

    This is a mixed-base fractional equation. The most efficient strategy is to convert the fully known side to Base 10 first.

    Step 1: Convert to Base 10.

    The weights are , , , .

    .

    Step 2: Expand the right side using decimal positional weights.

    .

    Step 3: Equate the two Base 10 values.

    Multiply the entire equation by 1000 to clear decimals:

    Since and are single decimal digits (0-9), the only solution is and .

    Step 4: Calculate .

    Question 5 · Digital Logic · 2021_Set1 MCQ

    Let the representation of a number in base 3 be 210. What is the hexadecimal representation of the number?

    1. A.

      15

    2. B.

      21

    3. C.

      D2

    4. D.

      528

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: Route through Base 10 to convert from Base 3 to Hexadecimal (Base 16).

    Exam route:

    1. .
    2. R . Result is .

    Learning route:

    The question requires converting a Base 3 number to Hexadecimal. Since 3 and 16 are not powers of the same base, we must use Base 10 as an intermediate.

    Step 1: Convert to Base 10. The positional weights for Base 3 are , , .

    .

    Step 2: Convert to Base 16. Divide 21 by 16. The quotient is 1 and the remainder is 5.

    Reading the remainders gives .

    Verification: . Matches.

    More previous year questions (pyqs) in this unit