-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquiz.txt
67 lines (49 loc) · 1.47 KB
/
quiz.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
1) HTML stands for -
A. HighText Machine Language
B. HyperText and links Markup Language
C. HyperText Markup Language
D. None of these
2) The correct sequence of HTML tags for starting a webpage is -
A. Head, Title, HTML, body
B. HTML, Body, Title, Head
C. HTML, Title, Head, Body
D. HTML, Head, Title, Body
3) how many heading tags in HTML?
A. 3
B. 6
C. 5
D. 8
4) what is the smallest heading in HTML ?
A. h1
B. h2
C. h6
D. h4
5) How to insert an image in HTML?
A. <img href = "jtp.png" />
B. <img url = "jtp.png" />
C. <img link = "jtp.png" />
D. <img src = "jtp.png" />
6) <input> is -
A. a format tag.
B. an empty tag.
C. All of the above
D. None of the above
On submit we have display all questions correct answer and user choosen answer right or wrong
if user answer is correct we have to show Green color .
if user answer is wrong we have to show Red Color as background for that option user choosen and Green color for correct option.
--> Each question have 2 marks
Correct answer - 2 marks
-----Grading system----
## 8 - 10(5 questions correct) A
## 6 - 8 (4 questions correct) B
## 4 - 6 (3 questions correct) C
## 2 - 4 (2 questions correct) D
## 0 - 2 (1 questions correct) E
## 0 (0 questions correct ) F
Based on the user answers we will show the marks user obtained / total marks on modal.
Based on the marks he got the grade has to be calculated and the grade should be displayed on modal.
The Modal should be like
If 4 are correct
Result is
Score : 8/10
Grade : B