0% found this document useful (0 votes)
9 views

Arsalan_class_12_CS_practical[1]

practica;

Uploaded by

asanonae0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Arsalan_class_12_CS_practical[1]

practica;

Uploaded by

asanonae0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

INDEX PAGE

Section-A ( PYTHON)

SL Practical Name PAGE TEACHER’S


No NO. SIGNATURE

Write a program to check


1 6
whether if the number is
palindrome or not ?

Write a program to display ASCII


2 code of a character and vice versa 7

Write a program to make a


3 simple calculator ? 8

Write a program to count the no.


4 of vowels ,digits, consonants and 9
special character in a string?

Write a program to input marks and calculate the


5 10
grade of student after adding the marks ?

Write a program to generate a list of numbers


6 11
using for loop . Take the number input from the
user ?
Write a program to read a text
7 file line by line and display each 12
words separated by hash?

Read a text file and display the number of


8 13
vowels, con- sonants, uppercase, characters and
digits in a file.
Write a program to find the size of the file in
9 bytes ,the number of lines, the number of words 14
and number of characters?
Create a binary file with the name and roll
10 number. Search for a given roll number and 15
display the name, if not found, display
appropriate message.
Create a binary file with roll number, name and
11 16
marks. Input a roll number and update his
details.
Write a program to perform Read and write
12 operation on a CSV file "student.csv" having 17
fields as roll number, name, stream and
percentage.
Write a program to create a module having
methods to calculate area and parameter of
13 18
rectangle, square and triangle in python and then
import this module in the program.
Write a menu driven python program to
14 implement a stack using list data structure . It 19
should give option for push , pop and display the
stack elements

TEACHER’S SIGNATURE

You might also like