# Programming and DSA GATE DA PYQ: Topic-wise Questions

> Programming and DSA GATE DA PYQs: all 31 questions from 3 official papers (2024–2026), by concept with official answers. Asked in 3 of 3 years.

Source: https://previousyearquestions.app/gate/da/topics/programming-data-structures-and-algorithms/

Explore: <a href="/gate/da/topics/">All GATE DA topics</a> · <a href="/gate/da/topics/data-science-and-ai/">GATE DA Data Science and Artificial Intelligence PYQs</a> · <a href="/gate/da/">GATE DA hub</a> · <a href="/gate/da/syllabus-pattern/">Syllabus & pattern</a> · <a href="/gate/da/2026/">GATE DA 2026</a>

## How often Programming, Data Structures and Algorithms is asked

In the 3 official GATE DA papers we tagged (2024–2026), Programming, Data Structures and Algorithms (Data Science and Artificial Intelligence) had **31 questions**, appearing in 3 of them. Asked in 3 of 3 years. Weightage: **16 marks a year** on average (14–20), about 16% of a 100-mark paper. The concepts asked in the most papers: Python Programming, Sorting, Graph Algorithms.

## Year-wise question count

<ChapterQuestions exam="gate-da" chapter="programming-data-structures-and-algorithms" part="trend" />

## Most-asked concepts

Sorted by the number of papers a concept appeared in.

<ChapterQuestions exam="gate-da" chapter="programming-data-structures-and-algorithms" part="concepts" />

## How to practise Programming, Data Structures and Algorithms PYQs

1. Start with the concepts at the top of the table. They have come back the most.
2. Solve one year's Programming, Data Structures and Algorithms questions from the official PDF against the clock, then check the answer listed below.
3. For each mistake, note whether you didn't know the concept, slipped on a calculation or misread the question. Each needs a different fix.
4. Once a concept is clean in two papers, move to the next. Then sit a full paper from the year pages.

## Questions by year

Each line gives the question number, type, concept, our one-line summary and the official answer, with a link to the official PDF.

<ChapterQuestions exam="gate-da" chapter="programming-data-structures-and-algorithms" part="questions" />

## Other Data Science and Artificial Intelligence topics

- [Probability and Statistics PYQs](/gate/da/topics/probability-and-statistics/)
- [Linear Algebra PYQs](/gate/da/topics/linear-algebra/)
- [Calculus and Optimization PYQs](/gate/da/topics/calculus-and-optimization/)
- [Database Management and Warehousing PYQs](/gate/da/topics/database-management-and-warehousing/)
- [Machine Learning PYQs](/gate/da/topics/machine-learning/)
- [Artificial Intelligence PYQs](/gate/da/topics/artificial-intelligence/)

## FAQ

### How many Programming, Data Structures and Algorithms questions come in GATE DA?
In the official papers we tagged: 9 in 2026, 9 in 2025 and 13 in 2024. That is 31 questions in all, about 19% of Data Science and Artificial Intelligence. Weightage: 16 marks a year on average (14–20), about 16% of a 100-mark paper.

### Which Programming, Data Structures and Algorithms topics repeat in GATE DA?
Asked in the most papers: Python Programming, Sorting, Graph Algorithms. The concept table lists every one with its count.

### Are these official GATE DA questions?
Yes. Every question is from an official GATE DA paper hosted on our year pages. The one-line summaries are ours; open the PDF linked beside each question for the full text.
