1. Introduction to Python
1.4 Chapter 1 test
Highlights & notes
Select lesson text to highlight it, or tap Add note.
Bookmarks
Bookmark a lesson to see it here.
Nine questions on this chapter: three Easy, three Medium and three Hard. Answer each one, then read the explanation.
Question 1 · Easy
Which file ending does a Python script use?
Question 2 · Easy
What does print() do?
Question 3 · Easy
In ETL, which step saves clean data to a database?
Question 4 · Medium
What does print(int("7") * 2) show?
Question 5 · Medium
Which command creates a virtual environment named .venv on Mac?
Question 6 · Medium
x = 3, then x = 8. What does print(x) show?
Question 7 · Hard
What does print("5" + "5", 5 + 5) show?
Question 8 · Hard
Only total exists. Which error does print(totl) raise?
Question 9 · Hard
What does print("12" + 3) do?
Key takeaways
Score 7 or more out of 9 before moving on. If you missed a question, reread its lesson and try again.
Save your progress
Start free and your progress, code and notes stay saved. Free for 1 month, no card needed.
Start free Log in