121 Programs Available

Explore the Library

A curated collection of optimized KTU BTech CS lab programs. Search, filter, and copy code instantly.

Network Lab

Implementation of File Transfer Protocol

This program implements the file transfer protocol to transfer files.

Network Lab

Implementation of Distance Vector Routing Algorithm

This program implements the distance vector routing algorithm using Bellman-Ford equation to calculate the shortest paths between all network nodes and display routing tables for each router.

Network Lab

Implementation of Leaky Bucket Algorithm

To implement the leaky bucket algorithm to simulate network traffic shaping. It demonstrates how a buffer with fixed capacity handles random packet arrivals by adding packets when space is available, dropping excess packets when overflow occurs, and leaking packets at a constant rate to control data transmission and prevent network congestion.

Network Lab

Implementation of Selective Repeat ARQ Protocol Using UDP

To implement sliding window protocol with Selective Repeat ARQ protocol using socket programming in C.

Network Lab

Implementation of Go-Back-N ARQ Protocol Using UDP

To implement the Go-Back-N Automatic Repeat reQuest (ARQ) protocol using socket programming in C.

Network Lab

Implementation of Stop-and-Wait ARQ Protocol Using UDP

To implement the Stop-and-Wait Automatic Repeat reQuest (ARQ) protocol using UDP socket programming in C to ensure reliable data transmission.

Network Lab

UDP Client Server Communication Using Sockets

To implement a UDP client and server program to exchange data using socket programming in C

Network Lab

TCP Client Server Communication Using Sockets

To implement a simple TCP client and server program for exchanging messages using socket programming in C.

Network Lab

Familiarization of System Calls

To create a parent and child process using the fork() system call and compute the sum of even and odd numbers separately.

System Softwares Lab

FIFO Page Replacement

Simulate the FIFO page replacement algorithm and calculate number of page faults for a give page reference string and a fixed number of memory frames.

System Softwares Lab

Bankers Algorithm

Implement bankers algorithm for deadlock detection.

System Softwares Lab

Priority

Implement Priority CPU scheduling algorithm.

System Softwares Lab

Round Robin

Implement RR CPU scheduling algorithm.

System Softwares Lab

Shortest Job First

Implement SJF CPU scheduling algorithm.

System Softwares Lab

First Come First Server

Implement First Come First Serve CPU scheduling algorithm.

Database Management Systems Lab

Experiment No: 6

Implementation of built-in functions in RDBMS.

Database Management Systems Lab

Experiment No: 7

Implementation of various aggregate functions in SQL.

Database Management Systems Lab

Experiment No: 8

Implementation of order by, group by & having clause.

Database Management Systems Lab

Experiment No: 9

Implementation of set operators, nested queries and join queries.

Operating Systems Lab

Producer consumer problem using semaphore

Operating Systems Lab

Process Communication

Operating Systems Lab

Deadlock Detection

Operating Systems Lab

Deadlock prevention using Banker's algorithm

Operating Systems Lab

Round Robin - CPU Scheduling

Operating Systems Lab

Priority - CPU scheduling

Operating Systems Lab

SJF - CPU scheduling

Operating Systems Lab

FCFS - CPU scheduling

Operating Systems Lab

Statistics - system call

Operating Systems Lab

File management - system call

Operating Systems Lab

Make parent process wait for child process to complete

Operating Systems Lab

Process management - system calls

Operating Systems Lab

Print N fibonacci terms

Operating Systems Lab

Bubble sort

Operating Systems Lab

Largest of N numbers

Operating Systems Lab

Swap two numbers

Operating Systems Lab

Prime number checker

Operating Systems Lab

Sum of N numbers

Operating Systems Lab

Odd or even checker

Operating Systems Lab

Factorial finder

Object Oriented Programming Lab

Traffic light swing

Object Oriented Programming Lab

Calculator swing

Object Oriented Programming Lab

Thread synchronization

Object Oriented Programming Lab

Multithreading

Object Oriented Programming Lab

Try catch finally

Object Oriented Programming Lab

String Tokenizer

Object Oriented Programming Lab

File Handling

Object Oriented Programming Lab

Garbage collection

Object Oriented Programming Lab

Polymorphism 2 (Method Overloading)

Object Oriented Programming Lab

Polymorphism 1 (Method Overriding)

Object Oriented Programming Lab

Inheritance 2 (Employee & Engineer)

Object Oriented Programming Lab

Inheritance 1 (Officer & Manager)

Object Oriented Programming Lab

Matrix multiplication

Object Oriented Programming Lab

Matrix transpose

Object Oriented Programming Lab

Second smallest element

Object Oriented Programming Lab

Character frequency

Object Oriented Programming Lab

String palindrome

Object Oriented Programming Lab

Reverse string

Object Oriented Programming Lab

Prime or not

Data Structure Lab

Binary search using bubble sort

Data Structure Lab

Binary search using selection sort

Data Structure Lab

Binary search using quick sort

Data Structure Lab

Binary search using insertion sort

Data Structure Lab

Binary search using merge sort

Data Structure Lab

Queue using linked list

Data Structure Lab

Stack using linked list

Data Structure Lab

Graph Implementation

Data Structure Lab

Singly Linked List

Data Structure Lab

Postfix Evaluation

Data Structure Lab

Infix to postfix conversion

Data Structure Lab

Circular queue using array

Data Structure Lab

Queue using array

Data Structure Lab

Stack using array

Data Structure Lab

Sparse Matrix

Data Structure Lab

Polynomial Addition

Data Structure Lab

Quick Sort

Data Structure Lab

Merge Sort

Data Structure Lab

Insertion Sort

Data Structure Lab

Selection Sort

Data Structure Lab

Bubble Sort

Data Structure Lab

Binary Search

Data Structure Lab

Linear Search

C Programming Lab

Check if number is prime

C Programming Lab

Number triangle pattern

C Programming Lab

Find length of string without using function

C Programming Lab

Copy string to another variable without function

C Programming Lab

Count vowels and constants in a string

C Programming Lab

Sum of first and last digit of a number

C Programming Lab

Sum of row elements in matrix

C Programming Lab

Sum of array elements using pointer

C Programming Lab

String Palindrome checker

C Programming Lab

Print array in reverse using pointer

C Programming Lab

Reverse an array

C Programming Lab

Sum of N numbers using recursion

C Programming Lab

Linear Search

C Programming Lab

Sum of N natural numbers

C Programming Lab

Permutation & Combination using recursion

C Programming Lab

Fibonacci Series

C Programming Lab

Swap two numbers using functions

C Programming Lab

Fibonacci series using recursion

C Programming Lab

Find largest element in an array

C Programming Lab

Check if a character is an alphabet

C Programming Lab

1/N Harmonic series

C Programming Lab

Even square harmonic series

C Programming Lab

Odd or even checker

C Programming Lab

Bubble sort

C Programming Lab

Sum, Average, and Percentage of N subjects

C Programming Lab

Largest of 3 numbers

C Programming Lab

Sort character array

C Programming Lab

Matrix addition

C Programming Lab

Quadratic Equation Roots

C Programming Lab

Calculator using switch case

C Programming Lab

String concatenation without string function

C Programming Lab

Prime numbers till n

C Programming Lab

Matrix multiplication

C Programming Lab

Fibonacci seres using array

C Programming Lab

Palindrome checker

C Programming Lab

Factorial using recursion

C Programming Lab

Matrix Transpose

C Programming Lab

Sum of Digits of a Number Using Recursion

C Programming Lab

Armstrong number checker

C Programming Lab

Insert Element Into Array