Dermot Keenan
Quiz by , created more than 1 year ago

These are the questions for Lesson A2

234
0
0
No tags specified
Dermot Keenan
Created by Dermot Keenan over 6 years ago
Close

Virtual environments quiz

Question 1 of 4

1

Please drag the missing script into the relevant blanks, to define a virtual environment in the context of Python.
A virtual environment is an isolated working copy of Python which allows you to work on a specific project without other projects.

Drag and drop to complete the text.

    affecting
    effecting
    changing
    deleting

Explanation

Question 2 of 4

1

The Python virtual environment gives the advantage that there are multiple copies of Python available for several projects.

Select one of the following:

  • True
  • False

Explanation

Question 3 of 4

1

To create a virtual environment, what do you install (), where () and then what do you do ().

Drag and drop to complete the text.

    virtualenv
    on your project folder
    activate your virtual environment
    delete your virtual environment
    pip install

Explanation

Question 4 of 4

1

What does the command <virtualenv venv> do?

Select one of the following:

  • It installs the virtual environment

  • It activates the venv of the virtual environment

  • It creates the virtual environment in the folder where it is entered

  • It creates the virtual environment in all project folders

Explanation