- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfill.html
More file actions
Latest commit
145 lines (137 loc) · 5.5 KB
/
Copy pathfill.html
File metadata and controls
145 lines (137 loc) · 5.5 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE HTML>
<html>
<head>
<title>Introduction to Python</title>
<metacharset="utf-8" />
<metaname="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<linkrel="stylesheet" href="assets/css/main.css" />
<scriptsrc="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<noscript><linkrel="stylesheet" href="assets/css/noscript.css" /></noscript>
</head>
<bodyclass="is-preload">
<!-- Wrapper -->
<divid="wrapper">
<!-- Header -->
<headerid="header">
<divclass="inner">
<!-- Logo -->
<ahref="index.html" class="logo">
<spanclass="symbol"><imgsrc="images/logo.svg" alt="" /></span><spanclass="title">Fundemental Python</span>
</a>
<!-- Nav -->
<nav>
<ul>
<li><ahref="#menu">Menu</a></li>
</ul>
</nav>
</div>
</header>
<!-- Menu -->
<navid="menu">
<h2>Menu</h2>
<ul>
<li><ahref="index.html">Multiple Choice</a></li>
<li><ahref="fill.html">Fill-in Questions</a></li>
<li><ahref="project1.html">Project 1</a></li>
<li><ahref="project2.html">Project 2</a></li>
</ul>
</nav>
<!-- Main -->
<divid="main">
<divclass="inner">
<header>
<h1>Quiz for Introduction to Python</h1>
<p>Questions include multiple choice, fill-in questions and coding project.</p>
</header>
<sectionclass="tiles">
<articleclass="style1">
<spanclass="image">
<imgid="img11" src="images/pic01.jpg" alt="" />
</span>
<ahref="#">
<h3>1. Please complete the following code:</h3>
<divclass="content">
<pre><code>fruit = ["Apple", "Orange"]<br>num = [10, 20]<br>for x in fruit: <br><inputtype="text" id="input1" placeholder=" please input your code here:" required> print(x, y)</code></pre>
<inputclass="button primary small" id="button1" value="SUBMIT"><br><br>
<divclass="blackGreen" style="background-color:#444;">
<pstyle="color:#ff4322;">Sample Output:</p><pstyle="color:#22FF22;">Apple 10<br>Apple 20<br>Orange 10<br>Orange 20</p>
</div>
</div>
</a>
</article>
<articleclass="style2">
<spanclass="image">
<imgid="img21" src="images/pic02.jpg" alt="" />
</span>
<ahref="#">
<h3>2. Please complete the following code:</h3>
<divclass="content">
<pre><code>myNum = [10, 20, 30, 40, 50, 60, 70, 80]<br><inputtype="text" id="input21" placeholder="print(myNum[])" required><inputtype="text" id="input22" placeholder="print(myNum[])" required><inputtype="text" id="input23" placeholder="print(myNum[])" required></code></pre>
<inputclass="button primary small" id="button2" value="SUBMIT"><br><br>
<divclass="blackGreen" style="background-color:#444;">
<pstyle="color:#ff4322;">Sample Output:</p>
<pstyle="color:#22FF22;">80<br>[30, 40, 50, 60]<br>[30, 50]</p>
</div>
</div>
</a>
</article>
<articlehidden>
</article>
<articleclass="style3">
<spanclass="image">
<imgid="img31" src="images/pic02.jpg" alt="" />
</span>
<ahref="#">
<h3>3. Please complete the following code:</h3>
<divclass="content">
<pre><code>for x in range(1, 10, 2):<br><inputtype="text" id="input31" placeholder=" print(, end='')" required></code></pre>
<inputclass="button primary small" id="button3" value="SUBMIT"><br><br>
<divclass="blackGreen" style="background-color:#444;">
<pstyle="color:#ff4322;">Sample Output:</p>
<pstyle="color:#22FF22;">1 @ 3 @ 5 @ 7 @ 9 @ </p>
</div>
</div>
</a>
</article>
<articleclass="style4">
<spanclass="image">
<imgid="img41" src="images/pic02.jpg" alt="" />
</span>
<ahref="#">
<h3>4. Please complete the following code:</h3>
<divclass="content">
<pre><code>numList=[10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70]<br>for x in numList:<br> if (x > 50):<inputtype="text" id="input41" placeholder=" a keyword" required> if(x % 10 == 0):<inputtype="text" id="input42" placeholder=" please input code here:" required></code></pre>
<inputclass="button primary small" id="button4" value="SUBMIT"><br><br>
<divclass="blackGreen" style="background-color:#444;">
<pstyle="color:#ff4322;">Sample Output:</p>
<pstyle="color:#22FF22;">10<br>20<br>30<br>40<br>50</p>
</div>
</div>
</a>
</article>
</section>
</div>
</div>
<!-- Footer -->
<footerid="footer">
<divclass="inner">
<section>
</section>
<section>
<h2></h2>
</section>
<ulclass="copyright">
<li>© Untitled. All rights reserved</li><li>Design by: <ahref="index.html">Lucy Lin</a></li>
</ul>
</div>
</footer>
</div>
<!-- Scripts -->
<scriptsrc="assets/js/jquery.min.js"></script>
<scriptsrc="assets/js/browser.min.js"></script>
<scriptsrc="assets/js/breakpoints.min.js"></script>
<scriptsrc="assets/js/util.js"></script>
<scriptsrc="assets/js/main.js"></script>
<scriptsrc="assets/js/quiz.js"></script>
</body>
</html>