Skip to content
GATEiit

GATE CSE 2025 Session 2 Q8: Recurrences that generate the X and Y output rows

Question

Which one of the following options is correct for the given data in the table?

Iteration (i)(i)0123
Input (I)(I)20−4-41015
Output (X)(X)20162641
Output (Y)(Y)20−80-80−800-800−12000-12000

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation

Answer: A (official GATE 2025 final answer key)

Concept used: Identify a recurrence by checking it against consecutive columns of data.

First step: Check i=1i = 1: 20+(−4)=1620 + (-4) = 16 for X and 20×(−4)=−8020 \times (-4) = -80 for Y, then confirm on i=2,3i = 2, 3.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2025 Session 2 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key