equal
deleted
inserted
replaced
18 #. 21 |
18 #. 21 |
19 #. 19 |
19 #. 19 |
20 |
20 |
21 Answer: 21 |
21 Answer: 21 |
22 |
22 |
|
23 .. #[Amit: I really don't get the question below] |
|
24 |
23 3. is ``%hist`` considered as a command |
25 3. is ``%hist`` considered as a command |
24 |
26 |
25 a. True |
27 a. True |
26 #. False |
28 #. False |
27 |
29 |
43 #. raises an error |
45 #. raises an error |
44 #. lists the commands 2 to 7 |
46 #. lists the commands 2 to 7 |
45 |
47 |
46 Answer: raises an error |
48 Answer: raises an error |
47 |
49 |
48 6. How many commands are displayed when lot of coomands were typed and |
50 6. How many commands are displayed when lot of commands were typed and |
49 ``%hist`` is used. |
51 ``%hist`` is used. |
|
52 .. #[Amit: Ok something wrong with the question. |
|
53 .. Recommend : What is the default maximum number of commands %hist can show ] |
50 |
54 |
51 a. 20 |
55 a. 20 |
52 #. 10 |
56 #. 10 |
53 #. 50 |
57 #. 50 |
54 #. 40 |
58 #. 40 |
80 a. 2 3 4 5 7 1 |
84 a. 2 3 4 5 7 1 |
81 #. 1 2 3 4 5 6 7 |
85 #. 1 2 3 4 5 6 7 |
82 #. 2 5 7 1 |
86 #. 2 5 7 1 |
83 #. 1 2 5 7 |
87 #. 1 2 5 7 |
84 |
88 |
85 10. What happens when ``%save filepath line_numbers`` is used and a file |
89 Answer: a |
|
90 |
|
91 10. What happens when ``%save filepath line_numbers`` is used and a file |
86 already exists in that path. |
92 already exists in that path. |
87 |
93 |
88 a. It is overwritten |
94 a. It is overwritten |
89 #. The commands are added to the file |
95 #. The commands are added to the file |
90 #. It raises an error |
96 #. It raises an error |
114 a. raises an error |
120 a. raises an error |
115 #. increments value of x by 1 |
121 #. increments value of x by 1 |
116 #. Does nothing |
122 #. Does nothing |
117 |
123 |
118 Answer: increments the value of x by 1 |
124 Answer: increments the value of x by 1 |
|
125 |
|
126 |
|
127 Long Answer questions : |
|
128 ----------------------- |
|
129 |
|
130 1. Question 1 |
|
131 2. Question 2 |
|
132 |
|
133 .. #[Amit: I think long answer questions for this script are |
|
134 .. not possible. Please add if someone comes up with any] |