Page 210 - Ai Book - 10
P. 210
Python-related tasks.
a. True, and the Reason is the correct explanation.
b. True, but the Reason is not the correct explanation.
c. False, and the Reason is the correct explanation.
d. False, and the Reason is not the correct explanation.
2. Assertion: The primary purpose of a virtual environment in Python is to keep dependencies required by
different projects separate.
Reason: This ensures that each project has its isolated Python virtual environment.
a. True, and the Reason is the correct explanation.
b. True, but the Reason is not the correct explanation.
c. False, and the Reason is the correct explanation.
d. False, and the Reason is not the correct explanation.
3. Assertion: The print() function in Python is used to display messages or values on the screen.
Reason: It is a fundamental function for communicating information from the code to the user.
a. True, and the Reason is the correct explanation.
b. True, but the Reason is not the correct explanation.
c. False, and the Reason is the correct explanation.
d. False, and the Reason is not the correct explanation.
Answers
1. (a) 2. (a) 3. (a)
AI Assessment Zone
A. Tick () the correct answer.
1. How do you open anaconda navigator on windows?
a. Type start anaconda in the command line
b. Click on the anaconda icon on the desktop
c. Type anaconda-navigator in the anaconda prompt
d. Open it from the start menu
2. What is the file extension used in jupyter notebook?
a. .txt b. .py
c. .nb d. .html
3. Which Python version is recommended in the Anaconda installation process?
a. Python 2.7 b. Python 3.6
c. Python 3.11 d. Python 4.0
84
84