CA Questions For D4
CA Questions For D4
15. Write an example program to illustrate the use of any 5 string handling functions.
16. Write A program to multiply two 2D matrices
17. Write A program to add two 2D matrices
18. Write A program to subtract two 2D matrices
19. Write A program to find transpose of 2D matrices
20. WAP to find the largest and smallest element in an array
21. WAP to search an element in an array
22. WAP to delete an element from the array and rearrange the array
23. WAP to read and display a 3X3 matrix
24. WAP to find the length of a string
25. WAP to reverse a string
26. To find factorial of a given number using functions
27. Swap two numbers using functions.
28. WAP to create copy of a given array and display both arrays
29. To find GCD of two numbers using recursion
30. WAP to find LCM and HCF of two integers using functions
31.
32. Simple Calculator Using switch …..Case
33. 17. Check Whether a Character is a Vowel or Consonant Using switch …..Case
34. Print the pattern (Take input from user for number of lines)
*
***
*****
*******
*********
*******
*****
***
*
1
2 3
4 5 6
7 8 9 10
38 print the numbers in the following pattern
1 2 3 4
5 6 7
8 9
10
40 Write a program to sum the following series : 1/1! + 1/2! + 1/3! + ……+ 1/n!