Class 11 computer science half yearly exam practical question paper Comprehensive Guide

In this article, I will provide Class 11 computer science half yearly exam practical question paper. So let us begin!

Class 11 computer science half yearly exam practical question paper

Schools are conducting half yearly exams as a part of mid term assessment. Schools preferred the assessment structure offered by CBSE board and according to this Computer Science class 11 will be assessed as 70 (theory) + 30 (practical).

We have already provided 2 half yearly exam sample papers for theory which can be accessed by following link:

Class 11 Computer Science Half yearly sample papers

So now let us begin Class 11 computer science half yearly exam practical question paper.

Paper pattern

I have kept it very simple as it is totally depend on the school and the subject teacher. I have made the following structure for Class 11 computer science half yearly exam practical question paper. Observe this:

Que. No.ParticularMarks
1Python Program15
2Practical Records ( Practical File) + Notebook10
3Viva Voce5

So let us begin with Q1.

Part 1 Python Program

So let us begin with part 1 python program. This question may vary according to you syllabus portion. I have covered topics up to flow of control if-elif-else.

Question

 A company is computing salary based on following details. Accept Employee ID, Employee Name, Basic Salary and then compute the allowance as given below:

BasicHRADA
<500030%50%
5001-1000025%45%
10001-2000020%40%
>2000010%30%

Write a program to compute the net amount to be paid to an employee in the following format:

Output for python program practical examination class 11 computer science

Solution

The solution for the question is as follows:

# A program of Salary calculaion
# Developed by www.tutorialaicsip.com

#input
eid=int(input("Enter employee id:"))
ename=input("Enter Name:")
basic=float(input("Enter salary:"))
mon=input("Enter Salary Month:")

#Process of computation
if basic<=5000:
  hra=float(basic*0.3)
  da=float(basic*0.5)
elif basic>5000 and basic<10000:
  hra=float(basic*0.25)
  da=float(basic*0.45)
elif basic>10000 and basic<20000:
  hra=float(basic*0.20)
  da=float(basic*0.40)
elif basic>20000:
  hra=float(basic*0.10)
  da=float(basic*0.30)
else:
  print("Invalid Salary Amount")

#Computing net salary
ns=basic+hra+da

#Output
print("="*60)
print("Employee ID  \t: ",eid,"\t\t Month:",mon)
print("Employee Name\t: ",ename)
print("="*60)
print("Basic            \t:%5.2f"%basic)
print("HRA              \t:",hra)
print("DA               \t:",da)
print("="*60)
print("Net Salary Amount\t:",ns)
print("="*60)

Output

The output is as follows:

The output python question for practical exam class 11 computer sciece

Watch this video for more understanding:

Download the question paper

Follow this link to download the question paper.

Download the practical paper class 11 computer science

I hope this article will help you in practical examination. Hit like button and feel free share your feedback/views in the comment section. Thank you for joining.

Leave a Reply