You are on page 1of 4

Designed by Quartz

1. Solve the knapsack problem using dynamic programming.

2. Implement a backtracking algorithm to solve the


Sudoku puzzle.

3. Write a program to find the sum of the even numbers


in an array of integers.

4. Write a function to reverse an array of characters.

5. Implement a program to sort an array of numbers using


the bubble sort algorithm.

6. Write a program to search for a specific element in


an array of strings.

7. Write a program to generate a random number between 1


and 100.

8. Write a function to format a number with decimal


places.

9. Implement a program to convert a string to uppercase


letters.

10. Write a program to calculate the factorial of a


number using a loop

11. Write a function to find the largest number in an


array using conditional statements.
12. Implement a program to draw a pattern of stars
using nested loops.

13. Write a program to generate a random password


using a switch statement.

14. Write a program to convert temperatures from


Celsius to Fahrenheit and vice versa.

15. Write a function to calculate the area of a


triangle given its base and height.

16. Implement a program to simulate a simple guessing


game.

17. Write a program to check whether a number is


prime or not.

18. Write a function to find the largest number in an


array using conditional statements

19. Write a function to format a number with decimal


places.

20. Implement a program to convert a string to


uppercase letters.

21. Write a program to check whether a character is a


vowel or a consonant.

THESE QUESTIONS ARE INTENDED FOR A PROGRAMMER TO GRASP


CONCEPTS DON’T MEMORIZE CODES BUT KNOW THEM
For solution feel free to contact

Author : CHIBI TINODAISHE M

CELL : 0781081816 (state you name and objective )

Isaiah 43 vs 2

BEST WISHES ENGINEERS


==================================================================================

You might also like