0% found this document useful (0 votes)
38 views15 pages

IP PROJECT Important

Uploaded by

shimonejames72
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)
38 views15 pages

IP PROJECT Important

Uploaded by

shimonejames72
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/ 15

Project Work :

1. To be printed on A4 size paper


(Single side print)
2. A working program with different
option
3. Can be made in a group of
maximum 3 students
4. To be submitted individually.
(separate copy for each student)
5. To be kept ready with you and on
the computer in the school. To be
shown to the External during your Final
Board Exam Practical.
INFORMATICS PRACTICES
PROJECT Report on

Student's Marks Sheet

Submitted to: Submitted By:


Mr.S.S.Jassal …………………

Christ Church Boys’ Senior Sec.


School, Jabalpur
2020-2021
Preface
This project is based on Creating a Student’s Marks
sheet and making various changes ,thus involves
various codes and programs for Inserting a record,
Displaying a single record, Displaying multiple
records, Modifying any record or deleting any
record. This project broadly offers an understanding
of how database transactions can be controlled
through Python Data Frames and CSV files.
Hardware and software
Requirements

For proper execution of this project we need the


following Hardware and softwares :

1). Pentium i3 or i5 Computer with minimum 8 GB Ram.

2). Windows 7 or Higher

3). Python 3.7 or above with Pandas and Matplotlib installed.


Acknowledgement
This project has been a fruit of our hard
work.
We would like to acknowledge each
others help and guidance throughout the
development of the project. We would like
to thank our teachers Mr S.S. Jassal and
Mr.A.Y.Mujumdar for their constant help
and guidance in rectifying mistakes and
suggesting ideas throughout, without
which we could not have succeeded in
making this project.

1. ____________

2._____________
Certificate

This is to certify that this is a bonafide project entitled


Students Marks Sheet System, created under my
supervision and guidance by …………… of Class XIIth
Commerce. I wish him success in his future pursuits.

(Internal) (External)
S.S.Jassal
Coding of my project

#Project Report on Student Data through CSV files and Data


Frames

import time as tt
import pandas as pd
import matplotlib.pyplot as plt

