Font size
WorksheetsFinTech 02-1 Python
Total questions: 11
Worksheet time: 9mins
Which are some objectives for Unit 02-1?
Pseudocode a task with Python comments
Use loops in Python
Import modules in Python
Control program flow with conditional logic
Open a project in JupyterLab
Which Anaconda command activates your dev environment?
dev
conda dev
activate dev
conda activate dev
conda activate env dev
Which Anaconda command opens JupyterLab?
conda jupyter
activate jupyter
jupyter notebook
jupyter lab
Which of the following are Python data types?
Number (integer, float, etc.)
List
Array
String (aka object)
Dictionary
Which is the Pythonic way to name a variable (aka Python naming convention)?
MyVariable
myVariable
my-variable
my_variable
"my varible"
Assign the numeric value 1000 to the variable profit:
(a)
Which symbols are used in conditional logic?
<
>=
=
==
=<
Which is NOT a loop type used in Python?
while
run
for
Which are Python keywords used in an if/then statement?
if (condition):
else:
for (condition):
elif (condition):
else if (condition):
How was Unit 02-1 for you?
Any suggestions for improvement?
