Virtual environments quiz

Description

These are the questions for Lesson A2
Dermot Keenan
Quiz by Dermot Keenan, updated more than 1 year ago
Dermot Keenan
Created by Dermot Keenan over 6 years ago
235
0

Resource summary

Question 1

Question
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.
Answer
  • affecting
  • effecting
  • changing
  • deleting

Question 2

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

Question 3

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

Question 4

Question
What does the command <virtualenv venv> do?
Answer
  • 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
Show full summary Hide full summary

Similar

2014 GCSE History Exam Paper Setup
James McConnell
AS Unit 2 Physics Flashcard Deck
Callum McClintock
Biology Unit 2 - DNA, meiosis, mitosis, cell cycle
DauntlessAlpha
Key Shakespeare Facts
Andrea Leyden
B6 - Brain and Mind OCR
franimal
GCSE Biology Quiz
Andrea Leyden
AS Biology Unit 1
lilli.atkin
Topic 1 Quiz - Elements & The Periodic Table
Musicdudejoe
FV modules 1-4 infinitives- ENTER SPANISH
Pamela Dentler
2PR101 1.test - 4. část
Nikola Truong
Topic
TEL Bath