wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

FinTech 02-1 Python

Total questions: 11

Worksheet time: 9mins

Name
Class
Date
1.

Which are some objectives for Unit 02-1?

a)

Pseudocode a task with Python comments

b)

Use loops in Python

c)

Import modules in Python

d)

Control program flow with conditional logic

e)

Open a project in JupyterLab

2.

Which Anaconda command activates your dev environment?

a)

dev

b)

conda dev

c)

activate dev

d)

conda activate dev

e)

conda activate env dev

3.

Which Anaconda command opens JupyterLab?

a)

conda jupyter

b)

activate jupyter

c)

jupyter notebook

d)

jupyter lab

4.

Which of the following are Python data types?

a)

Number (integer, float, etc.)

b)

List

c)

Array

d)

String (aka object)

e)

Dictionary

5.

Which is the Pythonic way to name a variable (aka Python naming convention)?

a)

MyVariable

b)

myVariable

c)

my-variable

d)

my_variable

e)

"my varible"

6.

Assign the numeric value 1000 to the variable profit:

(a)  

7.

Which symbols are used in conditional logic?

a)

<

b)

>=

c)

=

d)

==

e)

=<

8.

Which is NOT a loop type used in Python?

a)

while

b)

run

c)

for

9.

Which are Python keywords used in an if/then statement?

a)

if (condition):

b)

else:

c)

for (condition):

d)

elif (condition):

e)

else if (condition):

10.

How was Unit 02-1 for you?

4 lines
11.

Any suggestions for improvement?

4 lines