generated from virtual-labs/ph3-exp-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from virtual-labs/dev
Dev
- Loading branch information
Showing
6 changed files
with
63 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
To learn to solve problems related to Searching and Sorting using Computer Programming. | ||
- To learn to solve problems related to Searching and Sorting using Computer Programming. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,47 @@ | ||
[ | ||
{"question":"This is a Sample Question 1?", | ||
{"question":"1. A continue statement causes execution to skip to:", | ||
"answers":{ | ||
"a":"answer1", | ||
"b":"answer2", | ||
"c":"answer3", | ||
"d":"answer4" | ||
"a":"the end of the program", | ||
"b":"the first statement after the loop", | ||
"c":"the statement following the continue statement", | ||
"d":"the next iteration of the loop" | ||
}, | ||
"correctAnswer":"d"}, | ||
|
||
{"question":"2. The statement i++; is equivalent to:", | ||
"answers":{ | ||
"a":"i = i + i;", | ||
"b":"i = i + 1;", | ||
"c":"i = i - 1;", | ||
"d":"i - - ;" | ||
}, | ||
"correctAnswer":"b"}, | ||
|
||
{"question":"3. Another word for 'looping' is:", | ||
"answers":{ | ||
"a":"recapitulation ", | ||
"b":"tintinabulation ", | ||
"c":"iteration", | ||
"d":"reiteration" | ||
}, | ||
"correctAnswer":"c"}, | ||
|
||
{"question":"4. Which looping process is best used when the number of iterations is known?", | ||
"answers":{ | ||
"a":"for", | ||
"b":"while", | ||
"c":"do-while", | ||
"d":"all of the above" | ||
}, | ||
"correctAnswer":"a"}, | ||
{"question":"This is a Sample Question 2?", | ||
|
||
{"question":"5. Which of the following is not an infinite loop.", | ||
"answers":{ | ||
"a":"answer1", | ||
"b":"answer2", | ||
"c":"answer3", | ||
"d":"answer4" | ||
"a":"int i = 1 ; while ( 1 ) { i++ ; }", | ||
"b":"for( int i =1; i < 10 ; i--) printf('Hello World');", | ||
"c":"for(int i =1; i<100; i++) printf('Hello World');", | ||
"d":"int i = 0; do{ i-- printf('%d ',i); }while(i>0);" | ||
}, | ||
"correctAnswer":"c"} | ||
"correctAnswer":"c"} | ||
|
||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters