List of Programs (SEC)
1. WAP to check entered character is vowel or consonant.
2. WAP to check a year is leap year or not.
3. WAP to evaluate the student performance based on %age of marks.
4. WAP to print the natural numbers up to N
5. WAP to print odd numbers up to n
6. WAP to print 1, 2, 4, 8, 16, 32, … 2n
7. WAP to check whether a number is prime or not.
8. WAP to calculate sum of natural numbers upto N.
9. WAP to print all characters of a given string and count number of vowels.
10. WAP to reverse a string and to replace part of string with another string.
11. WAP to print unique characters from a string
12. WAP to find average of marks in a list.
13. WAP to check whether the student’s name is there in the class list
14. WAP that takes a list of lists as an input from user, where each sub-list comprise subject name and
corresponding marks. It should display sum total of marks.
15. WAP to determine number of students who have obtained distinction (>=75)
16. WAP that takes a list as an input and removes all occurrences of a particular value.
17. WAP to delete name and corresponding roll number of student using lists
18. WAP to arrange the elements in a list in ascending order and then reverse the order of the elements.
19. WAP to remove all duplicates from a list.
20. WAP to determine if a specified item is present in a tuple
21. WAP to show tuple packing, unpacking, joining and replication
22. WAP to create a dictionary which has record of student information: {Admission No ,Roll No, Name,
Marks}. Display information on the basis of <Admission No>
23. WAP which takes input from user for shape for which area to be calculated and then calculates area of
circle, rectangle or square using user-defined functions.
24. WAP to return Multiple Values from a function.
25. WAP to add N natural numbers using recursion.
26. WAP to generate N Fibonacci numbers using recursion.
27. WAP to find time of execution of code using numpy.
28. WAP to store marks scored by students using numpy
29. WAP to create numpy array from list of lists
30. WAP to create 1D/2D array of zeros and ones
31. WAP to generate random integers within specified range
32. WAP to show indexing and slicing in 2D array.
33. WAP to draw a line from position (0,0) to position (6,250).
34. WAP to draw a line from position (1, 3) to (2, 8), then to (6, 1), then to position (8, 10)
35. WAP to display Multiple Plots with Titles and Supertitle.
36. WAP to Display Histogram, Bar and Scatter type of graphs.
37. Write a menu driven program to calculate area of circle, rectangle, square using if-elif-else.
38. WAP to count number of vowels using sets in a string.
39. WAP to read a list of N integers (positive and negative) and create two new lists one having all positive
numbers and the other having all negative numbers from the given list. Print all three lists.
40. WAP to create a list of tuples from given list having number and its cube in each tuple.