Project Report Ravi Raushan
Project Report Ravi Raushan
On
Exam Scheduling
“Bachelor of Technology
Sid:- 102488
1
Department of Computer Engineering & Information
Technology
INDEX
Declaration………………………………… 3
Certificate………………………………….. 4
Acknowledgement………………………… 5
Abstract…………………………………… 6
Table of Contents…………………………. 7
Introduction……………………………….. 9
Code Implementation………………….... 14
Reference…………………………………. 25
2
DECLARATION
I further declare that to the best of our knowledge the report for B.
Tech 3rd Semester does not contain part of the work which has
submitted for the award of B. Tech degree either in this or any other
university without proper citation.
(Assistant professor)
3
CERTIFICATE
To the best of our knowledge and belief, this work embodies the work
of candidates themselves, has duly been completed, fulfils the
requirement of the ordinance relating to the bachelor degree of the
university and is up to the standard in respect of content, presentation
and language for being referred to the examiner.
4
ACKNOWLEDGEMENT
5
ABSTRACT
6
TABLE OF CONTENTS
Introduction
Explanation
Source Code
Output
Final Words
Conclusion
Reference
7
INTRODUCTION
8
.
Explanation:-
Functions Employed:
This project's C source code is incredibly basic, with just seven user
supplied functions. They're mentioned here, along with the jobs they're
responsible for.
void fileread() – to extract or read the data from the file created to
store the data.
When the cricket score sheet project file is run, it performs the following
steps:
Exit
9
If '1' is entered, the Cricket Score Sheet project prompts for a new score
sheet's name. A notice appears on the screen when the file is
generated. The user must next fill out the score sheet, which includes the
following information:
1. Competition
2. Venue
After entering these details, the application prompts the user to press 'e'
to amend the information and 'c' to proceed. When the user selects '2'
from the main menu, the application prompts for the file name. The file
is shown if it is found. Otherwise, the screen displays an error
message. Exit is the third option on the main menu. The Cricket Score
Sheet project is terminated if the number '3' is entered in the main
menu.
#include<stdlib.h>
struct batsman
10
{
char name[25];
int
runs,score,balls,toruns,tobal,ones,twos,threes,fours,sixes;
int max_six,max_run,max_four;
float str;
}pl1[100],pl3;
struct bowler
char name[25];
int runsgv,wkttkn,overs;
int max_w;
float econ;
}pl2[100],pl4;
int main()
int plno,choice;
11
int i,n,m;
scanf("%d",&m);
for(i=0;i<m;i++)
scanf("%s",pl1[i].name);
scanf("%d",&pl1[i].ones);
scanf("%d",&pl1[i].twos);
12
scanf("%d",&pl1[i].threes);
scanf("%d",&pl1[i].fours);
scanf("%d",&pl1[i].sixes);
scanf("%d",&pl1[i].balls);
13
scanf("%d",&n);
for(i=0;i<n;i++)
scanf("%s",pl2[i].name);
scanf("%d",&pl2[i].runsgv);
scanf("%d",&pl2[i].overs);
14
scanf("%d",&pl2[i].wkttkn);
do
scanf("%d",&choice);
switch(choice)
case 1:
scanf("%d",&plno);
15
plno--;
printf("======================================================
=====================\n");
printf("======================================================
=====================\n");
pl1[plno].runs=(1*pl1[plno].ones)
+(2*pl1[plno].twos)+(3*pl1[plno].threes)+(4*pl1[plno].fours)
+(6*pl1[plno].sixes);
pl1[plno].str=(pl1[plno].runs*100.00)/pl1[plno].balls;
break;
case 2:
16
scanf("%d",&plno);
plno--;
printf("======================================================
===========\n");
printf("======================================================
===========\n");
for(i=0;i<n;i++)
{ pl2[plno].econ=pl2[plno].runsgv/pl2[plno].overs;
break;
case 3:
17
printf("======================================================
====================\n");
printf("======================================================
====================\n");
for(i=0;i<1;i++)
pl1[i].runs=(1*pl1[i].ones)
+(2*pl1[i].twos)+(3*pl1[i].threes)+(4*pl1[i].fours)
+(6*pl1[i].sixes);
pl3.toruns+=pl1[i].runs;
pl1[i].str=(pl1[i].runs*100.00)/pl1[i].balls;
printf("TOTAL RUNS:%d\n\n",pl3.toruns);
printf("\n\n");
printf("======================================================
===========\n");
18
printf("======================================================
===========\n");
for(i=0;i<n;i++)
{ pl2[i].econ=pl2[i].runsgv/pl2[i].overs;
break;
case 4:
pl3.max_run=0,pl4.max_w=0,pl3.max_four=0,pl3.max_six=0;
for(i=0;i<m;i++)
pl1[i].runs=(1*pl1[i].ones)
+(2*pl1[i].twos)+(3*pl1[i].threes)+(4*pl1[i].fours)
+(6*pl1[i].sixes);
if(pl3.max_run<pl1[i].runs)
pl3.max_run=pl1[i].runs;
19
}
if(pl3.max_six<pl1[i].sixes)
pl3.max_six=pl1[i].sixes;
if(pl3.max_four<pl1[i].fours)
pl3.max_four=pl1[i].fours;
if(pl4.max_w<pl2[i].wkttkn)
pl4.max_w=pl2[i].wkttkn;
printf("Max
20
Output:-
21
Final words:-
We encourage that you use this project as a reference,
much like the other projects on our site. It is strongly
discouraged to use this cricket score sheet project with
little or no changes. After you've finished examining this
project, try developing your own code. This project will
show you how to utilize file handling effectively in a C
mini project, as well as how to store and display data
using files.
Conclusion
The Time table scheduling problems are directly related to the number of
work, we generated the exam time schedule automatically with the help of
available to conduct the exams, number of rooms available for conducting the
exams, and the room capacity as inputs. Also, it has successfully satisfied some
of the important hard and soft constraints. The system also achieves fairness,
accuracy, and optimal exam time period. In future, we are planning to add the
https://www.javatpoint.com/cricket-score-sheet-in-c
https://www.codewithc.com/cricket-score-sheet-pr…
23