Creating a quiz that tests students knowledge

Assignment Help Basic Computer Science
Reference no: EM131853042

Fergus is creating a quiz that tests students' knowledge on different topics*, such as:

  • History
  • Music
  • Computer Science.

Students must register before they can take the quiz, choosing a unique username and a password for the account. The username and password are saved into an external text file. They must then enter the following details about themselves:

  • Name
  • Age
  • Year Group.

A student can choose which topic they want to answer a series of questions on. The student can then choose a difficulty rating of 'Easy', 'Medium' or 'Hard'. Each question will have a set of possible answers that the user can choose from. The number of answers the student chooses from changes based on the difficulty of the quiz. The user must select an answer to a question before the next question is displayed.

At the end of the quiz, the game will output the number of questions they got correct and a grade depending on the percentage of questions the user has got correct. You must create a suitable grade system, and the percentages needed to achieve each grade. There must be at least four possible grades.

The program stores information about every quiz each student has taken, including the topic, score and difficulty rating.

Analyse the requirements for this system and design, develop, test and evaluate a program that:

1. creates a unique username for each user. The username is made up from the first 3 letters of their name and their age. E.g. Gemma Smith, age 17 would have a username of 'Gem17'. It then asks the user to enter a password for their account.

2. stores the username and password of the user, the details about each user, and the topic, score and difficulty rating of all quizzes each student has taken. These do not have to be stored in the same file.

3. allows a user to select a topic and difficulty rating (Easy, Medium or Hard) and asks five questions on that topic:

a. 'Easy' mode has a choice of two answers for each question

b. 'Medium' mode has a choice of three answers for each question

c. 'Hard' mode has a choice of four answers for each question

4. loads the questions and answers from a file stored externally to the game.

5. displays the user's score, percentage and grade achieved for that quiz.

6. gives Fergus the option to generate and output the following reports:

a. a report that allows Fergus to choose a username, and outputs all of the quizzes that they have taken, and the grade for each of those quizzes.

b. a report that outputs for a selected topic and difficulty: the average score achieved, the highest score achieved, and the user details of the person that achieved the highest score.

Reference no: EM131853042

Questions Cloud

What is the corrected amount for total assets : Risers Inc. reported total assets of $6,400,000 and net income of $510,000 for the current year. Risers determined that inventory was understated by $138,000.
What is the advantage of creating users : What is the advantage of creating users, permissions and groups in Windows? What permissions do Windows allow? Have you ever used permissions in Windows before?
Define an organization of your choosing : Define an organization of your choosing, describing both the organization's primary purpose and its physical infrastructure.
How each option affects the financial statements : Write a brief memo on how each option affects the financial statements. Include your journal entry(ies) in the body of your memo for each option.
Creating a quiz that tests students knowledge : Fergus is creating a quiz that tests students' knowledge on different topics*, such as:
Suppose you are on a job interview at google : Suppose you are on a job interview at Google, and you are asked to describe the FFT and why it is important. What is your answer?
Analyse the factors you believe led to the problems : To what stage in its life cycle does the assembly team seem to have regressed? Is the trouble Elizabeth Jennings' fault? If not, then whose fault is that?
Compute the scolers income tax : Mr. and Mrs. Scoler sold commercial real estate for $685,000. Their adjusted basis at date of sale was $544,700 ($596,600 cost - $51,900.
Specification below subnet the network : You are given the 10.10.10.64/24 network. Using the specification below subnet the network.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd