CodeToLive

University Previous Year Questions

Access previous year questions from top universities worldwide to prepare for your exams

IIT 2023

Data Structures Final Exam

Implement Dijkstra's algorithm and analyze its time complexity for a given graph.

Exam
IIT 2022

Operating Systems Assignment

Implement a simple shell in C with basic commands like ls, cd, and echo.

Assignment
IIT 2021

Digital Electronics Lab

Design and implement a 4-bit binary counter using JK flip-flops.

Lab
MIT 2023

Algorithms Midterm

Prove that the decision version of the traveling salesman problem is NP-complete.

Exam
MIT 2022

Linear Algebra Problem Set

Find the eigenvalues and eigenvectors of a given 3x3 matrix.

Assignment
MIT 2021

Quantum Mechanics

Derive the time-independent Schrödinger equation and explain its physical significance.

Theory
Stanford 2023

Machine Learning Final

Compare and contrast supervised vs. unsupervised learning with examples.

Exam
Stanford 2022

Data Visualization Project

Create an interactive visualization of a dataset using D3.js with at least 3 different chart types.

Assignment
Stanford 2021

Database Systems Viva

Explain the differences between B-trees and B+ trees with their applications in database systems.

Viva
Harvard 2023

Computer Networks Final

Explain TCP congestion control algorithms with diagrams.

Exam
Harvard 2022

Calculus Problem

Solve the differential equation dy/dx = x² + y² with initial condition y(0) = 1.

Theory
Oxford 2023

Functional Programming

Implement a monad in Haskell and explain its use cases.

Exam
Oxford 2022

Optics Lab

Measure the wavelength of laser light using a diffraction grating.

Lab
Cambridge 2023

Computational Complexity

Prove that P is closed under union, intersection, and complement.

Exam
Cambridge 2022

Number Theory

State and prove the Chinese Remainder Theorem.

Theory
IISc 2023

Advanced Algorithms

Design an approximation algorithm for the vertex cover problem with approximation ratio 2.

Exam
IISc 2022

VLSI Lab

Design a 4:1 multiplexer using CMOS technology and simulate it using Cadence.

Lab
IIIT 2023

Computer Architecture

Explain pipelining in processors with examples of hazards and their solutions.

Exam
IIIT 2022

Machine Learning Assignment

Implement logistic regression from scratch using Python and test it on the Iris dataset.

Assignment
NIT 2023

Database Systems

Normalize a given relation to 3NF and explain the steps.

Exam
NIT 2022

Thermodynamics

Derive the efficiency of a Carnot engine and explain its significance.

Theory
BITS 2023

Object-Oriented Programming

Design a class hierarchy for a library management system with proper inheritance and polymorphism.

Exam
BITS 2022

Microprocessor Lab

Write an 8086 assembly program to sort an array of numbers in ascending order.

Lab
DU 2023

Discrete Mathematics

Prove that every planar graph has a vertex of degree at most 5.

Exam
DU 2022

Real Analysis

Prove that a continuous function on a closed interval is uniformly continuous.

Theory
UC Berkeley 2023

Artificial Intelligence

Implement A* search algorithm and compare it with Dijkstra's algorithm.

Exam
UC Berkeley 2022

Control Systems Lab

Design a PID controller for a DC motor and analyze its performance.

Lab
Carnegie Mellon 2023

Compiler Design

Write the syntax-directed translation scheme for a simple arithmetic expression grammar.

Exam
Carnegie Mellon 2022

Neural Networks

Implement backpropagation for a 3-layer neural network using NumPy.

Assignment
ETH Zurich 2023

Systems Programming

Write a multi-threaded server in C that handles multiple client connections.

Exam
ETH Zurich 2022

Abstract Algebra

Prove that every finite integral domain is a field.

Theory
NUS 2023

Software Engineering

Compare waterfall and agile methodologies with their pros and cons.

Exam
NUS 2022

Big Data Analytics

Process a large dataset using MapReduce and analyze the results.

Assignment
Tsinghua 2023

Computer Graphics

Implement the Cohen-Sutherland line clipping algorithm.

Exam
Tsinghua 2022

Deep Learning Viva

Explain the architecture and training process of convolutional neural networks.

Viva
Tokyo University 2023

Parallel Computing

Compare shared memory and message passing models of parallel programming.

Exam
Tokyo University 2022

Fluid Mechanics

Derive the Navier-Stokes equations and explain their physical meaning.

Theory