GoConqr has a new look! Let us know what you think.

Quiz

Virtual environments quiz

Dermot Keenan 4 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (4)

  1. 1Please 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.
    1. Aaffecting
    2. Beffecting
    3. Cchanging
    4. Ddeleting
  2. 2The Python virtual environment gives the advantage that there are multiple copies of Python available for several projects.
    1. ATrue
    2. BFalse
  3. 3To 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]).
    1. Avirtualenv
    2. Bon your project folder
    3. Cactivate your virtual environment
    4. Ddelete your virtual environment
    5. Epip install
  4. 4What does the command <virtualenv venv> do?
    1. AIt installs the virtual environment
    2. BIt activates the venv of the virtual environment
    3. CIt creates the virtual environment in the folder where it is entered
    4. DIt creates the virtual environment in all project folders

Information

Description
These are the questions for Lesson A2
Language
English
Views
262
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?