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

Xii Cs Practical List

The document outlines a list of practical programming tasks for XII CS students to be completed in a Shoelace file. Each program includes specific requirements, such as checking for palindromes, manipulating email IDs, and creating dictionaries with average marks. Additionally, students must include screenshots of their program outputs alongside the written code.

Uploaded by

samadritaguptac
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)
6 views2 pages

Xii Cs Practical List

The document outlines a list of practical programming tasks for XII CS students to be completed in a Shoelace file. Each program includes specific requirements, such as checking for palindromes, manipulating email IDs, and creating dictionaries with average marks. Additionally, students must include screenshots of their program outputs alongside the written code.

Uploaded by

samadritaguptac
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

XII CS Practical Program List

●​ Practical Programs must be done in Shoelace File


●​ Index page must have (Sl no, Program name, Page no, Date, Teacher's Signature) Columns.
●​ Paste the screenshot of the output on the left white page of each program

Date Sl No Program

1 Write a program to check a number is palindrome or not.

Write a program to read Email IDs of n number of students and store


01/04/25 2 them in a tuple. Create two new tuples ,one to store only user name
from the Email IDs and other to store domain names from the Email
IDs. Print all three tuples.

3 Write a program to user input a list and find a given number. If the
number is present swap it with the number present at 5 index prior to it

Write a program to create a dictionary which accepts Marks of five


subjects namely English, Physics, Chemistry, Maths and Computer in a
4 list where the key should be name of the students and the consequent
subject marks should be taken in a list format as their value. Now
replace each value with the average of the marks.
Eg: If the dictionary is taken as {‘A’:[10,20,30,40,50]}
The output will be {‘A’:30}
08/04/25
5 Write a program to input a sentence from user and reverse each word of
the sentence
Sample input : Hello World
Sample Output: olleH dlroW

6 Write a program with a function printPrime which will take the lower
limit and upper limit as parameters and print the prime numbers
between the limit.

Write a function EOReplace() in Python, which accepts a list L of


7 numbers. Thereafter, it increments all even numbers by 1 and
decrements all odd numbers by 1.

Write a function INDEX_DICT(D) where D is the Dictionary element


passed as argument to the function. The function returns the keys of the
22/04/25 8 non zero items from the list.
Eg: Sample input: {"A" : 12 , "B": 10 , "C" : 0 , "D" : 30}
Sample output: ["A","B","D"]
9 Write a function count3or7(N) which which find and display the count
of numbers between 1 to N and divisible by either 3 or 7

You might also like