Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
1 views3 pages

Program File List

The document outlines the Computer Science program for Class XI at Indraprastha International School for the session 2025-26. It includes a list of programming assignments covering topics such as Python basics, flow control, string manipulation, and list manipulation. Each assignment specifies tasks for students to complete, focusing on practical coding skills and problem-solving.
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)
1 views3 pages

Program File List

The document outlines the Computer Science program for Class XI at Indraprastha International School for the session 2025-26. It includes a list of programming assignments covering topics such as Python basics, flow control, string manipulation, and list manipulation. Each assignment specifies tasks for students to complete, focusing on practical coding skills and problem-solving.
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/ 3

Indraprastha INTERNATIONAL SCHOOL

Sector 10, Dwarka, New Delhi – 110075

Session: 2025-26
Computer Science (083)
Program List

Class: XI

Basics of Python and Flow of Control


1. WAP to input three numbers and check the largest of the numbers.
2. WAP to input any value of any type from the user. If it is an integer values, add 10 to it and
display. If it is a string, display it five times. If it is a float value, divide it by 6 and display
the integer part of the result. Else, print a message, “Not a digit, float or string”.
3. WAP to input a number from the user. If it is even, divide it by 2 else multiply it by 2 and
display the result.
4. WAP to input Principal amount, rate of interest and time from the user to calculate Simple
Interest and display the same.
5. WAP to accept the name of the student and his marks in 5 subjects (each out of 50). Find the
total marks and percentage. Assign the student grades as per the following criteria:
Percentage Grade
<40 E
40-50 D
51-60 C
61-70 B
70-90 A
>90 O (outstanding)
6. WAP to accept an amount from the user and print the discount given on final amount. The
user should be given 5% discount on amount above Rs 2000, else no discount.
7. WAP to input a number from the user. Also ask the user to input a choice. If the choice is 1,
print the table of the number, if the choice is 2, print the factorial of the number, if the
choice is 3, check if the number is prime or not, else, display “Invalid Choice” message.
8. WAP to print the sum of following series: 1 4 9 16 25……n2.
9. WAP to check if the number input by the user is a palindrome or not.
10. WAP to print the following patterns:

A.
*
**
***
****
*****

Page 1
B.
*****
****
***
**
*

C.
1
12
123
1234

D.
1
22
333
4444

String Manipulation
1. WAP to input a string from the user and count the number of uppercase , lowercase
characters from the string.
2. WAP to input a string from the user and count the number of spaces, digits and special
characters from the string.
3. WAP to input a string from the user and count the number of upper case vowels in the
string.
4. WAP to input a string from the user and count the number of lower case consonants from
the string.
5. WAP to input a string from the user. Copy it to other string but replacing each space to #.
6. WAP to input a string from the user and check if it is a palindrome or not.
7. WAP to input a string from the user and display the elements from 3rd index to 10th index.
8. WAP to input a string from the user and count the number of words in the string.
9. WAP to input a string from the user and capitalizes first character of every word in the
string.
10. WAP to input a string from the user and show the use of split() and partition() methods.

List Manipulation
1. WAP to create a list of 10 elements and perform the following:
a. Reverse the list
b. Sort the list
c. Print all the elements from 3rd to 8th index
d. Add all the elements of the list
2. WAP to create a heterogeneous list of 10 elements. Count the number of strings,
integers, float values and Boolean values from the list, through User Defined Function.
Page 2
3. WAP to create a list of 5 numbers. Add 5 more integers to it. Find the sum of 5 recently
added numbers.
4. WAP to create a heterogenous list and find the mean of the list elements, without using
len or sum functions.
5. WAP to create a list of all the multiples of 8 between the range 100 and 200 (both
values included).
6. WAP to create a heterogenous list and delete the element whose index is input by the
user.

Page 3

You might also like