0% found this document useful (0 votes)
22 views3 pages

CA Questions For D4

Uploaded by

Dhruv Sangam
Copyright
© © All Rights Reserved
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
0% found this document useful (0 votes)
22 views3 pages

CA Questions For D4

Uploaded by

Dhruv Sangam
Copyright
© © All Rights Reserved
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/ 3

1.

To check whether the given year is leap year (or) not


2. Roots of Quadratic Equation.
3. Finding smallest& biggest number from the given set of 4 numbers using ‘if’ statement.
4. Calculate the student grade in the examination – assume suitable constraints.
5. Prepare electricity bill for the consumed units – assume suitable constraints.
6. Converting given two digit number into words using switch statement
7. To illustrate the usage of ‘goto’ statement.

8. To Display first N natural numbers


9. To find whether the given number is Armstrong (or) not
10. To find reverse of the given number and to check whether it is palindrome (or) not.
11. To find whether given number is strong number (or) not.
12. To check whether given number is Prime (or) not
13. To display prime numbers with in the given range (Nesting of Loops).
14. To display the following structure (Nesting of Loops)

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)
*
***
*****
*******
*********
*******
*****
***
*

35 . print the pattern(take input from user for number of alphabets)


A
BB
CCC
DDDD
EEEEE

36.print the pattern(take input from user for number of lines)


…………….
* * * *
* * *
* *
*
37 print the numbers in the following pattern

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

39 WAP for pascal’s triangle pattern

40 Write a program to sum the following series : 1/1! + 1/2! + 1/3! + ……+ 1/n!

You might also like