tools for data science coursera week 4 quiz answers

Practice Quiz - Jupyter Notebooks and Jupyter Lab

1. What functionality is provided by the Jupyter Notebook file to Data Scientists?

  • Runs the code and generates the output in a separate file
  • Allows to code in only one language
  • Does not allow to share the file in any format
  • Allows to combine descriptive text, code blocks, and code output in a single file

2. What is the purpose of the kernel in the Jupyter Notebook?

  • Exports the code to a different file
  • Executes the code
  • Writes the code
  • Translates the code to a different language

3. What are the elements of Jupyter’s architecture?

  • Kernel and client
  • Server and client
  • Two kernels and a server
  • Two clients and a server

4. What is the default kernel of JupyterLite?

  • SQLite
  • Pyolite
  • Julia
  • No kernel

5. What is the purpose of Anaconda?

  • Allows creating interactive visualizations
  • Allows to install packages using a command line interface only
  • Allows to install new packages without using a command line interface
  • Allows execution of code written in any language

Graded Quiz - Jupyter Notebooks and JupyterLab

6. In which formats can you share a notebook with other users?

  • PDF
  • ppt
  • doc
  • xls

7. What is a feature of a JupyterLab?

  • Allows access to a single Notebook
  • Is not an open source
  • Interactive control of the notebook cells and output
  • Allows support of a single HTML file format

8. Which option gives the output of the current highlighted code cell in Jupyter Notebook?

  • Run -> Run All Cells
  • Run-> Run Selected Cells
  • Run -> Render All Markdown Cells
  • Edit -> Run

9. How can you switch the kernel in the Jupyter Notebook?

  • From the Edit menu on top of the notebook
  • By clicking on the Code option
  • By clicking the top left of the notebook
  • By clicking the top right of the notebook

10. Which of the following can be used to work with Jupyter Notebook?

  • Notepad++
  • Browser
  • Explorer
  • Notepad

11. What do you use to convert the ipynb file to other formats?

  • Preprocessor
  • Postprocessor
  • Exporter
  • Client Browser

12. What is one of the features of JupyterLite?

  • It is not a static website
  • Can create interactive graphics and visualizations
  • Default kernel is SQLite
  • Requires a dedicated server

13. What is one of the features of GoogleColab?

  • GoogleColab projects are stored on the local machine
  • You can clone GitHub projects and execute them in GoogleColab
  • GoogleColab Jupyter notebooks execute on a server
  • You need to set up and install GoogleColab Jupyter notebooks

14. Which environment is used for creating and modifying Jupyter Notebooks on a local device?

  • GoogleColab
  • Python
  • SQLite
  • Visual Studio Code

15. How can you execute Python code in Visual Studio code?

  • By selecting Code from the drop-down menu
  • By installing Python extensions
  • By selecting Markdown from the drop-down menu
  • By clicking on Download as

Leave a Reply