CodeToLive

University Previous Year Questions (PYQs)

Data Structures Final Exam

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

Exam

Operating Systems Assignment

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

Assignment

Digital Electronics Lab

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

Lab

Algorithms Midterm

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

Exam

Linear Algebra Problem Set

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

Assignment

Quantum Mechanics

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

Theory

Machine Learning Final

Compare and contrast supervised vs. unsupervised learning with examples.

Exam

Data Visualization Project

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

Assignment

Database Systems Viva

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

Viva

Computer Networks Final

Explain TCP congestion control algorithms with diagrams.

Exam

Calculus Problem

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

Theory

Functional Programming

Implement a monad in Haskell and explain its use cases.

Exam

Optics Lab

Measure the wavelength of laser light using a diffraction grating.

Lab

Computational Complexity

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

Exam

Number Theory

State and prove the Chinese Remainder Theorem.

Theory

Advanced Algorithms

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

Exam

VLSI Lab

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

Lab

Computer Architecture

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

Exam

Machine Learning Assignment

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

Assignment

Database Systems

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

Exam

Thermodynamics

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

Theory

Object-Oriented Programming

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

Exam

Microprocessor Lab

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

Lab

Discrete Mathematics

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

Exam

Real Analysis

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

Theory

Artificial Intelligence

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

Exam

Control Systems Lab

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

Lab

Compiler Design

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

Exam

Neural Networks

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

Assignment

Systems Programming

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

Exam

Abstract Algebra

Prove that every finite integral domain is a field.

Theory

Software Engineering

Compare waterfall and agile methodologies with their pros and cons.

Exam

Big Data Analytics

Process a large dataset using MapReduce and analyze the results.

Assignment

Computer Graphics

Implement the Cohen-Sutherland line clipping algorithm.

Exam

Deep Learning Viva

Explain the architecture and training process of convolutional neural networks.

Viva

Parallel Computing

Compare shared memory and message passing models of parallel programming.

Exam

Fluid Mechanics

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

Theory