0% found this document useful (0 votes)
76 views12 pages

My PPT Power

This document summarizes a Python quiz project that uses Tkinter for the GUI. It introduces Tkinter for creating GUI apps in Python. The project allows users to take a timed quiz with multiple choice questions on various topics. Admins can add questions to the database. When users take the quiz, they are shown 10 questions with 4 options each. Correct answers increase their score by 2 points, with no penalty for incorrect answers. The quiz ends after 10 minutes or when all questions are answered, and the final score is displayed. The document provides some code snippets to demonstrate using Tkinter labels, buttons, and functions to build the GUI interface and connect it to a MySQL database for question storage. It notes that the code is a first attempt and could

Uploaded by

Sumit Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views12 pages

My PPT Power

This document summarizes a Python quiz project that uses Tkinter for the GUI. It introduces Tkinter for creating GUI apps in Python. The project allows users to take a timed quiz with multiple choice questions on various topics. Admins can add questions to the database. When users take the quiz, they are shown 10 questions with 4 options each. Correct answers increase their score by 2 points, with no penalty for incorrect answers. The quiz ends after 10 minutes or when all questions are answered, and the final score is displayed. The document provides some code snippets to demonstrate using Tkinter labels, buttons, and functions to build the GUI interface and connect it to a MySQL database for question storage. It notes that the code is a first attempt and could

Uploaded by

Sumit Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

QUIZ TEST BY-PIYUSH RAJ

Post 2nd Semester Internship/Projects


QUIZ TIME
(PYTHON)
USING TKINTER IN PYTHON
INDEX

● INTRODUCTION OF PROJECT
● PREREQUISITES FOR PROJECT
● OUTPUT SNAPSHOTS
● SOURCE CODE
● FUTURE SCOPE OF TEXT EDITOR
Introduction

Quiz test is an android application that has general questions related to current affairs and computer.
It has multiple choice questions with time limit and it also calculate scores of each correct answer.
It is good for students of every age group it helps in increasing general knowledge about world ,Sports and computer
etc.
TKINTER
● Tkinter is a Python Package for creating GUI(Graphical User Interface) applications.
LETS START WITH ROOT
PROBLEM STATEMENT

QUIZ SYSTEM is a software developed to conduct an Online Quiz based on time

constraints. Quiz System is accessed by entering the username and e-mail id which is added

to the database. Before start of the Quiz, the rules and regulations are displayed that includes

description of time limit, number of questions to be answered and scoring methods. Quiz is

started by displaying ten questions with four options each based on category chosen ie

General Knowledge, Verbal Reasoning and Computer Science. If the answer is correct, score

is incremented by two and no negative marks for wrong answers. If the time exceeds 10

minutes or all the questions are answered the quiz is stopped .Final score will be displayed
I have made a little Quiz Game in Python. This was my first experience in programming Gui's in
Python with Tkinter. In general, I do not have much knowledge about graphic programming and
have acquired the necessary knowledge through skimming internet articles and try and error.
Accordingly, the code looks like sciolism and semi-professional structuring. That should be
improved. I will not be able to avoid a good basic tutorial on graphic programming
• tk.label and tk.button is used to create labels and buttons on the GUI screen. Every button
contains a command in it which includes a function to be executed on click of the button.

The function logintodb is created to login into the MySQL Database. The save query includes the
query to be executed on the click of the submit button.

X and Y are the parameters given to adjust objects on the Tkinter window.

Root.mainloop() is included at the last indicating that only components within it are included in
the window.
The project file contains python scripts (quiz.py) and JSON
files. Talking about the features of the Online Quiz system,
it just contains both the admin section and the user section.
The admin can add questions while the user can log in to
give the exam. The design of this project is pretty simple so
that the user won’t find any difficulties while working on it.

You might also like