Question: Create a quiz program using all the questions and answers provided below You're 3rd place right now in a race. What place are you in

Create a quiz program using all the questions and answers provided below

You're 3rd place right now in a race. What place are you in when you pass the person in 2nd place?

1st

2nd

3rd

4th

How many months have 28 days?

All of them.

1

Depends if there's a leap year or not.

2

If a leaf falls to the ground in a forest and no one hears it, does it make a sound?

Yes

No

Depends on how heavy the leaf was.

Depends on what's on the floor

There are 45 apples in your basket. You take three apples out of the basket. How many apples are left?

45

3

42

0

Mathew's father has three sons- Joseph I and Joseph II. Can you guess the name of the third son?

Mathew

Joseph III

Jerin

John

What is the name of the company that published the Mario Kart video game?

Nintendo

Electronic Arts (EA)

SEGA

Xbox

  • Show the correct answers when user selected a wrong option
  • Randomly choose a congratulatory phrase from Good job! Awesome!, Correct! when user selected a correct option
  • At the end of the quiz, show the score

Each question has four options (four possible answers). The first answer immediately after the question is the correct answer. See illustration below:

Create a quiz program using all the questions and answers provided below

  1. You may assume there will always have a question followed by 4 answers and the first answer is the correct answer.
  2. However you should not assume and hardcode the total number of questions in your code. The marker may use different quiz.csv (which contains different number of questions) in marking your program.

Randomize the questions and randomize the answer choices

  1. You should not follow the question sequence given above
  2. You should not follow the answer sequence given above
  3. You should randomize both the questions and the options

out put something like thisYou're 3rd place right now in a race. What place are you

quiz.csv - Notepad Edit Format View Help You're 3rd place right now in a race. What place are you in when you pass the person in 2nd place? 1st end This is the correct answer Brd 4th How many months have 28 days? All of them. This is the correct answer 1 Depends if there's a leap year or not. 12 If a leaf falls to the ground in a forest and no one hears it, does it make a sound? so Question 1 What is the name of the company that published the Mario Kart video game? a.Nintendo b.Xbox C. SEGA d. Electronic Arts (EA) Correct! Question 2 You're 3rd place right now in a race. What place are you in when you pass the person in 2nd place? a.4th b. 3rd c. 2nd d. 1st

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!