Professional Documents
Culture Documents
Cs Project - 1
Cs Project - 1
SCIENCE PROJECT
CODE WARS
CLASS XI
It asks the user to proceed with the program only after signing up and then
logging in.
If they have already signed up, they can directly log in.
Then the programs assigned for level 1 will be displayed.
Each level contains two questions and if the user completes the program
then they can be move on to the next level.
In total there are 4 levels with a bonus question in the end
The programs included are:
In the end after the levels are passed a congratulated message is displayed
SYSTEM REQUIRMENTS –
HARDWARE REQUIRMENT:-
1. Modern operating system:
i) Windows 7 or 10
2. Processor:
3. Memory:
i) 4 GB RAM
SOFTWARE REQUIREMENTS:-
1. Windows (7/8/10)/Mac/Linux
4. Microsoft Excel
5. Python IDLE
IMPORTED PACKAGES
OUTPUT:
random.randint(a, b)
import random
Random number: 5
Random number: 32
Random number: 84
In Python, date and time are not a data type of their own, but a module named
datetime can be imported to work with the date as well as time. Python
Datetime module comes built into Python, so there is no need to install it
externally.
Python Datetime module supplies classes to work with date and time. These
classes provide a number of functions to deal with dates, times and time
intervals. Date and datetime are an object in Python, so when you manipulate
them, you are actually manipulating objects and not string or timestamps.
3. MATH MODULE:
The math module is a standard module in Python and is always available.
To use mathematical functions under this module, you have to import the
module using import math.
Example:
Square root calculation import math math.sqrt(4)
DATA FLOW DIAGRAM
Start
Display Menu
No Sign in Yes
No
No
Yes
Entries Yes Entries
are valid
are valid
Display LEVEL 1
No Program Yes
executed
successfully
Retry
CONGRATS!
Display Level 2
No Yes
CONGRATS!
Display Level 3
No Yes
CONGRATS!!
BONUS ROUND!
No Program Yes
executed
successfully
Time taken to
complete the game Time taken to complete
the game
Display time
taken
imeDisplay
taken time
to comp
taken
the game
Stop
Stop
BIBLIOGRAPHY
➢ Google.com
➢ Youtube.com
➢ Sunita arora class 11th ip book
➢ www.wikipedia.com
THANK YOU