question_bank.xml
changeset 50 0842b3439c3e
parent 49 3643f59f141e
child 58 672409e18e16
equal deleted inserted replaced
49:3643f59f141e 50:0842b3439c3e
   389 </day1quiz2>
   389 </day1quiz2>
   390 <day2quiz1>
   390 <day2quiz1>
   391 
   391 
   392 <question>
   392 <question>
   393 <description>
   393 <description>
   394 What is the largest integer value that can be represented natively by Python?
   394 What is the largest integer value that can be represented by Python?
   395 </description>
   395 </description>
   396 <time_limit>
   396 <time_limit>
   397 30
   397 30
   398 </time_limit>
   398 </time_limit>
   399 <expected_answer>
   399 <options>
   400 correct manually
   400 No Limit
       
   401 2**32
       
   402 2**32 - 1
       
   403 None of the above
       
   404 </options>
       
   405 <expected_answer>
       
   406 No Limit
   401 </expected_answer>
   407 </expected_answer>
   402 </question>
   408 </question>
   403 
   409 
   404 <question>
   410 <question>
   405 <description>
   411 <description>
   462 What does 't' * 40 produce?
   468 What does 't' * 40 produce?
   463 </description>
   469 </description>
   464 <time_limit>
   470 <time_limit>
   465 30
   471 30
   466 </time_limit>
   472 </time_limit>
   467 <expected_answer>
   473 <options>
   468 correct manually
   474 40
       
   475 tttttttttttttttttttttttttttttttttttttttt
       
   476 t40
       
   477 Error
       
   478 </options>
       
   479 <expected_answer>
       
   480 tttttttttttttttttttttttttttttttttttttttt
   469 </expected_answer>
   481 </expected_answer>
   470 </question>
   482 </question>
   471 
   483 
   472 <question>
   484 <question>
   473 <description>
   485 <description>
   478 </code>
   490 </code>
   479 <time_limit>
   491 <time_limit>
   480 30
   492 30
   481 </time_limit>
   493 </time_limit>
   482 <expected_answer>
   494 <expected_answer>
   483 correct manually
   495 "a, b, c"
       
   496 'a, b, c'
   484 </expected_answer>
   497 </expected_answer>
   485 </question>
   498 </question>
   486 
   499 
   487 <question>
   500 <question>
   488 <description>
   501 <description>
   574 <time_limit>
   587 <time_limit>
   575 30
   588 30
   576 </time_limit>
   589 </time_limit>
   577 <expected_answer>
   590 <expected_answer>
   578 error
   591 error
   579 </expected_answer>
   592 Error
   580 </question>
   593 ERROR
   581 
   594 </expected_answer>
   582 <question>
   595 </question>
   583 <description>
   596 
   584 What is the value of func(1) where
   597 <question>
       
   598 <description>
       
   599 What is the value of func(1), if
   585 </description>
   600 </description>
   586 <code>
   601 <code>
   587 def func(x, y=10):
   602 def func(x, y=10):
   588     print x+1, y+10
   603     print x+1, y+10
   589 </code>
   604 </code>
   590 <time_limit>
   605 <time_limit>
   591 60
   606 60
   592 </time_limit>
   607 </time_limit>
   593 <expected_answer>
   608 <expected_answer>
   594 2 10
   609 2 20
   595 2 , 10
   610 </expected_answer>
   596 </expected_answer>
   611 </question>
   597 </question>
   612 
   598 
   613 <question>
   599 <question>
   614 <description>
   600 <description>
   615 How many items can a function return ?
   601 How many items can a function return 
   616 </description>
   602 </description>
   617 <time_limit>
   603 <time_limit>
   618 30
   604 30
   619 </time_limit>
   605 </time_limit>
   620 <options>
       
   621 One
       
   622 Multiple
       
   623 Two
       
   624 None
       
   625 </options>
   606 <expected_answer>
   626 <expected_answer>
   607 Multiple
   627 Multiple
   608 </expected_answer>
   628 </expected_answer>
   609 </question>
   629 </question>
   610 
   630