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

Practicals Programmes 2024-25

This document outlines the Computer Science curriculum for Class XI at Sunrise English Private School in Abu Dhabi for the 2024-25 academic year. It includes a list of programming exercises in Python, covering topics such as simple and compound interest, date calculations, string manipulations, and various mathematical series. The exercises aim to enhance students' programming skills through practical applications and problem-solving.

Uploaded by

Sunitha
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)
40 views3 pages

Practicals Programmes 2024-25

This document outlines the Computer Science curriculum for Class XI at Sunrise English Private School in Abu Dhabi for the 2024-25 academic year. It includes a list of programming exercises in Python, covering topics such as simple and compound interest, date calculations, string manipulations, and various mathematical series. The exercises aim to enhance students' programming skills through practical applications and problem-solving.

Uploaded by

Sunitha
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

SUNRISE ENGLISH PRIVATE SCHOOL-ABU DHABI

2024-25
SUBJECT-COMPUTER SCIENCE CLASS-XI
PROGRAMMING IN PYTHON
1. Program to compute the simple interest and compound interest.
2. Program to take two inputs for day, month and then calculate which day of the year, the given
date is. ( For simplicity, take 30 days for all months. If you give input as Day 8 , month 3 then it
should print “Day of the year : 68)
3. Program to read the time in seconds and prints it in form: minutes and seconds.(Use floor division
and modulus operator).
4. Program to take a three digit number and print the reversed number(Use floor division and
modulus operator). If you input 456 then the program should print 654
5. Program to read three numbers and print the biggest number(use simple if statement)
6. Program to check whether the given year is a leap year or not(use if-else statement)
7. Program to input length of three sides of a triangle. Then check if these sides will form a triangle
or not.

8. Program to read a character and check whether it is an upper case alphabet, lower case alphabet,
digit or a special character(use if-elif-else statement)
9. Menu driven program that displays the result of the following evaluations based on the user’s choice.
A. Absolute value of a number
B. Natural logarithm of a number
C. Square root of a number
D. A random number between 0 and 100
10. Program to print Fibonacci series (use for loop)
11. Program to input the value of x and n and print the sum of the following series:
1+x+x2 + x3 +…..xn
12. Program to print the sum of the following series: (use for loop)
1+ 1/1! +1/2! + 1/3!+…..+1/n!

13. Program to print the following pattern ( use nested for loop)
12345
1234
123
12
1
14. Program to print all the Armstrong numbers between 100 to 2000(use nested loop)
The output should be 153, 370,371,407
15. Program to read a string and check whether it is a palindrome string or not. (use string)
16. Program to read a sentence and print the original sentence along with the following statisticsrelating
to the sentence( use String functions)
a. Number of words
b. Number of characters (including white space and punctuations)
c. Percentage of characters that are alpha numeric.
17. Program to count frequency of a given element in a list of numbers(use list)
18. Program that prints the sum of the even indexed elements of L,minus the sum of the odd-indexed
elements of L. (use list)
19. Program to create a nested tuple to store roll number, name,and marks of students.
20. Program to convert a number entered by user into its corresponding number in words.. (use
dictionary for keys 0-9 and their values as equivalent words)

You might also like