-
Notifications
You must be signed in to change notification settings - Fork 0
/
jawaban.php
58 lines (54 loc) · 1.09 KB
/
jawaban.php
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
<?php
function getJawaban($jurusan) {
$jawaban_aksestelekomunikasi = [
1 => 'B',
2 => 'B',
3 => 'B',
4 => 'B',
5 => 'B',
6 => 'A',
7 => 'B',
8 => 'B',
9 => 'B',
10 => 'C'
];
$jawaban_modelbangunan = [
1 => 'B',
2 => 'B',
3 => 'B',
4 => 'A',
5 => 'D',
6 => 'C',
7 => 'B',
8 => 'B',
9 => 'A',
10 => 'B'
];
$jawaban_otomatisasiperkebunan = [
1 => 'A',
2 => 'B',
3 => 'C',
4 => 'C',
5 => 'B',
6 => 'C',
7 => 'C',
8 => 'B',
9 => 'B',
10 => 'B'
];
switch ($jurusan) {
case 'aksestelekomunikasi':
return $jawaban_aksestelekomunikasi;
break;
case 'modelbangunan':
return $jawaban_modelbangunan;
break;
case 'otomatisasiperkebunan':
return $jawaban_otomatisasiperkebunan;
break;
default:
return null;
break;
};
}
?>