author | nishanth |
Wed, 21 Apr 2010 21:53:33 +0530 | |
changeset 39 | 0fa055b8ea98 |
parent 33 | d28d0957a5ab |
child 46 | b45bb982ae24 |
permissions | -rw-r--r-- |
28
456b7b9e3d13
created a question bank xml file and created a seed_que command for adding questions to db from xml
nishanth
parents:
diff
changeset
|
1 |
<questionbank> |
33
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
2 |
<day1quiz1> |
28
456b7b9e3d13
created a question bank xml file and created a seed_que command for adding questions to db from xml
nishanth
parents:
diff
changeset
|
3 |
|
33
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
4 |
<question> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
5 |
<description> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
6 |
How will you set the x and y axis limits so that the region of interest is in the rectangle (0, -1.5) and (2\pi, 1.5)? |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
7 |
</description> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
8 |
<time_limit> |
39
0fa055b8ea98
implemented correct_quiz function and added it at the time of closing quiz and modified question bank
nishanth
parents:
33
diff
changeset
|
9 |
90 |
33
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
10 |
</time_limit> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
11 |
<expected_answer> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
12 |
xlim \( 0 , 2 \* pi \) [;,\n+] ylim \( -1.5 , 1.5\) |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
13 |
</expected_answer> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
14 |
</question> |
28
456b7b9e3d13
created a question bank xml file and created a seed_que command for adding questions to db from xml
nishanth
parents:
diff
changeset
|
15 |
|
33
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
16 |
<question> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
17 |
<description> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
18 |
If a = [1, 2, 5, 9] then what is the value of a[0:-1] |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
19 |
</description> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
20 |
<time_limit> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
21 |
30 |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
22 |
</time_limit> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
23 |
<expected_answer> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
24 |
\[ 1 , 2 , 5 \] |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
25 |
</expected_answer> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
26 |
</question> |
28
456b7b9e3d13
created a question bank xml file and created a seed_que command for adding questions to db from xml
nishanth
parents:
diff
changeset
|
27 |
|
33
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
28 |
<question> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
29 |
<description> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
30 |
A sample line from a Comma Separated Values (CSV) file: |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
31 |
line = "Rossum, Guido, 42, 56, 34, 54" |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
32 |
What code would you use to separate the line into fields? |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
33 |
</description> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
34 |
<time_limit> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
35 |
30 |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
36 |
</time_limit> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
37 |
<expected_answer> |
39
0fa055b8ea98
implemented correct_quiz function and added it at the time of closing quiz and modified question bank
nishanth
parents:
33
diff
changeset
|
38 |
line\.split \( \" , \" \) |
0fa055b8ea98
implemented correct_quiz function and added it at the time of closing quiz and modified question bank
nishanth
parents:
33
diff
changeset
|
39 |
line\.split \( \' , \' \) |
33
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
40 |
</expected_answer> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
41 |
</question> |
29 | 42 |
|
33
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
43 |
<question> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
44 |
<description> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
45 |
If a = [1, 2, 5, 9] how do you find the length of this list? |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
46 |
</description> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
47 |
<time_limit> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
48 |
30 |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
49 |
</time_limit> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
50 |
<expected_answer> |
39
0fa055b8ea98
implemented correct_quiz function and added it at the time of closing quiz and modified question bank
nishanth
parents:
33
diff
changeset
|
51 |
len \( a \) |
33
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
52 |
</expected_answer> |
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
53 |
</question> |
29 | 54 |
|
33
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
55 |
</day1quiz1> |
29 | 56 |
|
33
d28d0957a5ab
added intro page and manual submit button in question page
nishanth
parents:
29
diff
changeset
|
57 |
<day1quiz2> |
29 | 58 |
</day1quiz2> |
28
456b7b9e3d13
created a question bank xml file and created a seed_que command for adding questions to db from xml
nishanth
parents:
diff
changeset
|
59 |
|
456b7b9e3d13
created a question bank xml file and created a seed_que command for adding questions to db from xml
nishanth
parents:
diff
changeset
|
60 |
</questionbank> |