2nd PUC COMPUTER SCIENCE ASSIGNMENT
1. Explain try-except-else-finally using syntax and an example.
2. Show the step involved in sorting the elements 23, 4 ,9 ,6 ,14 using
insertion sort.
3. Write the algorithm to check if a string is a palindrome or not using
Deque.
4. Apply binary search for the following sequence of numbers. 10, 20, 30,
35, 40, 45, 50, 55, 60 search for item = 35.
5. Calculate the standard deviation of the following scores on an exam:
92, 95, 85, 80, 75, 50