# Cloud Computing & Virtualization Lab

The Cloud Computing Lab will provide the students with access to virtual machines running various operating systems and applications. The only necessary requirement is a computer with internet access.Virtual Computing Lab (VCL) provides a service that allows users to reserve virtual machines or laboratories with predefined or custom sets of applications and remotely access it over the Internet. Users can schedule images of virtual machines for current or future use.

Subject: Computer Networks Lab (CSE12322)

List of Programs

Familiarization with Networking Components and devices: LAN Adapters, Hubs, Switches, Routers etc. NIC Installation & Configuration (Windows/Linux).

Familiarization with Transmission media and Tools: Co-axial cable, UTP Cable, Crimping Tool, Connectors etc.

To configure the IP address for a computer connected to LAN and to configure network parameters of a web browser for the same computer.

Program to implement the following:

IP address to class mapping,

IP address to binary conversion,

Subnetting

To generate a virtual network using the concept of graph theory and Dijkstra Algorithm

Design and configure a simple network model, collect statistics and analyse network performance using Netsim software.

Configure a Network topology using packet tracer software.

Implementation and study of stop and wait protocol

Implementation and study of Go back-N and selective repeat protocols

Implementation of Data Link Layer Error Detection Mechanism (Cyclic Redundancy Check)

Implement the data link layer framing methods such as character, character stuffing and bit stuffing.

Configuring Dynamic Host Configuration Protocol.

Configuration of DNS server.

Implementation of Data encryption and decryption.

File Link :- Computer Network Lab

Subject :- Design and Analysis of Algorithm Lab (CSE12314)

List of Programs

Sort a given set of elements using the Quick sort method and determine the time required to sort the elements. Repeat the experiment for different values of n, the number of elements in the list to be sorted. The elements can be read from a file or can be generated using the random number generator.

Implement a Merge Sort algorithm to sort a given set of elements and determine the time required to sort the elements. Repeat the experiment for different values of n, the number of elements in the list to be sorted .The elements can be read from a file or can be generated using the random number generator.

A) Obtain the Topological ordering of vertices in a given digraph.

B) Compute the transitive closure of a given directed graph using Warshall's algorithm.

Implement 0/1 Knapsack problem using Dynamic Programming.

From a given vertex in a weighted connected graph, find shortest paths to other vertices using Dijikstra’s algorithm

Find Minimum Cost Spanning Tree of a given undirected graph using Kruskal’s algorithm.

A) Print all the nodes reachable from a given starting node in a digraph using BFS method.

B) Check whether a given graph is connected or not using DFS method.

Find a subset of a given set S = {s1, s2,….., sN} of n positive integers whose sum is equal to a given positive integer d. For example, if S= {1, 2, 5, 6, 8} and d = 9 there are two solutions {1,2,6}and{1,8}.A suitable message is to be displayed if the given problem instance doesn't have a solution.

Implement any scheme to find the optimal solution for the Traveling Salesperson problem and then solve the same problem instance using any approximation algorithm and determine the error in the approximation.

Find Minimum Cost Spanning Tree of a given undirected graph using Prim’s algorithm.

Implement All-Pairs Shortest Paths Problem using Floyd's algorithm.

Implement N Queen's problem using Back Tracking.

Subject :- Python Programming Lab (CSE12002)

List of Programs

Write a program to demonstrate different number datatypes in python

Write a program to perform different arithmetic operations on numbers in python

a) To write a python program exponentiation (power of a number).

b) To write a python program to compute the GCD of two numbers.

c) To write a python program first n prime numbers Priority

a) Write a program to create, concatenate and print a string and accessing sub- string from a given string

b) Write a python script to print the current date in following format “Sun May 29 02:26:23 IST 2017”

Write a python program to create, append and remove lists in python.

a)Write a program to demonstrate working with tuples in python

b)Write a program to demonstrate working with dictionaries in python

c) Write a python program to find largest of three numbers

Write a python program to convert temperature to and from Celsius to Fahrenheit

Write a python program to construct the following pattern using nested for loop

a) To demonstrate working of classes and objects

b) To demonstrate constructors

c) To demonstrate class method and static method

Write a python program to find factorial of a number using recursion

Write a program that inputs a text file. The program should print all of the unique words in the file in alphabetical order

Implement NUMPY Library for Matrix creation and Operation

Subject :- Programming & Data Structure Lab (CSE11404)

List of Programs

Part 1

Write a C program to perform all mathematical operations on two integer numbers

Write a program to calculate the area of a triangle using Heron’s Formula

a)Write a program to print ASCII value of a character

b)Write a program to read a character in upper case and then print it in lower case

Write a program to enter any character. If the entered character is in lower case then convert it into upper case and vice versa.

Write a program to find whether a given year is a leap year or not.

Write a program to calculate the roots of a quadratic equation.

Write a program to determine whether an entered character is a vowel or not.

Write a program to display the largest of five numbers using ternary operator.

Write a program to find whether the given number is an Armstrong number or not.

Write a program to find whether the given number is Palindrome or not.

