Skip to content

Commit 24da46c

Browse files
Merge pull request #4 from virtual-labs/testing
Testing
2 parents 997c240 + 9f287fb commit 24da46c

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

experiment/images/post_q.PNG

10.5 KB
Loading

experiment/posttest.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[{
2-
"question": "A class is instantiated by:",
2+
"question": "_is used to create an object:",
33
"answers": {
4-
"a": "Calling the class object",
5-
"b": "Creating the class object",
6-
"c": "Declaring the class",
7-
"d": "None of the mentioned,"
4+
"a": "class",
5+
"b": "constructor",
6+
"c": "User-defined functions",
7+
"d": "In-built functions"
88
},
9-
"correctAnswer": "a"
9+
"correctAnswer": "b"
1010
}, {
1111
"question": "Which among the following is not a class method?",
1212
"answers": {
@@ -17,12 +17,12 @@
1717
},
1818
"correctAnswer": "b"
1919
}, {
20-
"question": "For declaration a = Employee(), which of the following statement is correct.",
20+
"question": "<img src='images/post_q.png'.",
2121
"answers": {
22-
"a": "You can assign an int value to a. ",
23-
"b": "contains an int value ",
24-
"c": "contains a reference to a Circle object",
25-
"d": " contains an object of the Circle type. "
22+
"a": "Error because function change can’t be called in the __init__ function",
23+
"b": "‘New’ is printed",
24+
"c": "‘Old’ is printed",
25+
"d": "Nothing is printed"
2626
},
2727
"correctAnswer": "c"
2828
}, {

experiment/pretest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[{
2-
"question": "What is Instantiation?str1[3]= 's'print(str1)? ",
2+
"question": "What is Instantiation? ",
33
"answers": {
44
"a": "Modifying an instance of class",
55
"b": "Copying an instance of class",

0 commit comments

Comments
 (0)