Download COMPUTER PRORAMMING LAB- LA 408 CYCLE

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Addition wikipedia , lookup

Elementary arithmetic wikipedia , lookup

Halting problem wikipedia , lookup

Transcript
COMPUTER PRORAMMING LAB- LA 408
CYCLE -I (Simple Programs)
1.
2.
3.
4.
5.
6.
7.
8.
Find the roots of a quadratic equation
Find factorial of aL number using function
Generate first N prime numbers
Find reverse and sum of digits of a number
Write a menu driven program to calculate a)Sin(x) b)Cos(x) using function.
Write a menu driven program for calculator
Generate Fibonacci series using recursion
Write a program to check whether the given number is Armstrong or not.
CYCLE -II (Arrays and Strings)
1. Sort the elements of an array in ascending order.
2. Program to Insert, Search and Delete operations in an array.
3. Matrix operations
4.
5.
6.
7.
8.
a) Addition b) Subtraction c) Multiplication
Find the upper and lower triangular elements of a matrix.
Sort the elements of an array in ascending order using function.
Check whether the given string is palindrome or not.
Count the number of vowels, consonants and white spaces in a text.
Sort a list of strings in alphabetical order
CYCLE -III (Structures, pointers and Files)
1. Write a program to print the rank list of N students using structures.
2. Write a program to create records with employee details of a company. The
3.
4.
5.
6.
7.
8.
interactive menu of the program should contain options for displaying, searching,
adding and deleting records.
Write a program to find smallest and largest elements in an array using pointers.
Write a program to sort elements in an array using pointers.
Sort a list of strings using pointers.
Merge two files.
Program to write even numbers to Even.txt and odd numbers to Odd.txt from the
file Number.txt
Write a program to count the number of letters in a file using command line
arguments.