Professional Documents
Culture Documents
CS Project 5
CS Project 5
: 01
INTRODUCTION
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. : 02
INTRODUCTION
"KAUN BANEGA CROREPATI" This project is a brain game for the students
for utilising their free time in the game. The Game is for only the enjoying and
entertainment purpose. It is for taking some general knowledge for future
purpose. This game can give many hard questions and many easy questions
you can also try this game. This game is also for wining a little moment of
your life.
` 1.2. ADVANTAGES AND DISADVANTAGES
ADVANTAGES:
DISADVANTAGES
1. TOO BASIC – The design of the game is very simple but it does produces
good results.
2. ISOLATED VOCABULARY – The game makes the player to guess only
those words given in coded directory.
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. : 03
The objective of this project is to let the students apply the programming
knowledge into a real- world situation/problem and exposed the students how
programming skills helps in developing a good software.
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. : 04
The scope of this project is to put our basic knowledge about python into actions by
using for loop, if else statement etc. We decided to go beyond our knowledge and try
features and learn vast areas of applying our knowledge.
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. : 05
LITERATURE SURVEY
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. : 06
LITERATURE SURVEY
HISTORY OF PYTHON
• The implementation of python was started in the December 1989 by Guido Van
Rossum at CWI in Netherland.
• In February 1991, Van Rossum published that code (labeled version 0.9.0) to alt
sources.
• In 1994, Python 1.0 was released with new features like : lambda, map, filter and
reduce.
• Python 2.0 added new features like list comprehensions, garbage collection
system.
• On 3 December 2008, Python 3.0 (also called “Py3k”) was released. It was
designed to rectify fundamental flaw of the language flaw = fault.
• ABC programming language is said to be the predecessor of Python language
which was capable of exception handling and interfacing with Amoeba Operating
System.
• Python is influenced by following programming languages:
1. ABC language
2. Modula
FEATURES OF PYTHON
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. : 07
3) GROSS – PLATFORM LANGUAGE: Python can run equally on
different platforms such as windows, Linux, UNIX and Macintosh etc. So,
we can say that python is a portable language.
1. Deep learning
2. Machine learning
3. Predictive analytics
4. Advanced analytics
7. Data science
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. : 08
8. Statistics
LIMITATIONS
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. : 09
System Development
Strategy
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
010
The SDLC is not a methodology per se, but rather a description of the phases in
the cycle of a software application. These phase (broadly speaking) are
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
011
investigating, analysis, design, build, test, implement, and maintenance and
support.
STRENGTHS WEAKNESSES
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
012
Tolerates changes in MIS of staffing Does not tolerate changes in requirements
2. Analysis
3. Design
4. Environments
5. Testing
8. Evaluation
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
013
The waterfall model is a breakdown of project activities into linear sequential
phases, where each phase depends on the deliverables of the previous one and
corresponds to a specialization of tasks. The approach is typical for certain areas
of engineering design. In software development, it tends to be among the less
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
014
2. System Design – The requirement specifications from first phase are
studied in this phase and the system design is prepared. This system design
helps in specifying hardware and system requirements and helps in defining
the overall system architecture.
3. Implementation− With inputs from the system design, the system is first
development in small programs called units, which are integrated in the next
phase. Each unit is developed and tested for its functionality, which is
referred to as Unit Testing.
4. Integration and Testing – All the units developed in the implementation
phase are integrated into a system after testing of each unit. Post integrating
the entire system is tested for any faults failures.
Maintenance – There are some issues which come up in the client environment. To
fix those issues, patches are released. Also to enhance the product some better
versions are released. Maintenance is done to deliver these changes in the customer
environment. All these phases are cascaded to each other in which progress is seen as
flowing steadily downwards (like a waterfall) through the phases. The next phase is
started only after the defined set of goals are achieved for previous phase and it is
signed off, so the name “Waterfall Model”.
ATHALON(3800+- 4200+
DUALCORE)
III. MOTHERBOARD 0R MSI : 1.845 OR 915,995 FOR PENTIUM
K9MM-V VIAK8M800+8237R PLUS
CHIPSET FOR AMD ATHALON
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
015
V. Hard disk : SATA 40 GB OR ABOVE
I. Windows OS
II. Python
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
016
SYSTEM ANALYSIS
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
017
SYSTEM ANALYSIS
4.1. EXISTING SYSTEM
Time-Consuming
Server Problems
This prevents a lot of time and money. The work becomes fully automated and any
information regarding the organization can be obtained by clicking the button.
Moreover, now it’s an age of computer of and automating such an organization gives
the better look.
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
018
SYSTEM DESIGN
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
019
SYSTEM DESIGN
5.1. DATA-FLOW DIAGRAM
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
020
2. Data Flow: Data flow (flow, dataflow) shows the transfer of
information (sometimes also material) from one part of the system to
another. The symbol of the flow is the arrow. The flow should have a
name that determines what information (or what material) is being
moves. Exceptions are flows where it is clear what information is
transferred through the entitles that are linked to these flows. Material
shifts are modelled in systems that are not merely informative. Flow
should only transmit one type of information (material). The arrow
shows the flow direction (it can also be be-directional if the information
to/from the entity is logically dependent – e.g. question and answers).
Flows link processes, warehouses and terminators.
3. Warehouse: The warehouse (data stores, file, and database) is used to
store data for later use. The symbol in the DFD Notation. The name of
the warehouse is a plural noun (e.g. orders)- it derives from the input and
output streams of the warehouse. The warehouse does not have to be just
a data file, for examples, a folder with documents, a filing cabinets, and
optical discs. Therefore, viewing the warehouse in DFD is independent
of implementation. The flow from the warehouse usually represents the
reading of the data stored in the warehouse, and the flow to the
warehouse usually expresses data entry or updating (sometimes also
deleting data). Warehouse is represented by two parallel lines between
which the memory mane is located (it can be modelled as a UML buffer
node).
4. Terminator: The Terminator is an external entity that communicates
with the system and stands outside of the system. It can be , for example,
various organisations (e.g. a bank), groups of people (e.g. customers),
authorities (e.g. a tax office) or a department (e.g. a human-resource
department) of the same organisation, which does not belong to the
model system. The terminator may be another system with which the
modelled system communicates.
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
021
FLOW CHART
1.REGISTER
2.LOGIN
IF N=1 IF N =2
PROGRAM PROGRAM
INSERTS FETCHES
DATA IN THE DATA FROM
DATABASE DATABASE
MENU IS DISPLAYED
1 CHOOSE THE COORECT
OPTION
2.IF TRUE IT
3.CONTINUES
4 IF FALSE IT QUITS
5 AND YOU HAVE TO RESTART THE
GAME
IF TRUE IF FALSE
IT CONTINUES IT QUITS THE GAME AND YOU HAVE
TO RESTART THE GAME
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
022
TESTING
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
023
TESTING
TESTING METHODS
Software testing methods are traditionally divided into black box testing
and white box testing. These two approaches are used to describe the point
of view that a test engineer takes when designing test cases.
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
024
that for a given input, the output value (or behavior), either "is" or "is not" the
same as
api testing - Testing of the application using Public and Private APIs.
Code coverage - creating tests to satisfy some criteria of code coverage.
For example, the test designer can create tests to cause all statements
in the program to be executed at least once.
Fault injection methods.
Mutation testing methods.
Static testing - White box testing includes all static testing.
CODE COMPLETENESS EVALUATION
White box testing methods can also be used to evaluate the completeness of
a test suite that was created with black box testing methods. This allows the
software team to examine parts of a system that are rarely tested and ensures
that the most important function points have been tested.
Two common forms of code coverage are:
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
025
IMPLEMENTATION
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
026
Source code
import random
import time
for i in range(80):
print("*",end="")
time.sleep(0)
print()
print("\t\t\t Welcome to")
print("\t\t\tKaun Banega Crorepati")
for i in range(80):
print("*",end="")
time.sleep(0)
print()
a=input("\tEnter Your Name - ")
for i in range(80):
print("*",end="")
time.sleep(0)
print()
print("\n\t\tOK ",a," Let's Start The Game")
time.sleep(1)
questions=["Who is The Prime Minister of India","In Which Country Area 51 is
Located","Which one is the largest Continent in the world","What is the Latest
Version of Windows Since 2019","Which One of These Is not a Software
Company","How Many MB Makes 1 GB","Facebook Was Firstly Developed
By","Founder of Apple is","_________ is one of The Founder of Google","BIGG
BOSS season 13 Starts in ____ & ends in _____","Apple's Laptop is Also Known
as","First Apple Computer is Known as","Joystick is used For","____________ is
used to Encrypt Drives in Computer"]
answer=["Narendra Modi","United States","Asia","Windows
10","Honda","1024","Mark Zuckenberg","Steve Jobs","Larry Page","2019 -
2020","Macbook","Mactonish","Playing Games","Bitlocker"]
wronganswers=[["Amit Shah","Aditya Nath Yogi","Abhishek Jangdey"],
["India","Africa","Iraq"],["South Africa","North America","Europe"],["Windows
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
027
7","Windows 8","Windows 11"],["Oracle","Microsoft","Google"],
["10024","1004","2024"],["Bill Gates","Larry Page","Anish Bhardwaj"],["Rupesh
Sidar","Charles Babbage","Sundar Pichai"],["Larry Hensberg","Sunder Pichai","Bill
Gates"],["2020 - 2021","Not Starts Now","2018 - 2019"],
["ThinBook","Notebook","ChromeBook"],["Apple v.1","Apple Computer","Appbook"],
["Giving output command","Shutting down Computer","Log off Computer"],
["KeyGuard","Windows Secure","No Software like this"]]
attempquestion=[]
count=1
amount=0
while True:
while True:
selectquestion=random.choice(questions)
if selectquestion in attempquestion:
pass
elif selectquestion not in attempquestion:
attempquestion.append(selectquestion)
questionindex=questions.index(selectquestion)
correctanswer=answer[questionindex]
break
optionslist=[]
inoptionlist=[]
optioncount=1
while optioncount<4:
optionselection=random.choice(wronganswers[questionindex])
if optionselection in inoptionlist:
pass
elif optionselection not in inoptionlist:
optionslist.append(optionselection)
inoptionlist.append(optionselection)
optioncount+=1
optionslist.append(correctanswer)
alreadydisplay=[]
optiontodisplay=[]
a1=True
while a1:
a=random.choice(optionslist)
if a in alreadydisplay:
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
028
pass
else:
alreadydisplay.append(a)
optiontodisplay.append(a)
a1=not True
a1=True
while a1:
b=random.choice(optionslist)
if b in alreadydisplay:
pass
else:
alreadydisplay.append(b)
optiontodisplay.append(b)
a1=not True
a1=True
while a1:
c=random.choice(optionslist)
if c in alreadydisplay:
pass
else:
alreadydisplay.append(c)
optiontodisplay.append(c)
a1=not True
a1=True
while a1:
d=random.choice(optionslist)
if d in alreadydisplay:
pass
else:
alreadydisplay.append(d)
optiontodisplay.append(d)
a1=not True
right_answer=""
if correctanswer==a:
right_answer="a"
elif correctanswer==b:
right_answer="b"
elif correctanswer==c:
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
029
right_answer="c"
elif correctanswer==d:
right_answer="d"
print("--------------------------------------------------------------------------------------------")
print("\t\t\tAmount Win - ",amount)
print("--------------------------------------------------------------------------------------------")
time.sleep(1)
print("\n\t\tQuestion ",count," on your Screen")
print("--------------------------------------------------------------------------------------------")
time.sleep(1)
print(" | Question - ",selectquestion)
print("--------------------------------------------------------------------------------------------")
print("\t-----------------------------------------------------------------------------")
time.sleep(1)
print("\t| A. ",a)
print("\t-----------------------------------------------------------------------------")
time.sleep(1)
print("\t| B. ",b)
print("\t-----------------------------------------------------------------------------")
time.sleep(1)
print("\t| C. ",c)
print("\t-----------------------------------------------------------------------------")
time.sleep(1)
print("\t| D. ",d)
print("\t-----------------------------------------------------------------------------")
useranswer=input("\t\tEnter Correct Option\t or \t press Q to quit.\n\t\t\t...").lower()
if useranswer==right_answer:
if count==1:
amount=1000
elif count==2:
amount=2000
elif count==3:
amount=5000
elif count==4:
amount=10000
elif count==5:
amount=40000
elif count==6:
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
030
amount=80000
elif count==7:
amount=160000
elif count==8:
amount=320000
elif count==9:
amount=640000
elif count==10:
amount=1500000
print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n")
print("*********************************************************************************")
print("\t\t\t \\\\\\\\\\ Congratulations! //////////")
print("\t\t\t|||||||||| You Won The Game ||||||||||")
print("*********************************************************************************")
print("\n\n\t\t You Won Rs. ",amount)
print()
break
print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n")
print("*********************************************************************************")
print("\t\t\t \\\\\\\\\\ Congratulations! //////////")
print("\t\t\t|||||||||| Right Answer ||||||||||")
print("*********************************************************************************")
count+=1
elif useranswer=="q":
print("\n\n\t\t You Won Rs. ",amount)
break
else:
print("*********************************************************************************")
print("*********************************************************************************")
print("\t\t\tWrong Answer")
print("*********************************************************************************")
print("*********************************************************************************")
print("\n\n\t\t \tYou Won Rs. ",amount)
print("*********************************************************************************")
print("*********************************************************************************")
break
## Abhishek Ku.Jangdey,Rupesh Sidar,Anish Bhardwaj
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
031
SNAPSHOTS
OUTPUT
MAIN PAGE
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
032
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
033
CONCLUSION
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
034
CONCLUSION
The conclusion of this project KBC is a traditional game, typically played with
options. It’s possible, however, to play category KBC rather than answering
options the player might guess the answers. You’ll be writing a program to
play a “KAUN BANEGA CROREPATI” version of KBC as shown above. You’ll
also be doing same statistical analysis of the words used in the KBC game
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
035
FUTURE ENHANACEMENT
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
036
FUTURE ENHANACEMENT
The project has a very vast scope in future. The project can be
implemented on intranet in future. Project can be updated in near
future as and when requirement for the same arises, as it is very
flexible in terms of expansion. With the proposed software of
database Space Manager ready and fully functional the client is
now able to manage and hence run the entire work in a much
better, accurate and error free manner. The following are the future
scope for the project.
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
037
BIBLIOGRAPHY
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023
STUDENT MANAGEMENT SYSTEM PAGE NO. :
038
BIBLIOGRAPHY
1. WEBSITES
1. www.google.com
2. www.myschoolr.com
2. Books
3. Others
********************
NIRMALA ENG. HR. SEC. SCHOOL (CBSE) DEPT OF COMPUTER SCIENCE 2022-2023