Quiz Space

IITM BS OPPE previous year papers to code and run

74 papers · 4 courses · 2022–2026

More on the IITM BS OPPE

Every IITM BS OPPE paper on Quiz Space, free. The OPPE, the Online Proctored Programming Exam of the IIT Madras BS degree, is the exam where you write and run code instead of choosing options. Here are 74 real OPPE previous year papers, 2022–2026, for Python, DBMS, Java and System Commands: each question opens in a code editor on the page, runs against the paper’s test cases and has its video solution. Pick a course below, or open any paper above.

FeatureIITM BS OPPE PYQs at a glance
Papers74
Exams2
Subjects4
Questions511
Years2022–2026
Updated

OPPE PYQs by exam

OPPE PYQs by exam
ExamPapersSubjectsYearsLatest paper
OPPE 1 PYQs, every course4532022–2026May 2026
OPPE 2 PYQs, every course2932022–2026May 2025

Every paper is listed on its exam’s page by subject and year; all 74 papers, newest first, are on all question papers.

OPPE PYQs by course

OPPE PYQs by course
CourseOPPE 1OPPE 2QuestionsWritten in
Programming in PythonPython OPPE 1 PYQ (27)Python OPPE 2 PYQ (9)258Python
Database Management Systems—DBMS OPPE 2 PYQ (8)73SQL and Python with PostgreSQL
Programming Concepts using JavaJava OPPE 1 PYQ (7)—31Java
System CommandsSystem Commands OPPE 1 PYQ (11)System Commands OPPE 2 PYQ (12)149Bash

Each course’s page lists its OPPE papers term by term, with how its OPPE is set out: the sections its questions come in, a paper’s size, and how the OPPE counts in that course.

What the OPPE is

The OPPE (Online Proctored Programming Exam) is the exam of the IIT Madras BS courses that teach programming — Python, PDSA, DBMS, Java, System Commands, Machine Learning Practice, C and others. It is taken online from home under proctoring: you write and run code instead of choosing options. A System Compatibility Test comes first, and each course sets its own eligibility and weightage.

Exam format

  • Remote and proctored: taken online from home, unless IIT Madras says otherwise for a term.
  • Generally 1.5 or 2 hours; the time varies from course to course.
  • A System Compatibility Test (SCT) comes first: without it, no OPPE is scheduled.
  • Proctored over Google Meet from a phone on a stand, showing the desk, the laptop, your face and both hands; no one else in the room.
  • Help from AI tools such as LLMs counts as malpractice.
  • Each course sets who may sit it, usually a minimum score in the weekly programming assignments.
  • Past papers come in sections, and each question’s code is run against test cases (observed on past papers, not an official rule).

From IIT Madras’s own documents, checked October 2026: IITM BS Data Science grading document, September 2026 term, OPPE System Compatibility Test rules, IITM BS Data Science — Exams. The rules change from term to term; the course page on the IIT Madras site has the current ones.

How the OPPE counts, course by course

How the OPPE counts in each Data Science course
CourseOPPEIn the final score
Programming in PythonOPPE 1 and OPPE 2The better OPPE 25%, the other 20%: T = 0.15 Qz1 + 0.4 F + 0.25 max(PE1, PE2) + 0.2 min(PE1, PE2)
Programming, Data Structures and Algorithms using PythonOne OPPE, 120 minutes20%: T = 0.05 GAA + 0.2 OP + 0.45 F + max(0.2 max(Qz1, Qz2), 0.10 Qz1 + 0.20 Qz2)
Database Management SystemsOne OPPE, with a second attempt for those who fail20%: T = 0.03 GAA2 + 0.02 GAA3 + 0.2 OPPE + 0.45 F + max(0.2 max(Qz1, Qz2), 0.10 Qz1 + 0.20 Qz2)
Programming Concepts using JavaOPPE 1 and OPPE 2The better OPPE 20%, the other a 10% bonus: T = 0.05 GAA + 0.2 max(PE1, PE2) + 0.45 F + max(0.2 max(Qz1, Qz2), 0.10 Qz1 + 0.20 Qz2) + bonus 0.10 min(PE1, PE2)
System CommandsOne OPPE, and a ReOPPE30%: T = 0.05 GAA + 0.25 Qz1 + 0.3 OPPE + 0.3 F + 0.1 BPTA
Machine Learning PracticeOPPE 1 and OPPE 220% each: T = 0.05 GAA + 0.40 F + 0.20 OPPE1 + 0.20 OPPE2 + 0.15 KA
Programming in COPPE 1 and OPPE 220% each: T = 0.10 GAA + 0.20 Qz1 + 0.20 OPPE1 + 0.20 OPPE2 + 0.30 F
Introduction to Big DataOPPE 1 and OPPE 2OPPE 1 20%, OPPE 2 40%: T = 0.1 GAA + 0.3 F + 0.2 OPPE1 + 0.4 OPPE2 + bonus
MLOpsOPPE 1 and OPPE 225% each: T = 0.2 GAA + 0.3 F + 0.25 OPPE1 + 0.25 OPPE2 + bonus, capped at 100

