diff -r c4c5d1123f07 -r f29d9014e1fc additional_ipython/questions.rst --- a/additional_ipython/questions.rst Tue Nov 09 16:07:33 2010 +0530 +++ b/additional_ipython/questions.rst Tue Nov 09 16:08:26 2010 +0530 @@ -20,6 +20,8 @@ Answer: 21 +.. #[Amit: I really don't get the question below] + 3. is ``%hist`` considered as a command a. True @@ -45,8 +47,10 @@ Answer: raises an error - 6. How many commands are displayed when lot of coomands were typed and + 6. How many commands are displayed when lot of commands were typed and ``%hist`` is used. +.. #[Amit: Ok something wrong with the question. +.. Recommend : What is the default maximum number of commands %hist can show ] a. 20 #. 10 @@ -82,7 +86,9 @@ #. 2 5 7 1 #. 1 2 5 7 - 10. What happens when ``%save filepath line_numbers`` is used and a file + Answer: a + +10. What happens when ``%save filepath line_numbers`` is used and a file already exists in that path. a. It is overwritten @@ -116,3 +122,13 @@ #. Does nothing Answer: increments the value of x by 1 + + +Long Answer questions : +----------------------- + +1. Question 1 +2. Question 2 + +.. #[Amit: I think long answer questions for this script are +.. not possible. Please add if someone comes up with any]