Question: DO IT WITH PYTHON First in the notepad create a file named data.json . This file and quiz code file have to be in one

DO IT WITH PYTHON

First in the notepad create a file named data.json . This file and quiz code file have to be in one folder.

Problem during running the code:

  1. After answering Q.4, I supposed to have a result where how many percentage i got right and how much time I spend need to display.( time required.that code i haven't done)

File name: data.json

File:

{

"question": [

"Q1. What is 2+2?",

"Q2. What is the first prime number?",

"Q3. What comes after million, billion, trillion?",

"Q4. The perimeter of a circle is also known as what?"

],

"answer": [

1,

2,

3,

2

],

"options": [

["4",

"22",

"34",

"5"

],

["1",

"2",

"5",

"3"

],

["Light Year",

"Multi-Trillion",

"Quadrillion",

"Zillion"

],

["The Arc Length",

"The Circumference",

"The chord",

"Total Length"

]

]

}

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!