Virtual environments quiz

Descrição

These are the questions for Lesson A2
Dermot Keenan
Quiz por Dermot Keenan, atualizado more than 1 year ago
Dermot Keenan
Criado por Dermot Keenan mais de 8 anos atrás
261
0

Resumo de Recurso

Questão 1

Questão
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 [blank_start]affecting[blank_end] other projects.
Responda
  • affecting
  • effecting
  • changing
  • deleting

Questão 2

Questão
The Python virtual environment gives the advantage that there are multiple copies of Python available for several projects.
Responda
  • True
  • False

Questão 3

Questão
To create a virtual environment, what do you install ([blank_start]virtualenv[blank_end]), where ([blank_start]on your project folder[blank_end]) and then what do you do ([blank_start]activate your virtual environment[blank_end]).
Responda
  • virtualenv
  • on your project folder
  • activate your virtual environment
  • delete your virtual environment
  • pip install

Questão 4

Questão
What does the command <virtualenv venv> do?
Responda
  • 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