PHYSICS
PRACTICAL FILE
SUBMITTED BY
NAME:________________
ROLLNO:______________
CLASS/SEC:___________
SESSION:_____________
CONTENTS
1. Certificate
2. Acknowledgment
3. Python Programs
4. Output Screenshots
5. MySQL queries
6. Query Output
7. Bibliography / Webliography
CERTIFICATE
THIS TO CERTIFY THAT <name of the
student>,(Admn No) OF CLASS/SEC
______ , A BONAFIDE STUDENT OF DELHI
PUBLIC SCHOOL, PATNA HAS
SUCCESSFULLY COMPLETED THE
PRACTICAL FILE UNDER MY SUPERVISION
FOR CLASS-XI PRACTICAL EXAMINATION
OF THE CENTRAL BOARD OF SECONDARY
EDUCATION IN THE YEAR ________.
___________
SIGNATURE
(SUBJECT TEACHER)
ACKNOWLEDMENT
I would like to express my gratitude for
my IP teacher, (<name of teacher>)
who helped me in understanding the
concepts and reiterate the same in my
programs. I am thankful to my parents
for always being there at my aid. I also
take this opportunity to thank my friends
for sharing their valuable ideas and time
with me to help me complete this
assignment within the limited time
frame. I am really grateful to all of them.
Python SOURCE
CODE
<<Here students will write the code of at
least
15 Python programs>>
Few sample questions are given below.
1. To find average and grade for given marks.
2. To find the sale price of an item with a given cost and discount (%).
3. To calculate perimeter/circumference and area of shapes such as
triangle, rectangle, square and circle.
4. To calculate Simple and Compound interest.
5. To calculate profit-loss for a given Cost and Sell Price.
6. To calculate EMI for Amount, Period and Interest.
7. To calculate tax - GST / Income Tax.
8. To find the largest and smallest numbers in a list.
9. To find the third largest/smallest number in a list.
10. To find the sum of squares of the first 100 natural numbers.
11. To print the first ‘n’ multiples of a given number.
12. To count the number of vowels in a user entered string.
13. To print the words starting with a particular alphabet in a user
entered string.
14. To print the number of occurrences of a given alphabet in a given
string.
15. Create a dictionary to store names of states and their capitals.
16. Create a dictionary of students to store names and marks
obtained in 5 subjects. 17. To print the highest and lowest values in
the dictionary.
OUTPUT
<<Here the screenshots of the output of
all the 15 programs written above after
executing the program (source code)
should be printed. >>
Please note: Students can print one
source code and immediately follow
it with the output screen also. It’s
your choice of placing the programs
and outputs.
MySQL
queries and
their
OUTPUT
At least 15 SQL queries
Few sample questions for queries:
1. To create a database
2. To create a student table with the student id, class, section, gender, name, dob,
and marks as attributes where the student id is the primary key.
3. To insert the details of at least 10 students in the above table.
4. To delete the details of a particular student in the above table.
5. To increase marks by 5% for those students who have Rno more than 20.
6. To display the entire content of the table.
7. To display Rno, Name and Marks of those students who are scoring marks more
than 50.
8. To find the average of marks from the student table.
9. To find the number of students, who are from section ‘A’.
10. To add a new column email in the above table with appropriate data type.
11. To add the email ids of each student in the previously created email column.
12. To display the information of all the students, whose name starts with ‘AN’
(Examples:
ANAND,
ANGAD,..)
13. To display Rno, Name, DOB of those students who are born between ‘2005-
01-01’ and ‘2005-12-31’.
14. To display Rno, Name, DOB, Marks, Email of those male students in
ascending order of their names.
15. To display Rno, Gender, Name, DOB, Marks, Email in descending order of
their marks.
16. To display the unique section available in the table.
BIBLIOGRAPHY /
WEBLIOGRAPHY
<<Here student will write all those
sources including text books, websites,
etc. that has helped them in preparing
these programs. Acknowledgement of
any source used must be done here. >>