-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathml-test.html
713 lines (631 loc) · 38.3 KB
/
ml-test.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
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Machine Learning Study Jam</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="assets/img/favicon.png" rel="icon">
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,600,600i,700,700i" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
<link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
<link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">
<!-- Template Main CSS File -->
<link href="assets/css/style.css" rel="stylesheet">
<!-- =======================================================
* Template Name: Ninestars - v4.7.0
* Template URL: https://bootstrapmade.com/ninestars-free-bootstrap-3-theme-for-creative/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
======================================================== -->
</head>
<body>
<!-- ======= Header ======= -->
<header id="header" class="fixed-top d-flex align-items-center">
<div class="container d-flex align-items-center justify-content-between">
<div class="logo">
<!--<h1 class="text-light"><a href="index.html"><span>Ninestars</span></a></h1>-->
<h1><a href="index.html"><img src="assets/img/logo_backup.png" height="60px"></a></h1>
<!-- Uncomment below if you prefer to use an image logo -->
<!-- <a href="index.html"><img src="assets/img/logo.png" alt="" class="img-fluid"></a>-->
</div>
<nav id="navbar" class="navbar">
<ul>
<li><a class="nav-link scrollto" href="index.html#hero">Home</a></li>
<li><a class="nav-link scrollto " href="faq.html">FAQ</a></li>
<li><a class="nav-link scrollto" href="index.html#sponsorship">Sponsorship</a></li>
<li><a class="nav-link scrollto" href="index.html#partnership">Partnership</a></li>
<li><a class="nav-link scrollto" href="timeline.html">Timeline</a></li>
<li><a class="nav-link scrollto active" href="ml-test.html">ML Test</a></li>
<li><a class="nav-link scrollto" href="prerequisite.html">Prerequisite</a></li>
<li><a class="nav-link scrollto" href="about_us.html">About Us</a></li>
<li><a class="getstarted scrollto" href="our-team.html">Our Team</a></li>
</ul>
<i class="bi bi-list mobile-nav-toggle"></i>
</nav><!-- .navbar -->
</div>
</header><!-- End Header -->
<main id="main">
<!-- ======= Breadcrumbs Section ======= -->
<section class="breadcrumbs">
<div class="container">
<div class="d-flex justify-content-between align-items-center">
<h2> </h2>
<ol>
<li><a href="index.html">Home</a></li>
<li>ML Test</li>
</ol>
</div>
</div>
</section><!-- End Breadcrumbs Section -->
<!-- ======= F.A.Q Section ======= -->
<section id="faq" class="faq section-bg">
<div class="container col-lg-12" data-aos="fade-up">
<div class="section-title">
<p>Test your Machine Learning knowledge</p>
</div>
<div class="row start_section">
<div class="col-lg-4">
<button type="button" class="btn_beginner form-control bg-primary text-white col-lg-4">Beginner</button>
</div>
<div class="col-lg-4">
<button type="button" class="btn_intermediate form-control bg-primary text-white col-lg-4 bg-success">Intermediate</button>
</div>
<div class="col-lg-4">
<button type="button" class="btn_advance form-control bg-primary text-white bg-danger">advanced</button>
</div>
</div>
<div class="question_section" hidden>
<div class="ml_beginner " hidden>
<h3>ML Level : Beginner</h3>
<div class="form-group colg-lg-6">
<h5>Question 1</h5>
<p>What is the output of the following code?
<br/>p, q, r = 10, 20.5 ,‘Halo’
print(p, q, r)
</p>
<div class="form-check">
<input class="form-check-input b_1" type="radio" name="b1" value="0">
<label class="form-check-label" for="exampleRadios1">a)10,20.5,‘Halo’
</div>
<div class="form-check">
<input class="form-check-input b_1" type="radio" name="b1" value="1" >
<label class="form-check-label" for="exampleRadios1">b)10 20.5 Halo
</div>
<div class="form-check">
<input class="form-check-input b_1" type="radio" name="b1" value="0" >
<label class="form-check-label" for="exampleRadios1">c)10 20 Halo
</div>
<div class="form-check">
<input class="form-check-input b_1" type="radio" name="b1" value="0" checked>
<label class="form-check-label" for="exampleRadios1">d)Syntax Error
</div>
</div>
<br/><br/>
<div class="form-group colg-lg-6">
<h5>Question 2</h5>
<p>What is the output of the following code?
<br/>var = "James" * 2 * 3</br>
print(var)
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="b2" value="0">
<label class="form-check-label" for="exampleRadios1">“James”* 2 * 3 ‘Halo’
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="b2" value="0">
<label class="form-check-label" for="exampleRadios1">b) James James James James James James
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="b2" value="1">
<label class="form-check-label" for="exampleRadios1">c) JamesJamesJamesJamesJamesJames
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="b2" value="0" checked>
<label class="form-check-label" for="exampleRadios1">d) Syntax Error
</div>
</div>
<br/><br/>
<div class="form-group colg-lg-6">
<h5>Question 3</h5>
<p>What is the output of the following code?
<br/>import math
<br/>x=math.floor(2.3)
<br/>y=math.ceil(2.5)
<br/>print('x =',x)
<br/>print('y =',y)
<br/>
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="b3" value="0">
<label class="form-check-label" for="exampleRadios1">
a) <br/>x = 2.3
<br/>y = 2.5
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="b3" value="0">
<label class="form-check-label" for="exampleRadios1">
b)<br/>x = 2.0
<br/>y = 3.0
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="b3" value="1">
<label class="form-check-label" for="exampleRadios1">
c)<br/>x = 2
<br/>y = 3
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="b3" value="0" checked>
<label class="form-check-label" for="exampleRadios1">d)syntax Error
</div>
</div>
<br/><br/>
<div class="form-group colg-lg-6">
<h5>Question 4</h5>
<p>Which of the following is not an application of machine learning?
<br/>
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="b4" value="0" >
<label class="form-check-label" for="exampleRadios1">a)Self driving car
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="b4" value="0" >
<label class="form-check-label" for="exampleRadios1">b)Traffic prediction
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="b4" value="0" checked>
<label class="form-check-label" for="exampleRadios1">c)Recommendation system
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="b4" value="1" >
<label class="form-check-label" for="exampleRadios1">d)BMI calculator
</div>
</div>
<br/><br/>
<div class="form-group colg-lg-6">
<h5>Question 5</h5>
<p>Is the statement below True or False?
<br/>"Machine learning is used to build algorithms that can receive the input data and use statistical analysis to predict the output, based upon the type of data available."
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="b5" value="1" checked>
<label class="form-check-label" for="exampleRadios1">a)True
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="b5" value="0" >
<label class="form-check-label" for="exampleRadios1">b)False
</div>
</div>
<br/>
<br/>
<div class="form-group colg-lg-6">
<h5>Question 6</h5>
<p>Is the statement below True or False?
<br/>"Traditional programming is an automatic process which requires you to provide the data to train the model. On the other hand, in Machine Learning, you're the one who creates the program, which then processes information according to the rules defined by you and outputs results.
"
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="b6" value="0" checked >
<label class="form-check-label" for="exampleRadios1">a)True
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="b6" value="1">
<label class="form-check-label" for="exampleRadios1">b)False
</div>
</div>
</div>
<div class="ml_intermediate" hidden>
<h3>ML Level : Intermediate</h3>
<div class="form-group colg-lg-6">
<h5>Question 1</h5>
<p>In linear regression, we try to __________ the least square errors of the model to identify the line of best fit.
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="i1" value="0" checked>
<label class="form-check-label" for="exampleRadios1">a)Change
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i1" value="1" checked>
<label class="form-check-label" for="exampleRadios1">b)Minimize
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i1" value="0" checked>
<label class="form-check-label" for="exampleRadios1">c)Maximize
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i1" value="0" checked>
<label class="form-check-label" for="exampleRadios1">d)None of above
</div>
</div>
<br/><br/>
<div class="form-group colg-lg-6">
<h5>Question 2</h5>
<p>Which of the following is NOT supervised learning??
<br/>
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="i2" value="0" checked>
<label class="form-check-label" for="exampleRadios1">a)Linear Regression
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i2" value="0" checked>
<label class="form-check-label" for="exampleRadios1">b)Decision Tree
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i2" value="1" checked>
<label class="form-check-label" for="exampleRadios1">c)PCA
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i2" value="0" checked>
<label class="form-check-label" for="exampleRadios1">d)KNN
</div>
</div>
<br/><br/>
<div class="form-group colg-lg-6">
<h5>Question 3</h5>
<p>What category of machine learning algorithm finds patterns in the data when the data is not labeled?
<br/>
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="i3" value="0" checked>
<label class="form-check-label" for="exampleRadios1">a)Supervised
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i3" value="1" checked>
<label class="form-check-label" for="exampleRadios1">b)Unsupervised
</div>
</div>
<br/><br/>
<div class="form-group colg-lg-6">
<h5>Question 4</h5>
<p>What does a classification model do?
<br/>
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="i4" value="0" checked>
<label class="form-check-label" for="exampleRadios1">a)Predicts real number responses such as changes in temperature, date, or time
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i4" value="1" checked>
<label class="form-check-label" for="exampleRadios1">b)Assigns data to a predefined category
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i4" value="0" checked>
<label class="form-check-label" for="exampleRadios1">c)Clusters responses in groups based on similarity, to find patterns
</div>
</div>
<br/><br/>
<div class="form-group colg-lg-6">
<h5>Question 5</h5>
<p>What is overfitting?
<br/>
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="i5" value="0" checked>
<label class="form-check-label" for="exampleRadios1">a)When a predictive model is accurate but takes too long to run
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i5" value="1" checked>
<label class="form-check-label" for="exampleRadios1">b)When the model learns specifics of the training data that can’t be generalized to a larger data set
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i5" value="0" checked>
<label class="form-check-label" for="exampleRadios1">c)When you apply a powerful deep learning algorithm to a simple machine learning problem
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i5" value="0" checked>
<label class="form-check-label" for="exampleRadios1">d)When you perform hyperparameter tuning and performance degrades
</div>
</div>
<br/><br/>
<div class="form-group colg-lg-6">
<h5>Question 6</h5>
<p>What kind of table compares classifications predicted by the model with the actual class labels?
</p>
<br/>
<img src="assets/img/question_i6.png" class="img-fluid" alt="Responsive image"/>
<div class="form-check">
<input class="form-check-input" type="radio" name="i6" value="0" checked>
<label class="form-check-label" for="exampleRadios1">a)Chaos table
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i6" value="0" checked>
<label class="form-check-label" for="exampleRadios1">b)Prediction plot
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i6" value="1" checked>
<label class="form-check-label" for="exampleRadios1">c)Confusion Matrix
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="i6" value="0" checked>
<label class="form-check-label" for="exampleRadios1">d)Residual Plot
</div>
</div>
</div>
<div class="ml_advance" hidden>
<h3>ML Level : advanced</h3>
<div class="form-group colg-lg-6">
<h5>Question 1</h5>
<p>What does hyperparameter tuning do?
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="a1" value="1" checked>
<label class="form-check-label" for="exampleRadios1">a)Optimizes parameters to improve performance of a learning algorithm
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a1" value="0" checked>
<label class="form-check-label" for="exampleRadios1">b)Expands the parameter set of a model to improve performance
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a1" value="0" checked>
<label class="form-check-label" for="exampleRadios1">c)Specifies the hyperplane that represents linear classifiers
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a1" value="0" checked>
<label class="form-check-label" for="exampleRadios1">d)Takes parameter tuning so far that performance degrades
</div>
</div>
<div class="form-group colg-lg-6">
<h5>Question 2</h5>
<p>What is principal component analysis?
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="a2" value="0" checked>
<label class="form-check-label" for="exampleRadios1">a)A feature selection technique that adds or removes features to optimize prediction accuracy
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a2" value="1" checked>
<label class="form-check-label" for="exampleRadios1">b)A linear feature transformation technique for reducing data dimensionality
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a2" value="0" checked>
<label class="form-check-label" for="exampleRadios1">c)A clustering technique that partitions data into mutually exclusive clusters
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a2" value="0" checked>
<label class="form-check-label" for="exampleRadios1">d)A predictive technique that identifies a better set of parameters
</div>
</div>
<div class="form-group colg-lg-6">
<h5>Question 3</h5>
<p>What activation function is it?
<br/>
<img src="assets/img/func1.png" class="img-fluid" alt="Responsive image"/>
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="a3" value="0" checked>
<label class="form-check-label" for="exampleRadios1">a)Sigmoid
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a3" value="0" checked>
<label class="form-check-label" for="exampleRadios1">b)Relu
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a3" value="1" checked>
<label class="form-check-label" for="exampleRadios1">c)tanh
</div>
</div>
<div class="form-group colg-lg-6">
<h5>Question 4</h5>
<p>What activation function is it?
<br/>
<img src="assets/img/func2.png" class="img-fluid" alt="Responsive image"/>
</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="a4" value="0" checked>
<label class="form-check-label" for="exampleRadios1">a)Sigmoid
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a4" value="1" checked>
<label class="form-check-label" for="exampleRadios1">b)Relu
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a4" value="0" checked>
<label class="form-check-label" for="exampleRadios1">c)tanh
</div>
</div>
<div class="form-group colg-lg-6">
<h5>Question 5</h5>
<p>Which of the following is a loss function?</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="a5" value="0" checked>
<label class="form-check-label" for="exampleRadios1">a)Sigmoid Function
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a5" value="1" checked>
<label class="form-check-label" for="exampleRadios1">b)Cross Entropy
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a5" value="0" checked>
<label class="form-check-label" for="exampleRadios1">c)ReLu
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a5" value="0" checked>
<label class="form-check-label" for="exampleRadios1">d)All of the above
</div>
</div>
<div class="form-group colg-lg-6">
<h5>Question 6</h5>
<p>For a binary classification problem, which of the following activation functions is used?</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="a6" value="0" checked>
<label class="form-check-label" for="exampleRadios1">a)Relu
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a6" value="0" checked>
<label class="form-check-label" for="exampleRadios1">b)Softmax
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a6" value="1" checked>
<label class="form-check-label" for="exampleRadios1">c)Sigmoid
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a6" value="0" checked>
<label class="form-check-label" for="exampleRadios1">d)Tanh
</div>
</div>
<div class="form-group colg-lg-6">
<h5>Question 7</h5>
<p>Which of the following is not a neural network?</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="a7" value="0" checked>
<label class="form-check-label" for="exampleRadios1">a)CNN
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a7" value="0" checked>
<label class="form-check-label" for="exampleRadios1">b)RNN
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a7" value="1" checked>
<label class="form-check-label" for="exampleRadios1">c)KNN
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="a7" value="0" checked>
<label class="form-check-label" for="exampleRadios1">d)GAN
</div>
</div>
</div>
<div class="col-lg-3">
<button type="button" class="form-control col-lg-12 bg-secondary text-white btn_checkresult" >Check Result</button>
</div>
</div>
<div class="result_section row" hidden>
<div class="col-lg-4"></div>
<div class="col-lg-4">
<h2 class="text-center">Your marks : <b class="yourmarks">0/0</b></h2>
<p class="lvlcaption text-center"></p>
</div>
<div class="col-lg-4"></div>
<div class="col-lg-4"></div>
<div class="col-lg-4">
<button type="button" class="form-control col-lg-3 bg-secondary text-white btn_testagain" >Test Again</button>
</div>
<div class="col-lg-4"></div>
</div>
</section><!-- End F.A.Q Section -->
</main><!-- End #main -->
<footer id="footer">
<div class="footer-top">
</div>
<div class="container py-4">
<div class="copyright">
© Copyright <strong><span>Machine Learning Study Jam</span></strong>. All Rights Reserved
</div>
<div class="credits">
<!-- All the links in the footer should remain intact. -->
<!-- You can delete the links only if you purchased the pro version. -->
<!-- Licensing information: https://bootstrapmade.com/license/ -->
<!-- Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/ninestars-free-bootstrap-3-theme-for-creative/ -->
Designed by <a href="#">GDSCMY</a>
</div>
</div>
</footer><!-- End Footer -->
<a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
<!-- Vendor JS Files -->
<script src="assets/vendor/aos/aos.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/glightbox/js/glightbox.min.js"></script>
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
<script src="assets/vendor/php-email-form/validate.js"></script>
<!-- Template Main JS File -->
<script src="assets/js/main.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" type="text/javascript"></script>
<script>
$(document).ready(function(){
var b1=0,b2=0,b3=0,b4=0,b5=0,b6=0,i1=0,i2=0,i3=0,i4=0,i5=0,i6=0,a1=0,a2=0,a3=0,a4=0,a5=0,a6=0,a7=0;
var overTotal = 0;
var marks = 0;
var lvl = "n/a";
var lvlcaption = "n/a"
$('.btn_testagain').click(function(){
location.reload(true);
});
$('input[type="radio"]').click(function(){
});
$('.btn_checkresult').click(function(){
//beginner
if(lvl == "b")
{
var b1 = parseInt($('input[name="b1"]:checked').val());
var b2 = parseInt($('input[name="b2"]:checked').val());
var b3 = parseInt($('input[name="b3"]:checked').val());
var b4 = parseInt($('input[name="b4"]:checked').val());
var b5 = parseInt($('input[name="b5"]:checked').val());
var b6 = parseInt($('input[name="b6"]:checked').val());
marks = b1+b2+b3+b4+b5+b6;
}
//intermediate
if(lvl == "i")
{
var i1 = parseInt($('input[name="i1"]:checked').val());
var i2 = parseInt($('input[name="i2"]:checked').val());
var i3 = parseInt($('input[name="i3"]:checked').val());
var i4 = parseInt($('input[name="i4"]:checked').val());
var i5 = parseInt($('input[name="i5"]:checked').val());
var i6 = parseInt($('input[name="i6"]:checked').val());
marks = i1+i2+i3+i4+i5+i6;
}
//Advance
if(lvl == "a")
{
var a1 = parseInt($('input[name="a1"]:checked').val());
var a2 = parseInt($('input[name="a2"]:checked').val());
var a3 = parseInt($('input[name="a3"]:checked').val());
var a4 = parseInt($('input[name="a4"]:checked').val());
var a5 = parseInt($('input[name="a5"]:checked').val());
var a6 = parseInt($('input[name="a6"]:checked').val());
var a7 = parseInt($('input[name="a7"]:checked').val());
marks = a1+a2+a3+a4+a5+a6+a7;
}
$('.yourmarks').html(marks+"/"+overTotal);
$('.question_section').hide();
$('.result_section').attr('hidden',false);
var msgcaption = "Congratulations! you are qualified for <b>"+lvlcaption+"</b> level. please register yourself as <b>"+lvlcaption+"</b> level at registration form <a href='https://forms.gle/Mbw3qLLZFXw7otU46'>here</a>.";
if(lvl == "b" && marks < 4)
{
msgcaption = "please brush up your ML knowledge by viewing the ML contents prepared by us and retry the test";
}
if((lvl == "i" && marks < 4) || (lvl == "a" && marks < 5))
{
msgcaption = "it is <b>strongly recommended for you to register the one level below</b> instead of current level. However, if you still keen to join current level, please make sure you fulfill at least some of the prerequisite that listed for current level. We always welcome those newcomers who are passionate and willing to learn new knowledges to challenges themselves";
}
$('.lvlcaption').html(msgcaption);
});
$('.btn_beginner').click(function(){
lvl = "b";
lvlcaption = "beginner";
overTotal =6;
$('.start_section').hide();
$('.question_section').attr('hidden',false);
$('.ml_beginner').attr('hidden',false);
});
$('.btn_intermediate').click(function(){
lvl = "i";
lvlcaption = "intermediate";
overTotal =6;
$('.start_section').hide();
$('.question_section').attr('hidden',false);
$('.ml_intermediate').attr('hidden',false);
});
$('.btn_advance').click(function(){
lvl = "a";
lvlcaption = "advanced";
overTotal =7;
$('.start_section').hide();
$('.question_section').attr('hidden',false);
$('.ml_advance').attr('hidden',false);
});
});
</script>
</body>
</html>