All Coursera Quiz Answers

Module quiz: Modules, packages, libraries and tools Quiz Answers

In this article i am gone to share Coursera Course: Programming in Python by Meta Week 4 | Module quiz: Modules, packages, libraries and tools Quiz Answers with you..

 

Module quiz: Modules, packages, libraries and tools Quiz Answers

Question 1)
Which of the following is not true about Test-driven development?

  • The process can also be called Red-Green refactor cycle.
  • Test-driven development can only have one cycle of testing and error correction.
  • It ensures that the entire code is covered for testing.
  • In TDD, the requirements and standards are highlighted from the beginning.

Question 2)
Which of the following is a built-in package for testing in Python?

  • Pyunit or Unittest
  • PyTest
  • Selenium
  • Robot Framework

Question 3)
Which of the following is an important keyword in Python used for validation while doing Unit testing?

  • async
  • yield
  • assert
  • lambda

Question 4)
Which of the following ‘V’s’ is not identified as a main characteristic of Big Data?

  • Volume
  • Variability
  • Variety
  • Velocity

Question 5)
What will be the output of the following piece of code:

from math import pi
print(math.pi)
  • There will be no output
  • 3.141592653589793
  • NameError: name ‘math’ is not defined
  • ImportError: No module named math

Question 6)
Which of the following is NOT primarily a package used for Image processing or data visualization?

  • OpenCV
  • Scrapy
  • Matplotlib
  • Seaborn

Question 7)
_______ is/are the default package manager(s) for installing packages in Python.

  • pip
  • Python Package Index (pypi)
  • Python Standard Library
  • Built-in Module

Question 8)
If you are working on some codeblock, which of the following can be ‘imported’ in it from external source? Select all that apply.

  • Modules
  • Functions
  • Variables
  • Packages