Virtual environments quiz

Descripción

These are the questions for Lesson A2
Dermot Keenan
Test por Dermot Keenan, actualizado hace más de 1 año
Dermot Keenan
Creado por Dermot Keenan hace más de 8 años
261
0

Resumen del Recurso

Pregunta 1

Pregunta
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.
Respuesta
  • affecting
  • effecting
  • changing
  • deleting

Pregunta 2

Pregunta
The Python virtual environment gives the advantage that there are multiple copies of Python available for several projects.
Respuesta
  • True
  • False

Pregunta 3

Pregunta
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]).
Respuesta
  • virtualenv
  • on your project folder
  • activate your virtual environment
  • delete your virtual environment
  • pip install

Pregunta 4

Pregunta
What does the command <virtualenv venv> do?
Respuesta
  • 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
Mostrar resumen completo Ocultar resumen completo