0% found this document useful (0 votes)
195 views12 pages

Class XII Computer Science Practicals

This document contains a certificate for a student named Satya Narayan Mishra for their practical work in Computer Science during the 2023-2024 academic year at Rabindra Vidya Niketan in Keonjhar, Odisha. It also contains indexes and programs for 8 Python practical questions, along with the outputs and signatures of the teacher in charge. The questions cover topics like summing elements in a list, reversing and checking palindromes of strings, filtering unique elements from a list, writing data to files, and reading/processing text from files.

Uploaded by

sohand206
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)
195 views12 pages

Class XII Computer Science Practicals

This document contains a certificate for a student named Satya Narayan Mishra for their practical work in Computer Science during the 2023-2024 academic year at Rabindra Vidya Niketan in Keonjhar, Odisha. It also contains indexes and programs for 8 Python practical questions, along with the outputs and signatures of the teacher in charge. The questions cover topics like summing elements in a list, reversing and checking palindromes of strings, filtering unique elements from a list, writing data to files, and reading/processing text from files.

Uploaded by

sohand206
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

PRACTICAL FILE

COMPUTER SCIENCE
CLASS: XII SCIENCE

Department Of Computer Science


Rabindra Vidya Niketan, NH-49, Keonjhar, Odisha

Name : SATYA NARAYAN MISHRA


ROLL No :

1|Page
CERTIFICATE

Name: Satya Narayan Mishra Class: XII SCIENCE


Roll No: _____ Exam : AISSCE 2024
Institution: Rabindra Vidya Niketan, Keonjhar, Odisha

This is certified to be the bonafide work of the student in the Computer Science

Laboratory during the academic year 2023-24.

No. of practical certified ___________ out of ____________ in the subject of

Computer Science.

External Examiner Teacher In-Charge

Date:_______________

2|Page
I N D E X
Sl. Name of the practical Page Date of Practical Date of Signature
No. No. Submission

Teacher’s Signature

3|Page
Sl. Name of the practical Page Date of Practical Date of Signature
No. No. Submission

Teacher’s Signature
4|Page
PFQ01. WRITE A PYTHON FUNCTION TO SUM ALL THE NUMBERS IN
A LIST[USE FOR LOOP,LIST ELEMENT ACCEPTED BY USER].

PROGRAM:-

OUTPUT:-

Teacher’s Signature
5|Page
PFQ02. WRITE A PYTHON FUNCTION TO ACCEPT A STRING AND
PRINT THE REVERSE OF THE STRING.

PROGRAM:-

OUTPUT:-

Teacher’s Signature
6|Page
[Link] A PYTHON FUNCTION THAT ACCEPT A STRING AND
CALCULATE THE NUMBER OF UPPERCASE AND LOWERCASE
LETTER.

PROGRAM:-

OUTPUT:-

Teacher’s Signature

7|Page
[Link] A PYTHON FUNCTION THAT CHECKS WHEATHER THE
STRING IS PALINDROME OR NOT.

PROGRAM:-

OUTPUT:-

Teacher’s Signature
8|Page
[Link] A PYTHON FUNCTION THAT ACCEPT A LIST AND
RETURN A LIST WITH UNIQUE ELEMENTS OF FIRST LIST.

PROGRAM:-

OUTPUT:-

Teacher’s Signature
9|Page
[Link] A PROGRAM TO ACCEPT FIVE STUDENT’S DETAILS
(ROLL NO,NAME,MARKS) AND WRITE IT IN A FILE “[Link]”.

PROGRAM:-

OUTPUT:-

Teacher’s Signature

10 | P a g e
[Link] A METHOD (PRINT_LBYL())IN PYTHON TO READ THE
CONTEXT FROM A TEXT FILE(“[Link]”)LINE BY LINE AND DISPLAY
THE SAME ON THE SCREEN.

PROGRAM:-

OUTPUT:-

Teacher’s Signature
11 | P a g e
[Link] A METHOD IN PYTHON TO READ LINES FROM TEXT
FILE “[Link]”, TO FIND AND DISPLAY THE OCCURRENCE OF THE
WORD “India”

PROGRAM:-

OUTPUT:-

Teacher’s Signature

12 | P a g e

You might also like