We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
INDEX
S.No Name of Program Page. Signature
No 1. Write a program that reads an integer value and 01 print—leap year or –not a leap year. 2. Write a program that takes a positive integer and 02 then produces n lines of output shown as follows. 3. Write a program to create the following Pattern- 03 For example enter a size: 5 – * ** *** **** ***** 4. Write a function that takes an integer n as input 04 And calculates the value of 1+1/1!+1/2!+1/n! 5. Write a function that takes an integer input and 05 Calculates the factorial of that number. 6. Write a function that takes a string input and 06 Checks if it is a palindrome or not. 7. Write a list function to convert a string into a list, 07 As in list (-abc) gives [a,b,c]. 8. Write a program to generate Fibonacci series. 08 9. Write a program to check whether the input 09 Number is even or odd. 10. Write a program to compare three numbers and 10 Print the largest one. 11. Write a program to print factors of a given 11 number. 12. Write a method to calculate GCD of two numbers. 12-13 13. Write a program to create Stack Class and 14-15 Implement all its methods,(Use Lists). 14. Write a program to create Queue Class and 16-17 Implement all its methods,(Use Lists) 15. Write a program to implement linear and binary 18-19 Search on lists. 16. Write a program to sort a list using insertion sort 20-21 And bubble sort and selection sort.