Intro to Python for Computer Science and Data Science by Paul Deitel Test bank
c. JavaScript
d. R
Answer: d.
1.10 Test-Drive: Using IPython and Jupyter Notebooks
1.10 Q1: In which IPython interpreter mode do you enter small bits of Python code called snippets and immediately see their results?
a. interactive mode
b. script mode
c. program mode
d. None of the above
Answer: a.
1.10.1 Using IPython Interactive Mode as a Calculator
1.10 Q2: What value is produced when Python evaluates the following expression?
5 * (12.7 - 4) / 2
a. 21
b. 21.75
c. 29.5
d. None of the above.
Answer: b.
1.10.2 Executing a Python Program Using the IPython Interpreter
No questions.
1.10.3 Writing and Executing Code in a Jupyter Notebook
1.10 Q4: Which of the following statements a), b) or c) is false?
a. The Anaconda Python Distribution comes with the Jupyter Notebook—an interactive, browser-based environment in which you can write and execute code and intermix the code with text, images and video.
b. The JupyterLab interface enables you to manage your notebook files and other files that your notebooks use (like images and videos).
c. Jupyter Notebooks use IPython by default.
d. All of the above statements are true.
Answer: d.
1.10 Q5: Which of the following statements a), b) or c) about the Jupyter Notebook is false?