The document lists various programming assignments (WAP) that cover a range of topics including calculations for marks, interest, geometry, and array manipulations. Each assignment is numbered and includes a brief description of the task, along with the corresponding page number. The assignments aim to enhance programming skills through practical applications in different scenarios.
The document lists various programming assignments (WAP) that cover a range of topics including calculations for marks, interest, geometry, and array manipulations. Each assignment is numbered and includes a brief description of the task, along with the corresponding page number. The assignments aim to enhance programming skills through practical applications in different scenarios.
NO. NO. 01. WAP that accepts the marks of 5 07 subjects and finds the sum and percentage marks obtained by the student. 02. WAP that calculates the Simple 08 Interest and Compound Interest. The Principal, Amount, Rate of Interest and Time are entered through the keyboard. 03. WAP to calculate the area and 09 circumference of a circle 04. WAP that accepts the temperature in 10 Centigrade and converts in Fahrenheit using the formula C/5=(F-32)/9. 05. WAP that swaps values of two 11 variables using a third variable. 06. WAP that checks whether the two 12 numbers entered by the user are equal or not. 07. WAP that checks whether the two 13 numbers entered by the user are equal or not. 08. WAP that finds whether a given 14 number is even or odd. 09. WAP that tells whether a given year is 15 a leap year or not. 10. WAP that accepts marks of five 16 subjects and finds percentage and prints grades according to the following criteria: Between 90-100%-- ---Print ‘A’ 80-90%----------------- Print ‘B’ 60-80%-----------------Print ‘C’ Below 60%-------------Print ‘D’ 11. WAP that takes two operands and 17 one operator from the user, perform the operation,and prints the result by using Switch statement 12. WAP to print the sum of all numbers 18 up to a given number 13. WAP to find the factorial of a given 19 number. 14. WAP to print sum of even and odd 20 numbers from 1 to N numbers. 15. WAP to print the Fibonacci series. 21 16. WAP to check whether the entered 22 number is prime or not 17. WAP to find the sum of digits of the 23 entered number. 18. WAP to find the reverse of a number 24 19. WAP to print Armstrong numbers 25 from 1 to 100. 20. WAP to convert binary number into 26 decimal number and vice versa. 21. WAP that simply takes elements of 27 the array from the user and finds the sum of these elements. 22. WAP that inputs two arrays and saves 28 sum of corresponding elements of these arrays in a third array and prints them. 23. WAP to find the minimum and 29 maximum element of the array. 24. WAP to search an element in a array 30 using Linear Search 25. WAP to sort the elements of the array 31-32 in ascending order using Bubble Sort technique 26. WAP to add and mulply two 33-34 matrices of order nxn. 27. WAP that finds the sum of diagonal 35 elements of a mxn matrix. 28. WAP to implement strlen (), strcat 36-37 (),strcpy () using the concept of Functions. 29. WAP to swap two elements using the 38 concept of pointers. 30. WAP to compare the contents of two 39 files and determine whether they are same or not. 31. WAP to check whether a given word 40-41 exists in a file or not. If yes then find the number of times it occurs.
Tshri Vile Parle Kelvani Mandal'S D. J. Sanghvi College of Engineering Department of Information Technology Semester: Iii Subject: Java Programming Lab
Tshri Vile Parle Kelvani Mandal'S D. J. Sanghvi College of Engineering Department of Information Technology Semester: Iii Subject: Java Programming Lab