-
Notifications
You must be signed in to change notification settings - Fork 0
/
testBankAPCS.html
82 lines (67 loc) · 2.94 KB
/
testBankAPCS.html
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
<head>
<link rel="stylesheet" type="text/css" href="testBank.css">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Lato:100,200,300,400,500,600,700">
</head>
<script type="text/javascript" src="testBankAPCS.js"></script>
<div id="dark" >
<h2>Study Alarm: Computer Science Edition</h2>
<p id="intro">Answer all three questions correctly in order to turn off the alarm!</p>
<form name="apcstest">
<p class="question">1. Which of these is not a primitive type?</p>
<ul class="answers">
<input type="radio" name="q1" value="a1" id="q1a">
<label value="q1a">Double</label>
<br/>
<input type="radio" name="q1" value="b1" id="q1b">
<label value="q1b">Char</label>
<br/>
<input type="radio" name="q1" value="c1" id="q1c">
<label value="q1c">Integer</label>
<br/>
<input type="radio" name="q1" value="d1" id="q1d">
<label value="q1d">String</label>
<br/>
</ul>
<p class="question">2. Assume x and y are properly initialized boolean variables.
<br/>
<br/>
    (x && y ) || !(x && y)
<br/>
<br/>
The result of evaluating the above expression is best described as</p>
<ul class="answers">
<input type="radio" name="q2" value="a2" id="q2a">
<label for="q2a">Always false</label>
<br/>
<input type="radio" name="q2" value="b2" id="q2b">
<label for="q2b">Always true</label>
<br/>
<input type="radio" name="q2" value="c2" id="q2c">
<label for="q2c">True only when x and y have the same values</label>
<br/>
<input type="radio" name="q2" value="d2" id="q2d">
<label for="q2d">True only when x and y have different values</label>
<br/>
</ul>
<p class="question">3. Which sorting method is the best?</p>
<ul class="answers">
<input type="radio" name="q3" value="a3" id="q3a">
<label for="q3a">Bogo Sort</label>
<br/>
<input type="radio" name="q3" value="b3" id="q3b">
<label for="q3b">Bogo Sort</label>
<br/>
<input type="radio" name="q3" value="c3" id="q3c">
<label for="q3c">Bogo Sort</label>
<br/>
<input type="radio" name="q3" value="d3" id="q3d">
<label for="q3d">Bogo Sort</label>
<br/>
</ul>
<br/>
<input type="button" value=" Submit Answers! " onclick="stopAlarm()">
<input type="button" value="Return to Home" onclick="location.href='index.html';" id="home">
</form>
</div>
<audio src="indiyskiy_bond.mp3" id="mp3" preload="auto" loop autoplay></audio>
<script type="text/javascript" src="testBankAPCS.js"></script>