0% found this document useful (0 votes)
3 views2 pages

Class 12

The document outlines summer holiday homework for Class XII Computer Science students at G. R. Convent School. It includes a series of programming tasks in Python, such as creating functions for arithmetic operations, temperature conversion, Fibonacci series, factorials, and various number checks. Additionally, students are tasked with writing programs to demonstrate patterns and variable-length arguments.

Uploaded by

Mayank Rawat
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)
3 views2 pages

Class 12

The document outlines summer holiday homework for Class XII Computer Science students at G. R. Convent School. It includes a series of programming tasks in Python, such as creating functions for arithmetic operations, temperature conversion, Fibonacci series, factorials, and various number checks. Additionally, students are tasked with writing programs to demonstrate patterns and variable-length arguments.

Uploaded by

Mayank Rawat
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
You are on page 1/ 2

G. R.

CONVENT SCHOOL
NYAY KHAND-I, INDIRAPURAM, GZB.
SUMMER HOLIDAY HOME WORK
SUBJECT-COMPUTER SCIENCE
SESSION 2025-26
CLASS-XII

1. Write a python program to perform the basic arithmetic operations in a


menu-driven program with different functions.

2. Write a python program to enter a temperature in Celsius into Fahrenheit by


using a function.

3. Write a python program using a function to print Fibonacci series up to n


numbers.

4. Write a python program to return factorial series up to n numbers using a


function.

5. Write a python program to accept the username “Admin” as the default


argument and password 123 entered by the user to allow login into the
system.

6. Write a menu-driven python program using different functions for


the following menu:

1. Check no. is Palindrome or not


2. Check no. is Armstrong or not
3. Exit
7. Write a python program using a function to print prime numbers between n
to m.

8. Write a python program to demonstrate the concept of variable length


argument to calculate the sum and product of the first 10 numbers.

9. Write a python program to find maximum and minimum numbers among the
given 4 numbers.

10. Write a python program to print the following patterns using


functions:

1. Diamond Pattern with *


2. Butterfly Pattern with *
3. Triangle Pattern with *

You might also like