0% found this document useful (0 votes)
13 views2 pages

Question Bank

The document is a question bank containing 30 programming tasks that cover various fundamental concepts in programming. Tasks include finding sums, calculating areas, checking for prime numbers, and implementing algorithms like Fibonacci series and binary search. Each task is designed to enhance programming skills and understanding of basic algorithms and data structures.

Uploaded by

parthdangre91
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)
13 views2 pages

Question Bank

The document is a question bank containing 30 programming tasks that cover various fundamental concepts in programming. Tasks include finding sums, calculating areas, checking for prime numbers, and implementing algorithms like Fibonacci series and binary search. Each task is designed to enhance programming skills and understanding of basic algorithms and data structures.

Uploaded by

parthdangre91
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/ 2

(Question-Bank)

1. Write a program to find the sum of two numbers.


2. Create a program to calculate the area of a rectangle.
3. Implement a program to swap the values of two variables.
4. Write a program to check whether a number is even or odd.
5. Develop a program to find the largest among three numbers.
6. Create a program to check if a year is a leap year.
7. Implement a program to calculate the factorial of a number.
8. Write a program to check if a given character is a vowel or consonant.
9. Develop a program to convert temperature from Celsius to Fahrenheit.
10. Create a program to reverse a given number.
11. Implement a program to find the Fibonacci series up to N terms.
12. Write a program to check if a given string, is a palindrome.
13. Develop a program to calculate the area of a circle.
14. Create a program to find the prime factors of a given number.
15. Implement a program to calculate the power of a number.
16. Write a program to find the GCD (Greatest Common Divisor) of two numbers.
17. Develop a program to check if a number is a perfect number.
18. Create a program to perform matrix addition.
19. Implement a program to count the number of digits in a given number.
20. Write a program to print the Pascal's triangle.
21. Develop a program to check if a string is an anagram of another string.
22. Create a program to find the LCM (Least Common Multiple) of two numbers.
23. Implement a program to find the square root of a number using the Babylonian
method.
24. Write a program to sort an array of integers in ascending order.
25. Develop a program to find the reverse of a given string without using library
functions.
26. Create a program to perform binary search on a sorted array.
27. Implement a program to check if a number is a prime number.
28. Write a program to concatenate two strings without using library functions.
29. Develop a program to find the sum of elements in an array.
30. Create a program to generate and print the first N terms of the Fibonacci series.

You might also like