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

Xi Cs Practical List

The document is a practical list for Class XI Computer Science students at Kendriya Vidyalaya Ambarnath, detailing various programming tasks to be completed in Python. It includes tasks such as checking for leap years, converting temperature, calculating areas, and working with lists and dictionaries. The exercises aim to enhance students' programming skills through practical application of concepts.

Uploaded by

vabhinav556
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

Xi Cs Practical List

The document is a practical list for Class XI Computer Science students at Kendriya Vidyalaya Ambarnath, detailing various programming tasks to be completed in Python. It includes tasks such as checking for leap years, converting temperature, calculating areas, and working with lists and dictionaries. The exercises aim to enhance students' programming skills through practical application of concepts.

Uploaded by

vabhinav556
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

KENDRIYA VIDYALAYA AMBARNATH

Class XI CS
Practical List
S.No Program
1) Write a program to check a year whether it is leap year or not.
2) Write a program in python to convert °C to °F and vice versa.
3) Write a python program to check that entered number is prime number or not.
4) Write a program to find the greatest number among three numbers.
5) Write a program to print roots of a quadratic equation ax2 + bx +c=0 (where a≠0)
6) WAP to input marks in 3 subjects,compute average and then calculate grades as per
following guidelines:

7) Write a menu driven program to calculate:


1. Area of circle[A=πr2]
2. Area of square [A=a*a]
3. Area of rectangle[A=l*b]
8) Write a program to count number of even and odd numbers entered by the user.
9) Write a menu driven program to do the following:
A) To print all prime numbers between 1 to 100.
B) To print all perfect numbers between 1 to 1000
10) Write a program to input the value of x and n and print the sum of the following series:
A) 1+2!+3!+4!+............n!
B) 1-X+X2-X3+X4-…….XN
C) x+x2/2!-x3/3!+x4/4!-…….xn/n!
11) Write a program to input a character and to print whether a given character is an
alphabet, digit or any other character.
12) Write menu based program to do the following:
A) To calculate Factorial of any number
B) To print fibonacci series upto n terms.
13) Write the code using loop to display the following pattern:
14) Write a program to check if a number is equal to the sum of the cubes of its digits
15) Write a menu based program in python to do the following:
A) To check that entered string is palindrom or not(Reverse of the string is similar to the
entered string like jahaj->jahaj is palindrom)
B) To check the entered number is palindrome or not.
16) Write a menu based python program to do the following operation:
A) To Compute the HCF/GCD Greatest Common Divisor of two numbers.
B) To Compute the LCM-Least Common Multiple of two numbers
17) Write a program in python to find largest and smallest number in a list along with its
position.
18) Write a loop that prints out the index of every ‘i’ in ‘Mississippi’.
19) Write a python program to enter a string and a sub-string. It should then display the
number of occurrences of the given sub-string in the line.
20) Program to print whether a given character is an uppercase or a lowercase character or a
digit or any other character.
21) write a program to input a line of text and prints out the biggest word(length wise) from
it.
22) Write a program to Find the second largest number in a list.
23) Write a program to search an element in a list.
24) Write a program to arrange list elements in ascending order.
25) Write a program to read a list of n integers (positive as well as negative).create two new
lists, one having all positive numbers and the other having all negative numbers from the
given list. Print all three list.
26) write a program to check if the minimum element of a tuple lies at the middle position of
the tuple.
27) Write python to Create a dictionary with the roll number, name and marks of n students
in a class and display the names of students who have marks above 75.
28) WAP that users a dictionary that contains ten usernames and password.The program
should ask the user to enter their username and passwords.If user name is not in the
dictionary,the program should indicate that the person is not a valid user of the system.IF
the user name is in the dictionary ,but the user does not enter the right password,the
program should say that the password is invalid.If the password is correct,then the
program should tell the user that they are now logged into the system.

You might also like