Write a program to print the following pattern:-

a) 1 b) 1

12 22

123 333

1234 4444

Write a program to calculate area of a circle using function.

Write a program to swap the values of two variables using call by value and call by reference

Write a program to find factorial of a number using recursion.

Write a program to find Fibonacci series using recursion.

Write A C- Program To Determine If The Given String Is A Palindrome Or Not

Write a c- program that uses functions to perform addition and multiplication on two matrices.

Write a program to read and display information of a student using structure.

Write a C program which copies one file to another.

Part 2

Write a C program to Implement the following searching method. i) linear search ii) Binary search

Write C programs that implement the following sorting methods to sort a given list of integers in ascending order by using Bubble sort.

To implement stack using array.

To implement queue using Array

To C program to create a linked list and display the elements in the list

C Program to Implement Binary Tree using Linked List

DFS Implementation by C

C Program to find a minimum spanning tree using Prim’s algorithm

C Program to find a minimum spanning tree using Kruskal’s algorithm

Subject :- Elective Computer Science Lab-II (CSE12642)

List of Programs

Write a C Program to display any text on the screen

Write a C Program to evaluate area of a circle

Write a C Program to convert any temperature in Celsius to its equivalent Fahrenheit temperature and vice versa

Write a C Program to find the average of 3 floating point numbers

Write a C Program to swap two numbers using third variable

Write a C Program to swap two numbers without using third variable

Write a C Program to convert a given no Of days into years, months, days.

Write a C Program to compute simple interest.

Write a C Program to find the largest among three nos.

Write a C Program to check whether a no. is even or odd.

Write a C Program to check whether a year is leap year or not

Write a C Program to compute Z=X+ Y++; Print X, Y, Z.

Write a C Program to compute x=++y; Print x, y

Write a C Program to evaluate k=i>>2,l=j<<2. Print k, l.

Write a C Program to evaluate bitwise AND (&) and bitwise OR (|)

Using ternary operator write a C Program to find out largest of three nos.

Write a C Program to calculate quadratic equation.

Write a C Program to find GCD(09) and LCM of two nos.

Write a C Program to find the sum of all integers greater than 100 and less than 200 that are divisible by 7. (Using FOR & IF)

Write a C Program to find the sum of the series: 1! +2! +3! +…+N!

(Using WHILE)

Write a C Program to print the series of prime nos. (Using WHILE)

Write a C Program to print:

*

***

*****

Write a C Program to print:

*

**

***

****

Write a C Program to print:

1

232

34543

4567654

Write a C Program to print:

*

***

*****

***

*

Write a C Program to print:

1

22

333

4444

55555

Write a C Program to evaluate Fibonacci Series

Write a C Program to evaluate series of Armstrong number.

Write a C Program to find out the sum of the series:

a) 12 + 32 + 52 + 72 + …… + n2

b) 1 – x +x2/2! – x3/3! +…

Write a recursive function to find the summation of 1st n natural nos. and test the function by calling from a main (). (03)

WCP to find the biggest and smallest of n numbers.(03)

WCP to find the frequency of digits in a set of n numbers. (03)

WCP to give the macro definition to find the max of two nos. (03)

WCP to arrange a set of n numbers in ascending (03) or descending order (04)

Using ternary operator write a macro to find out the absolute value of a no. (03)(05)

Write a function to find the cube of a number and use this to main to evaluate x3+y3+z3 (04)

WCP to print the diagonal of a matrix.(04)

Write a recursive C function to return the GCD of two nos. (05)

Sum of two matrices. (05)

Recursive C function to find the factorial of a no. (05)

Write a function to calculate the value of power (a, b).

Quadratic equation using function.

To count the no of 1s in a character byte and if it is even then set MSB 0 else set MSB to 1

To copy a string to another string

To insert data in link list in a sorted manner.

To count letter ‘E’ in a 10-letter word.

To find the length of a string without using strlen ().

To find the number of vowels & consonants in a line of text.

To convert lower case alphabet to upper case alphabet.

To accept a string as a command line argument hence find its length.

To check whether a input string is palindrome or not.

Copy a disk file into another using command line argument

To count the number of lines, words, characters in a given file.

To display the frequency of character in a given disk file

To create a file.

To copy file f1.dat as f2.dat assuming f1 is available in current working directory.

To create an array of 30 structure variables and read all the members of each variable.

Will receive a file name and a line of text as command line arguments and write the text to that file.

Write C++ Program to display the Sum of digits of a Number.

Write C++ Program to replace the ‘0’ with ‘2’ of a Number

Write C++ Program to swap diagonal values of a Matrix

Write C++ Program to count the number of sub array having sum value with a constant.

Write C++ Program to find the bitwise ‘&’ operation if the coordinates of 2D array are even, ‘|’ operation if the coordinates of 2D array are odd.

Write C++ Program to form the Fibonacci Series from 1D array position value up to user input sum values

Write C++ Program which demonstrate linked list of a 2D array

Write C++ Program to store multiplication values from the opposite directions of two 1D arrays and store it in third array.