[{"id":1064950,"question":"<p>How do you use a module in code.</p>","choices":[{"text":"<p>By copying it</p>","value":"A"},{"text":"<p>By renaming it</p>","value":"B"},{"text":"<p>By importing it</p>","value":"C"},{"text":"<p>By printing it</p>","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":1064949,"question":"<p>Which keyward defines a function in Python.</p>","choices":[{"text":"<p>function&nbsp;</p>","value":"A"},{"text":"<p>Define</p>","value":"B"},{"text":"<p>def</p>","value":"C"},{"text":"<p>fun</p>","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":1064948,"question":"<p>What is a data structure in Python.</p>","choices":[{"text":"<p>A way to write comments</p>","value":"A"},{"text":"<p>A way to organize and store data</p>","value":"B"},{"text":"<p>A type of function only</p>","value":"C"},{"text":"<p>A metho to delete files</p>","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":1064947,"question":"<p>What is the purspose of the range () function is Python.</p>","choices":[{"text":"<p>To create a list of strings</p>","value":"A"},{"text":"<p>To generate a sequence of numbers</p>","value":"B"},{"text":"<p>to store data in variables</p>","value":"C"},{"text":"<p>To compare values</p>","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":1064946,"question":"<p>Which module works with dates and times.</p>","choices":[{"text":"<p>random</p>","value":"A"},{"text":"<p>math</p>","value":"B"},{"text":"<p>detetime</p>","value":"C"},{"text":"<p>os</p>","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":1064945,"question":"<p>What are default parameters in functions.</p>","choices":[{"text":"<p>Parameters that can't change</p>","value":"A"},{"text":"<p>Parameters with preset values</p>","value":"B"},{"text":"<p>Parameters that break code</p>","value":"C"},{"text":"<p>Must use parameters</p>","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":1064944,"question":"<p>What is a library in Python.</p>","choices":[{"text":"<p>A single function&nbsp;</p>","value":"A"},{"text":"<p>A list of variables</p>","value":"B"},{"text":"<p>A collection of modules</p>","value":"C"},{"text":"<p>A comment block</p>","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":1064943,"question":"<p>Which is a built -in data structure in Python.</p>","choices":[{"text":"<p>Images</p>","value":"A"},{"text":"<p>Lists</p>","value":"B"},{"text":"<p>videos</p>","value":"C"},{"text":"<p>Sounds</p>","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":1064942,"question":"<p>How do you use a module in code.</p>","choices":[{"text":"<p>By copying it</p>","value":"A"},{"text":"<p>By renaming it</p>","value":"B"},{"text":"<p>By imporitng it</p>","value":"C"},{"text":"<p>By printing it</p>","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":1064941,"question":"<p>What is the data structue in Python?</p>","choices":[{"text":"<p>A way to write comments</p>","value":"A"},{"text":"<p>A way to organie and store data</p>","value":"B"},{"text":"<p>A type of function only</p>","value":"C"},{"text":"<p>A method to detete files</p>","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":1064940,"question":"<p>What is the purpose of the range () function in Python.</p>","choices":[{"text":"<p>To create a list of strings</p>","value":"A"},{"text":"<p>To generate a sequence of numbers</p>","value":"B"},{"text":"<p>To store data in variables</p>","value":"C"},{"text":"<p>To compare values</p>","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":1064939,"question":"<p>What does the range (5) function generate.</p>","choices":[{"text":"<p>Number from 0 to 5 including 5</p>","value":"A"},{"text":"<p>Numbers form 1 to 5</p>","value":"B"},{"text":"<p>Numbers from 0 to 4</p>","value":"C"},{"text":"<p>Only the number 5</p>","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":1064938,"question":"<p>Which looop is best for iterating over a sequence like a list or string.&nbsp;</p>","choices":[{"text":"<p>While loop</p>","value":"A"},{"text":"<p>for loop</p>","value":"B"},{"text":"<p>do -while loop</p>","value":"C"},{"text":"<p>switch loop</p>","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":1064937,"question":"<p>Which loop runs as long as a condition is true.</p>","choices":[{"text":"<p>‘for ’loop</p>","value":"A"},{"text":"<p>‘while ’ loop</p>","value":"B"},{"text":"<p>‘loop-until’</p>","value":"C"},{"text":"<p>repeat 'loop</p>","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":1064936,"question":"<p>What si the shorthand version of if -else written in one lin called?</p>","choices":[{"text":"<p>Compact loop</p>","value":"A"},{"text":"<p>Ternary operaton</p>","value":"B"},{"text":"<p>Short function&nbsp;</p>","value":"C"},{"text":"<p>Inline comment</p>","value":"D"},{"value":"E"}],"correctAnswer":2}]