0% found this document useful (0 votes)
2 views1 page

2nd PUC Computer Science Assignment

Uploaded by

thelordsauron789
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)
2 views1 page

2nd PUC Computer Science Assignment

Uploaded by

thelordsauron789
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

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

You might also like