ANIL NEERUKONDA INSTITUTE OF TECHNOLOGY & SCIENCES (Affiliated to AU, Approved by AICTE & Accredited by NBA) SANGIVALASA-531 162, Bheemunipatnam Mandal

, Visakhapatnam District Phone: 08933-225083/84/87, Fax: 226395
DEPT OF COMPUTER SCIENCE AND ENGINEERING & INFORMATION TECHNOLOGY

CPNM LAB PROGRAMS LIST WEEK-1 1. MS DOS Commands 2. Write a program to perform the arithmetic operators of two numbers(+,-*,/) 3. Write a program to evaluate the expression (ax+by)/(ax-by) WEEK-2 1. Write a program to evaluate a +b +¥2ab 2. Write a program to check whether the given number is even or odd WEEK-3 1. Write a program to find the average of 5 numbers 2. Write a program to find the maximum number of given three numbers WEEK-4 1. Write a program to find the simple interest 2. Write a program to find the roots of a quadratic equation WEEK-5 1. Write a program to find the grade of a student for his 5 subject marks out of 100 2. Write a program to check whether the given number is prime or not WEEK-6 1. Write a program to find the sides of a triangle when: a) Sides are given b) Co-ordinates are given c) Base & height are given 2. Write a program to check whether the given number is palindrome or not 3. Write a program to find the reverse of a given number WEEK-7 1. Write a program to print the information in the following manner! 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5
2 2

WEEK-10 1. Write a program to print the Fibonacci series until n. WEEK-13 1. int. Write a program to perform the sorting operation of the given array (both ascending and descending). Write a program to calculate the area of a rectangle when a. Write a program which determines largest and smallest number that can be stored in different data types like short int. Write a program to convert the numbers from binary to decimal and vice-versa using switch case. float & double. Write a program to implement a set of string handling functions using switch case. To compute exponential series ex=1+x+x2/2!+----------+xn/n! 4. 2. Write a program to display random integer numbers in the range 1-100 and find the average of these by using (a) for « loop (b) while (c) do « while WEEK-9 1. 2. Write a program to generate 100 random real numbers in the range 10 to 20 and sort them. Sides of a triangle are given using functions 2. To find ncr and npr using functions . WEEK-11 1. To compute Cosine series Cosx=1-x2/2!+x4/4!-x6/6!+----------+xn/n! WEEK-8 1. 2. Base and height are given b. Write a program to multiply two matrices m & n and p & q 3. To find the trace of a matrix and compute norm of a matrix 2. Write a program to print the information in the following manner! 1 2 2 3 3 3 4 4 4 4 3. Write a program to find the transpose of a matrix. 2.2. Write a program to print the prime numbers up to given range n. WEEK-12 1.

2. Write a program to illustrate call by value and call by reference 2. Write a program to count the number of alphabets. Write a program to print & display the contents of a file in reverse order. Write a program to print every fifth character in a given file. Percentage and sort the records according to percentage. Write a program to find the square of given x2 -25 = 0 using bisection method WEEK-21 1. 5 subject marks e. Write a program to merge two files into third auxiliary file and display the content.WEEK-14 1. Write a program to assign values to union members d. integers and special characters in a file. 2. Write a program to find the square of given x2 -25 by false position method 2. Name b. Write a program to display strings using array of pointers 2. Write a program to illustrate concept of structure with in another structure WEEK-16 1. Write a program to transpose elements of a matrix using pointers 3. 3. Write a program to create a file with some integers and which reads the numbers & determines the mean & standard deviation. 3. WEEK-19 1. Write a program to determine the smallest arc length between two points on the surface of a sphere. Write a program to illustrate how to use pointer to a structure 3. WEEK-18 1. Write a program to convert uppercase letters into lowercase & vice-versa in a file & display the result. 2. Write a program to implement Newton¶s Rap son method WEEK-22 1. Write a program to create a structure for a student with details a. Write a C program to get the integration of the given function using Simpson¶s 1/3 rule . Write a program to find GCD of two numbers using recursion 3. Roll No c. Write a program to implement Secant method WEEK-23 1. Total marks WEEK-17 1. Write a program to implement Lagrange¶s interpolation WEEK-20 1. Write a program to print the Fibonacci series using recursion WEEK-15 1. 4.