Skip to content

Commit 45edab4

Browse files
Merge pull request #5 from virtual-labs/dev
Dev
2 parents 678b149 + 3f59ade commit 45edab4

6 files changed

Lines changed: 61 additions & 65 deletions

File tree

experiment-descriptor.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313
"unit-type": "task",
1414
"content-type": "text"
1515
},
16+
{
17+
"target": "objective.html",
18+
"source": "objective.md",
19+
"label": "Objective",
20+
"unit-type": "task",
21+
"content-type": "text"
22+
},
1623
{
1724
"target": "pretest.html",
1825
"source": "pretest.json",
@@ -33,6 +40,13 @@
3340
"label": "Simulation",
3441
"unit-type": "task",
3542
"content-type": "simulation"
43+
},
44+
{
45+
"target": "posttest.html",
46+
"source": "posttest.json",
47+
"label": "Posttest",
48+
"unit-type": "task",
49+
"content-type": "assesment"
3650
}
3751
]
3852
}

experiment/objective.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
To learn to solve problems related to Recursion using Computer Programming.
1+
- To learn to solve problems related to Recursion using Computer Programming.

experiment/posttest.json

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,46 @@
11
[
2-
{"question":"This is a Sample Question 1?",
2+
{"question":"1. A continue statement causes execution to skip to:",
33
"answers":{
4-
"a":"answer1",
5-
"b":"answer2",
6-
"c":"answer3",
7-
"d":"answer4"
4+
"a":"the end of the program",
5+
"b":"the first statement after the loop",
6+
"c":"the statement following the continue statement",
7+
"d":"the next iteration of the loop"
8+
},
9+
"correctAnswer":"d"},
10+
11+
{"question":"2. The statement i++; is equivalent to:",
12+
"answers":{
13+
"a":"i = i + i;",
14+
"b":"i = i + 1;",
15+
"c":"i = i - 1;",
16+
"d":"i - - ;"
17+
},
18+
"correctAnswer":"b"},
19+
20+
{"question":"3. Another word for 'looping' is:",
21+
"answers":{
22+
"a":"recapitulation ",
23+
"b":"tintinabulation ",
24+
"c":"iteration",
25+
"d":"reiteration"
26+
},
27+
"correctAnswer":"c"},
28+
29+
{"question":"4. Which looping process is best used when the number of iterations is known?",
30+
"answers":{
31+
"a":"for",
32+
"b":"while",
33+
"c":"do-while",
34+
"d":"all of the above"
835
},
936
"correctAnswer":"a"},
10-
{"question":"This is a Sample Question 2?",
37+
38+
{"question":"5. Which of the following is not an infinite loop.",
1139
"answers":{
12-
"a":"answer1",
13-
"b":"answer2",
14-
"c":"answer3",
15-
"d":"answer4"
40+
"a":"int i = 1 ; while ( 1 ) { i++ ; }",
41+
"b":"for( int i =1; i < 10 ; i--) printf('Hello World');",
42+
"c":"for(int i =1; i<100; i++) printf('Hello World');",
43+
"d":"int i = 0; do{ i-- printf('%d ',i); }while(i>0);"
1644
},
17-
"correctAnswer":"c"}
45+
"correctAnswer":"c"}
1846
]

experiment/pretest.json

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -42,52 +42,6 @@
4242
"c":"do-while",
4343
"d":"No looping peocess check condition at the end"
4444
},
45-
"correctAnswer":"c"},
46-
47-
{"question":"6. A continue statement causes execution to skip to:",
48-
"answers":{
49-
"a":"the end of the program",
50-
"b":"the first statement after the loop",
51-
"c":"the statement following the continue statement",
52-
"d":"the next iteration of the loop"
53-
},
54-
"correctAnswer":"d"},
55-
56-
{"question":"7. The statement i++; is equivalent to:",
57-
"answers":{
58-
"a":"i = i + i;",
59-
"b":"i = i + 1;",
60-
"c":"i = i - 1;",
61-
"d":"i - - ;"
62-
},
63-
"correctAnswer":"b"},
64-
65-
{"question":"8. Another word for 'looping' is:",
66-
"answers":{
67-
"a":"recapitulation ",
68-
"b":"tintinabulation ",
69-
"c":"iteration",
70-
"d":"reiteration"
71-
},
72-
"correctAnswer":"c"},
73-
74-
{"question":"9. Which looping process is best used when the number of iterations is known?",
75-
"answers":{
76-
"a":"for",
77-
"b":"while",
78-
"c":"do-while",
79-
"d":"all of the above"
80-
},
81-
"correctAnswer":"a"},
82-
83-
{"question":"10. Which of the following is not an infinite loop.",
84-
"answers":{
85-
"a":"int i = 1 ; while ( 1 ) { i++ ; }",
86-
"b":"for( int i =1; i < 10 ; i--) printf('Hello World');",
87-
"c":"for(int i =1; i<100; i++) printf('Hello World');",
88-
"d":"int i = 0; do{ i-- printf('%d ',i); }while(i>0);"
89-
},
9045
"correctAnswer":"c"}
9146

92-
9347
]

experiment/simulation/exp6/default.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,21 @@ h4,h5,h6,pre,code,p {
3333

3434
header#site_head {
3535

36-
background: url(images/bck_head.jpg);
36+
/*background: url(images/bck_head.jpg);*/
3737

3838
/* create a shadow of dark pinkish red */
3939

40-
x-shadow: inset 0px -2px 3px #480508;
40+
/*x-shadow: inset 0px -2px 3px #480508;
4141
-khtml-box-shadow: inset 0px -2px 3px #480508;
4242
-webkit-box-shadow: inset 0px -2px 3px #480508;
43-
box-shadow: inset 0px -2px 3px #480508;
43+
box-shadow: inset 0px -2px 3px #480508;*/
4444

4545
/* solid border of greyish white */
4646

47-
border-bottom: 1px solid #fffffb;
47+
/*border-bottom: 1px solid #fffffb;
4848
height: 40px;
4949
width: 100%;
50-
display: block;
50+
display: block;*/
5151
}
5252
/* header of 960px width */
5353

experiment/simulation/exp6/lab.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
<div class="header_cont"> <!-- 960px header-->
208208
<!-- LOGO of the company-->
209209
<div id="logo">
210-
<h1> Recursion </h1>
210+
<!--<h1> Recursion </h1>-->
211211
</div>
212212

213213
<div id="help-menu">
@@ -289,4 +289,4 @@ <h4> HINTS </h4><br/>
289289

290290

291291

292-
</body></html>
292+
</body></html>

0 commit comments

Comments
 (0)