PRACTICAL FILE
Computer Science (083)
Class 11
Session: 2025 – 26
Woodlempark School
Al Qusais School Zone, Dubai, UAE
Roll No.:12
Name of Student: Mohammad Fazza
Class: 11 A
Subject: Computer Science (083)
School: Woodlem Park School
CERTIFICATE
This is to certify that [Name of Student], a student of Class
11, Section - A has successfully completed and submitted the
practical file of Computer Science (083) as per the guidelines
provided by CBSE in the prescribed curriculum for academic
year 2025-26.
The practical file has been evaluated and found correct in
accordance with the guidelines provided by the board- for
Academic year 2025-26. The work has been completed and
presented in a satisfactory manner.
No. of practicals certified are:
Date:23/8/2025 Examiner
School Stamp Principal
InDEX
Sr. No. Assignment Date Sign.
1. 25/8/2025
Data Types
2. 28/8/2025
Eligibility Check
3. 30/8/2025
Final Grade Calculation
4. 30/8/2025
Temperature Conversion
5. 30/8/2025
Fibonacci Series
6. 30/8/2025
Name Initials
7. 30/8/2025
Sentence Processing
8. 26/8/2025
Average & Top
Scorer
9. 27/8/2025
Search & Count
Marks
10. 27/8/2025
Nested List
Marks
Title:
Python Program to Identify Data Types of Student Report Entries
Aim:
To create a Python program that determines and displays the data types of various elements
in a student’s report such as name, roll number, marks, and result.
Algorithm:
1. Start the program.
2. Define individual variables for name, roll number, marks, and result.
3. Use the (type) function to check the data type of each variable.
4. Display each variable along with its corresponding data type.
5. End the program.
Source Code:
# Python program to check data types of student report values
name = "Fazza"
roll_no = 12
marks = 88.5
result = Truev
print("Name:", name, "| Data type:", type(name))
print("Roll No:", roll_no, "| Data type:", type(roll_no))
print("Marks:", marks, "| Data type:", type(marks))
print("Result:", result, "| Data type:", type(result)
Output:
Name: Fazza | Data type: <class 'str'>
Roll No: 12 | Data type: <class 'int'>
Marks: 88.5 | Data type: <class 'float'>
Result: True | Data type: <class 'bool'>
Result:
The program successfully identifies and displays the data types of the values contained in the
student’s report.
Title: Python Program to Determine Student Eligibility Using Operators
Aim:
To develop a Python program that applies comparison and logical operators to decide if a
student qualifies for admission based on age and grade.
Algorithm:
1. Start the program.
2. Input the student’s age and grade.
3. Use comparison and logical operators to verify eligibility.
4. If the age is 18 or above and the grade is 50 or higher, display "Eligible"; otherwise,
display "Not Eligible".
5. End the program.
Source Code:
age = 18
grade = 55
if age >= 18 and grade >= 50:
print("Student is Eligible for admission")
else:
print("Student is Not Eligible")
Output:
Student is Eligible for admission
Result:
The program successfully checks eligibility criteria using operators and provides the correct
result.
Title: Python Program to Compute Final Grade Using Weighted Marks
Aim:
To determine the final grade of a student by applying weighted expressions on internal,
external, and assignment marks.
Algorithm:
1. Start the program.
2. Assign values to internal, external, and assignment marks.
3. Apply the weighted formula:
Final Grade=0.4×Internal+0.5×External+0.1×AssignmentFinal\ Grade = 0.4 \times
Internal + 0.5 \times External + 0.1 \times AssignmentFinal
Grade=0.4×Internal+0.5×External+0.1×Assignment
4. Display the final grade.
5. End the program.
Source Code:
# Program to compute final grade using weighted marks
internal = 40
external = 70
assignment = 20
final_grade = 0.4 * internal + 0.5 * external + 0.1 *
assignment
print("Final Grade:", final_grade)
Output:
Final Grade: 53.0
Result:
The program correctly computes the final grade using the weighted expression formula.
Title: Python Program to Convert Temperatures Between Celsius and Fahrenheit
Aim:
To create a program that converts temperatures from Celsius to Fahrenheit and vice versa.
Algorithm:
1. Start the program.
2. Assign a temperature in Celsius.
3. Convert Celsius to Fahrenheit using the formula: (C × 9/5) + 32.
4. Assign a temperature in Fahrenheit.
5. Convert Fahrenheit to Celsius using the formula: (F − 32) × 5/9.
6. Display both conversions.
7. End the program.
Source Code:
# Temperature conversion program
celsius = 25
fahrenheit = (celsius * 9/5) + 32
print("Celsius:", celsius, "-> Fahrenheit:", fahrenheit)
fahrenheit = 77
celsius = (fahrenheit - 32) * 5/9
print("Fahrenheit:", fahrenheit, "-> Celsius:", celsius)
Output:
Celsius: 25 -> Fahrenheit: 77.0
Fahrenheit: 77 -> Celsius: 25.0
Result:
The program successfully converts temperatures between Celsius and Fahrenheit.
Title: Python Program to Generate Fibonacci Series up to n Terms
Aim:
To generate and display the Fibonacci sequence up to a given number of terms.
Algorithm:
1. Start the program.
2. Initialize the first two terms as 0 and 1.
3. Loop from 0 to n−1.
4. Print each term and update the values.
5. End the program.
Source Code:
# Fibonacci series program
n = 10
a, b = 0, 1
print("Fibonacci series:")
for i in range(n):
print(a, end=" ")
a, b = b, a + b
Output:
Fibonacci series:
0 1 1 2 3 5 8 13 21 34
Result:
The program correctly displays the Fibonacci series up to n terms.
Title: Python Program to Extract Initials from a Full Name
Aim:
To write a program that extracts and displays the initials from a person’s full name using
string slicing.
Algorithm:
1. Start the program.
2. Define a string for the full name.
3. Split the name into separate words.
4. Extract the first character from each word.
5. Combine them and display as initials.
6. End the program.
Source Code:
# Program to extract initials from full name
full_name = "Mohammad Fazza"
words = full_name.split()
initials = "".join([w[0].upper() for w in words])
print("Full Name:", full_name)
print("Initials:", initials)
Output:
Full Name: Mohammad Fazza
Initials: MF
Result:
The program successfully extracts and displays initials from the full name.
Title: Python Program to Process a Sentence Using String Functions
Aim:
To perform operations on a sentence such as counting vowels and replacing words using
string functions.
Algorithm:
1. Start the program.
2. Assign a sentence.
3. Count the number of vowels in the sentence.
4. Replace a specific word in the sentence.
5. Display the results.
6. End the program.
Source Code:
# Program to process a sentence
sentence = "Python is a powerful programming language"
vowels = "aeiouAEIOU"
count = sum(1 for ch in sentence if ch in vowels)
print("Original Sentence:", sentence)
print("Vowel Count:", count)
print("After Replacement:", sentence.replace("powerful",
"amazing"))
Output:
Original Sentence: Python is a powerful programming language
Vowel Count: 11
After Replacement: Python is a amazing programming language
Result:
The program correctly processes a sentence using string operations.
Title: Python Program to Calculate Average Marks and Find Top Scorer
Aim:
To calculate the average marks of students and identify the highest score using a list.
Algorithm:
1. Start the program.
2. Define a list containing student marks.
3. Compute the average using sum() / len().
4. Find the highest marks using max().
5. Display the average and top scorer marks.
6. End the program.
Source Code:
# Program to calculate average marks and top scorer
marks = [85, 90, 78, 92, 88]
average = sum(marks) / len(marks)
top_score = max(marks)
print("Marks:", marks)
print("Average Marks:", average)
print("Top Scorer Marks:", top_score)
Output:
Marks: [85, 90, 78, 92, 88]
Average Marks: 86.6
Top Scorer Marks: 92
Result:
The program successfully calculates the average and identifies the top scorer.
Title: Python Program to Search a Mark and Count Students Above 80
Aim:
To search for a specific student’s mark in a list and count how many students scored above
80.
Algorithm:
1. Start the program.
2. Define a list of student marks.
3. Search for a particular mark using the in operator.
4. Count how many marks are greater than 80.
5. Display the search result and count.
6. End the program.
Source Code:
# Program to search a mark and count students above 80
marks = [76, 85, 90, 67, 88, 92, 73]
search_mark = 90
print("Marks:", marks)
if search_mark in marks:
print(search_mark, "found in the list")
else:
print(search_mark, "not found")
count = sum(1 for m in marks if m > 80)
print("Number of students scoring above 80:", count)
Output:
Marks: [76, 85, 90, 67, 88, 92, 73]
90 found in the list
Number of students scoring above 80: 4
Result:
The program correctly searches for a mark and counts how many students scored above 80.
Title: Python Program to Store and Display Student Marks Using Nested Lists
Aim:
To store subject-wise marks of students in a nested list and display their details.
Algorithm:
1. Start the program.
2. Create a nested list containing student names and their marks.
3. Loop through the list to display each student’s details.
4. End the program.
Source Code:
# Program to store and display student subject marks using
nested list
students = [
["Ali", [85, 90, 78]],
["Sara", [88, 92, 80]],
["Fazza", [75, 85, 89]]
for student in students:
name, marks = student
print("Name:", name, "| Marks:", marks)
Output:
Name: Ali | Marks: [85, 90, 78]
Name: Sara | Marks: [88, 92, 80]
Name: Fazza| Marks: [75, 85, 89]
Result:
The program successfully stores and displays subject marks of students using a nested list.