Quiz
Virtual environments quiz
This quiz has question types that open in the usual player.
Questions in this quiz (4)
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.- Aaffecting
- Beffecting
- Cchanging
- Ddeleting
2The Python virtual environment gives the advantage that there are multiple copies of Python available for several projects.
- ATrue
- BFalse
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]).
- Avirtualenv
- Bon your project folder
- Cactivate your virtual environment
- Ddelete your virtual environment
- Epip install
4What does the command <virtualenv venv> do?
- AIt installs the virtual environment
- BIt activates the venv of the virtual environment
- CIt creates the virtual environment in the folder where it is entered
- DIt creates the virtual environment in all project folders
Information
- Description
- These are the questions for Lesson A2
- Author
- Dermot Keenan
- Language
- English
- Views
- 262
- Rating
- No ratings yet Rate this quiz