PE1 and PE2 (or OPPE1 and OPPE2) are the OPPE scores, Qz1 and Qz2 the quizzes, F the end term and GAA the graded assignments. What each course needs for a grade, and who may sit its OPPE, is on its OPPE page.

From the IITM BS Data Science grading document, September 2026 term (IIT Madras). The weightage is revised from term to term, so check the current document before you plan around it.

How OPPE practice works on Quiz Space

How OPPE practice works
StepWhat happens
Choose a paperAny real OPPE paper, by course and exam, from the list above.
Write your codeIn the editor on the page, in the paper’s language — Python, SQL, Python with PostgreSQL, Java or Bash — with nothing to install.
Run itAgainst the question’s test cases, your output beside the expected output.
Check itAgainst the hidden test cases too, where the paper has them, before you move on.
Watch the solutionThe video solution of every question, and its written solution, once you have tried it.
Time itTake the whole paper as a timed test, with the paper’s own time limit.

How to prepare for the OPPE

  • Solve your course’s past OPPE papers, newest first: the same sections come back term after term, as each course’s page shows.
  • Take at least one paper as a timed test, at the real paper’s length, so the time limit holds no surprise.
  • Print exactly what a question asks for: test cases compare what your program prints with the expected output line by line, so an extra word, a missing space between values or a wrong order fails the test.
  • Run every answer against the hidden test cases as well: they catch the edge cases the visible ones do not.
  • Clear the System Compatibility Test early, on the laptop you will use: without it no OPPE is scheduled, and the exam must be taken on that same laptop.
  • Watch the free OPPE series by Unknown IITians on YouTube, worked through question by question.

Latest OPPE papers

Frequently asked questions

What is OPPE in the IITM BS?

The Online Proctored Programming Exam: the exam of the IIT Madras BS programming courses where you write and run code instead of choosing options, taken online from home under proctoring.

Which IITM BS courses have an OPPE?

In the Data Science degree, in the September 2026 term: Programming in Python, PDSA, DBMS, Java, System Commands, Machine Learning Practice, Programming in C, Introduction to Big Data and MLOps. In Electronic Systems: C programming and Linux at Foundation, Python at Diploma, and DBMS, PDSA, Java and MLP at Degree. Quiz Space has past OPPE papers for Python, DBMS, Java and System Commands, listed above by course.

Is the OPPE online or at an exam centre?

Online, from home: IIT Madras conducts the OPPE in remote proctored online mode unless it says otherwise for a term. You need a laptop that has passed the System Compatibility Test, the latest Chrome, and a phone with a front camera on a stand for the Google Meet proctoring.

When is the OPPE?

IIT Madras sets the OPPE dates in each term’s grading document. In the September 2026 term, OPPE 1 is on Sunday 22 November 2026, a week after Quiz 1, and OPPE 2 on Sunday 20 December 2026 and Sunday 3 January 2027, between Quiz 2 and the end term on 10 January 2027. Slot timings are given closer to the date, and the timetable is subject to change.

Where can I find IITM BS OPPE previous year questions?

Here: 74 OPPE papers with 511 questions, for Python, DBMS, Java and System Commands, with video solutions. The first questions of every paper are open to everyone; a free Google sign-in opens the whole paper with its test cases and solutions.

Can I practise OPPE questions online for free?

Yes. Every question opens in a code editor on the page, in Python, SQL, Python with PostgreSQL, Java or Bash, with nothing to install: run your code against the question’s test cases and see where your output differs. It is free with a Google sign-in.

Do OPPE questions have video solutions?

Yes. Every OPPE question here has a video solution, free to watch with a Google sign-in. Unknown IITians also has a free OPPE series on YouTube.

Are there OPPE mock tests?

Yes. Every OPPE paper here can be taken as a timed test with the paper’s own time limit, and your attempt is saved so you can review it later.

How is the OPPE marked?

Each course scores its OPPE out of 100 and counts it in the final score by its own formula, set out course by course on this page. IIT Madras does not publish how answers are checked; on past papers each question’s code is run against test cases, some shown and some hidden, and that is how Quiz Space checks your code too.

Are OPPE PYQ PDFs available?

Every OPPE paper is here in full, to code and run online, so there is no PDF to hunt for. Each course’s page lists its papers term by term.
IMPTop 100 Qualifier important questions:Maths 1Stats 1CT