We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4
:
S. Name of Experiment Page Date Teacher’s
No. No. Signature 1 WAP to display “Hello World” on the computer screen. 2 WAP to check whether the entered number is positive or negative. 3 WAP to check whether number is even or odd. 4 WAP to convert temperature from degree Celsius to Fahrenheit. 5 WAP to find the roots of a quadratic equation 6 WAP to calculate Simple and Compound Interest. 7 WAP to check whether a year is leap or not. 8 WAP to check whether entered character is vowel, constant or number. 9 WAP to display the character of ASCII value or vice-versa. 10 WAP to display the size of integer, floating point and character using size of operator. 11 WAP to swap values of two numbers without using third number. 12 WAP to find largest of three numbers using ternary operator. 13 WAP to calculate area of circle, triangle, square, rectangle or parallelogram. 14 WAP to design a simple calculator. 15 WAP to print first 10 Natural Numbers. 16 WAP to print table of a number. 17 WAP to check whether a number is prime or not. 18 WAP to calculate factorial of a number. 19 WAP to calculate primes between 1 to 100. 20 WAP to print first n Odd numbers and their Sum. 21 WAP to print Fibonacci series (n numbers). 22 WAP to print the given pattern. * * ** ** *** * * * **** * * * * 23 WAP to swap 2 numbers using call by Value and call by Reference 24 WAP to find factorial of a number using Recursion 25 WAP to show usage of Logical and Bitwise Operator 26 WAP to find sum of Geometric Series 27 Write a recursive program to print first m Fibonacci numbers 28 WAP to calculate cube of a number using function 29 WAP to check whether a number is Armstrong or not 30 WAP to read array elements and print them with addresses 31 WAP to perform Linear Search on an array 32 WAP for Binary Search 33 WAP to find Maximum and Minimum elements of an array 34 WAP to find the second largest element of an array 35 WAP to access elements of a 2-D array and print the sum of all the elements in that array 36 Write a menu driven program for the matrices and do the following operations using matrices: a. Addition of 2 matrices b. Subtraction of 2 matrices c. Product of 2 matrices d. Transpose of matrices e. Upper & Lower triangular matrix 37 WAP to use String functions (Library as well as User-defined) 38 WAP to find length of a string without using inbuilt function 39 WAP to check whether entered string is Palindrome or not 40 WAP to reverse string 41 Write a program to sort a list of strings in alphabetical order 42 Write a program to count number of words in a string 43 Write a program to concatenate two strings 44 Write a program to calculate length of a string 45 Write a program to count the uppercase, lowercase, digits and special characters in a string 46 Write a program to copy a string 47 Write a program to sort the values of an array using the bubble sort technique 48 Write a recursive program for towers of hanoi problem 49 Write a program to increment / decrement a pointer 50 Write a program to use pointer to a pointer 51 Write a program to return pointer from a function 52 Write a program to use array of pointers 53 Write a program to add two complex numbers using structures 54 Write a program to store information of n students using structures 55 Write a program to open a file, write some content and close it 56 Write a program to open a file, reads content and close it 57 An array of record contains information of managers nd workers of a company. Write a program to print all the data of workers nd managers in a separate file 58 Write a program to copy one file to another using command line arguments 59 Write a program to count number of lowercase, uppercase, digits nd special characters present in the contents of a text file 60 Write a program to sort the values of an array using insertion sort technique