def function1() :
#Reading values from CSV data file and Printing individual
Marks Sheet
data = pd.read_csv("c:\python\class.csv")
#Finding out total no of records
ln=int(len(data.index))
rn=(data["Rno"])
nm=(data["Name"])
english=(data["Eng"])
hindi=(data["Hin"])
inpr =(data["Ip"])
tot=(data["Total"])
for a in range(ln):
print ("* * * Christ Church Boys' Senior Secondary
School")
print (' J A B A L P U R ')
print ('---------------------------------------------------')
print ('Roll Number :',rn[a])
print ('Name of Student :',nm[a])
print ('---------------------------------------------------')
print (' ')
print ('English = ',english[a])
print ('Accounts = ',hindi[a])
print ('Inf.Pract. = ',inpr[a])
print ("=============================")
print ("Total marks = ",tot[a])
av=tot[a]/3
if ( av>=60):
print('Result : First Division')
if (av<60) and (av>=50) :
print('Result : Second Division ')
if (av<50) and (av>=40):
print('Result : Third division')
if (av<40) :
print('Result : Fail ')
print ("=============================")
tt.sleep(1.5)
print ("Thanks for using my application")
def function2() :
# Writing a new record in CSV file
data = pd.read_csv("c:\python\class.csv")
Rno=int(input("Enter Roll number "))
Name=input("Enter name of a Student")
Eng=int(input("Enter English Marks"))
Hin=int(input("Enter Hindi Marks"))
Ip=int(input("Enter IP marks"))
Tot=int(Eng+Hin+Ip)
data.loc[len(data.index)]=[Rno,Name,Eng,Hin,Ip,Tot]
#print(data)
data.to_csv("c:\python\class.csv", index= False)
def function3():
#Finding out no of records in a Data Frame
data = pd.read_csv("c:\python\class.csv")
ln=int(len(data.index))
print("Total number of records in CSV data file = ",ln)

def function4():
# Printing a summary report of a class
data = pd.read_csv("c:\python\class.csv")
ln=int(len(data.index))
rn=(data["Rno"])
nm=(data["Name"])
english=(data["Eng"])
hindi=(data["Hin"])
inpr =(data["Ip"])
tot=(data["Total"])
print ("* * * Christ Church Boys' Senior Secondary
School")
print (' J A B A L P U R ')
print ('---------------------------------------------------')
for a in range(ln):
print(rn[a],nm[a],english[a],hindi[a],inpr[a],tot[a])
print('------------------------------------------------')
print('Report Generated by S S Jassal ...')
print('=============================================
====')

def function5():
#Displaying student data through Bar Graph
data = pd.read_csv("c:\python\class.csv")

x=(data["Name"])
y=(data["Total"])

plt.bar(x,y, color='orange',label='English')
plt.xlabel('Students')
plt.ylabel('Max.Marks 300')
plt.title('Student progress analysis')
plt.legend()
plt.show()

def function6():
data = pd.read_csv("c:\python\
class.csv",index_col="Rno")
print(data)
roll=int(input("Enter roll number to delete"))
data.drop([roll],inplace=True)
print(data)
data.to_csv("c:\python\class.csv")

# Main Menu Driven Program


ans='y'
while (ans=='y') or (ans=='Y'):
print(' * * * * * Main Menu * * * * *')
print('-------------------------------------------------')
print('Select any one of the following options')
print(' 1.... for Marks Sheet')
print(' 2.... New Entry in file')
print(' 3.... for Finding no of records')
print(' 4.... for Summary Report ')
print(' 5.... for Generating Bar Graph Student wise')
print(' 6.... for Deleting a particular record')
op=int(input("Enter your Choice 1....6 ?"))
if (op==1):
function1()
if (op==2):
function2()
if (op==3):
function3()
if (op==4):
function4()
if (op==5):
function5()
if (op==6):
function6()

ans=input("Want to continue...Y/N ?")

If we choose option 4 it will give the following output:


Information regarding:

1. Practical File

2. Project Work

It is a part of your Board Final Practical Examination, which


consists of 30 marks. Out of these 30 marks, 10 marks are on
Practical File and Project Work.

Practical File and Project work is mandatory be submitted by each and


every student, failing which you will not be allowed to appear for your
Final Board Examination.

1. Practical File: Hand written


Make a normal register of 120 pages and do the following:

1). Write at least 15 programs of your choice, which should include the
following 10 programs also. (List of program is given at the bottom).
On Left hand side page , write the Question and the python program and on the
right hand side make the output . (if you run the program , how it looks)
All the programs are supposed to be trial and tested personally by you.

2). Create four different data table along with 10 records each and write
different queries and commands 10 each table . You are suppose to cover all the
major commands of My SQL in these total 40 commands. You have to write the
output after each command.
List of Programs:
You have to write the following programs using Data through Lists / Series /
Dictionary /Data Frame / NumPy and CSV files.
1). Write a program to give data of 5 students ( roll number, Name and marks of
4 different subjects) and make a marks sheet of individual student . (Design format
of your own choice)

2). Write a program to give id no name and basic salary of an employee and
design a Salary statement in which you have to give allowances such as DA, TA
and HRA and reduce Deductions such as PF and LIC to find out the Payable
salary.

3). Write a program which should display a menu in which it should ask for
different patterns of stars to be printed on the screen using Nested For statement .
Whichever option user selects , computer should display that pattern. (Give option
for any 3 type of patterns).

4). Write a program to create a pandas Series from a Dictionary of different


values and display it on the screen.

5). Create a Data Frame for quarterly sales in which each row should contain Item
Category, item Name and Expenditure. Group the rows by the Category and print
the total expenditure per category.

6). Write a program to Import a CSV file and display it through a Data Frame on
the Screen.

7). Given the School result data, analyse the performance of the students on
different parameters through Bar Graph.

8). Create any Data Frame and display all the different characteristics of a Line
graph like Legends , titles etc.
9). Take data of your own choice and display the different types of charts
depending on the user’s choice.

10). Create a Data frame with Rno, Name and marks of 2 different subjects and
create a new column in which it should generate total marks and finally display all
the things on the screen.

Project Work
 Lengthy Menu Driven Program of Python

 Consists of CSV files and Data frames

 Proper documentation

 Group activity

 To be submitted individually

 Printed form

You might also like