Docsity

Class 12 Computer science Project - Typing App, Study Guides, Projects, Research of Computer science

Partial preview of the text

Download Class 12 Computer science Project - Typing App and more Study Guides, Projects, Research Computer science in PDF only on Docsity!

COMPUTER SCIENCE

PROJECT

NAME : ANSH JAGWAL
CLASS : 12 - A
ROLL.NO : 16
SUBMITTED TO : MS. JYOTI SHARMA
TOPIC : SPEED TYPING APP VIA PYTHON INTERFACE

P

CBSE, NEW DELHI.

Signature of

PRINCIPAL

Signature of Signature of

INTERNAL EXTERNAL

Computer science project on "Speed typing app"

under the guidance of "Ms. Jyoti sharma".

CERTIFICATE

This is to certify that Ansh Jagwal student of

class -12'A' has successfully completed their

HARDWARES AND SOFTWARES

REQUIRED

HARDWARE:-

Any computer or laptop with a keyboard, mouse,

and display.

SOFTWARE:-

Python 3.x (installed on the system)

Text editor or IDE for editing Python scripts

tkinter (built into Python)

Optionally, pygame if you add that feature.

This setup will allow you to run and interact

with the typing speed test program efÏciently.

The is an interactive program that

helps users assess their typing speed and accuracy. This

application is designed using Python and its graphical

user interface (GUI) library Tkinter. The game generates

random sentences for the user to type, and based on

their input, the program calculates the typing speed

(measured in words per minute) and accuracy

(measured as a percentage of correctly typed

characters). The application also provides feedback to

the user, encouraging them to improve their typing

skills.

This project aims to assist users in practicing their typing

speed and accuracy, making it both educational and

engaging. The game interface is simple, user-friendly,

speed typing app

INTRODUCTION

Tkinter: Tkinter is the standard GUI library for Python. It is used to

create the user interface for the typing speed test.

Time: Python’s built-in time module is used to measure the time

taken by the user to type the sentence.

Random: The random library is used to randomly select sentences

for the user to type, ensuring variety in each test.

3. Features of the Application

Time Taken: How long it took to type the sentence.

Accuracy: The percentage of correctly typed characters.

Feedback Messages:

If accuracy is more than 75%, the user gets positive feedback, such as "Great job!" If the time taken is greater than 25 seconds, a warning message is displayed: "Took too much time!" If the accuracy is lower than 75%, the program suggests the user needs improvement with a message like "Low accuracy, need to improve."

Reset Functionality: After displaying results, the application

resets for the next round, allowing the user to play multiple times.

Game Window: The main window of the game features a clean,

simple design with a light background color.

Title and Instructions: The title of the game appears at the top,

and initial instructions like "Press Start to Begin" help the user understand how to begin.

5. How the Program Works

Start Screen: Upon opening the program, the user sees a message

to press "Start" to begin. Once clicked, the game prepares by randomly selecting a sentence. Timer and Input: Once the sentence is displayed, the program starts a timer. The user types the sentence in the text entry field.

4. User Interface (UI) Design

The root.mainloop() runs the Tkinter event loop, which keeps the application running until the user closes the window. Conclusion: This program is a simple, yet interactive typing speed test game using Python and Tkinter. The core functionality includes calculating typing speed, accuracy, and providing feedback. With the modular structure, it’s easy to modify and expand with additional features such as adding sound effects, custom sentences, and more complex statistics.

Example Output:

After typing the sentence correctly within 20 seconds, the result will look like this: Copy code

www.wikipedia.com

www.slideshare.com

docs.python.org

www.realpython.com

www.geeksforgeeks.org

www.stackoverflow.com

BIBLIOGRAPHY