The document provides instructions for computer science holiday homework for classes 11 A and 11 B. Students are asked to write 14 Python programs covering topics like input/output, number comparisons, series, strings, lists/tuples, dictionaries and conditional logic. For each program, they must write the code in their practical file and include the output.
The document provides instructions for computer science holiday homework for classes 11 A and 11 B. Students are asked to write 14 Python programs covering topics like input/output, number comparisons, series, strings, lists/tuples, dictionaries and conditional logic. For each program, they must write the code in their practical file and include the output.
The document provides instructions for computer science holiday homework for classes 11 A and 11 B. Students are asked to write 14 Python programs covering topics like input/output, number comparisons, series, strings, lists/tuples, dictionaries and conditional logic. For each program, they must write the code in their practical file and include the output.
HOLIDAY HOME WORK SESSION 2023-24 SUBJECT : COMPUTER SCIENCE WITH PYTHON CLASS XI A(PCM)+ XI B(PCB) Note: - Dear Students write the given below program in Practical file with there output after implementation.
1. Python program to input welcome message and display it.
2. Python program to input two numbers and display the larger/smaller number. 3. Python program to input three numbers and display the larger/smaller number. 4. Determine whether a number is a perfect number ,an armstrong number or a palindrome. 5. Input a number and check if the number is prime or composite number. 6. Display the terms of fibonacci series. 7. Compute the greatest common divider and least common multiple of two integer. 8. Count and display the number of vowels consonants, uppercase, lowercase characters in string. 9. input a string and determine whether it is palindrome or not; convert the case of characters in a string. 10. Find the largest/ smallest number in a list/tuple. 11. Input a list of numbers and swap element at the even location with the elements at the odd location 12. Input a list/tuple of elements, search for given element in the list/tuple. 13. input a list of numbers and find the smallest and largest number from the list. 14. create a dictionary with roll number, name and marks of n students in a class and display the names of students who have scored marks above 75.