A quick self-check on the primer reading. Answer each question, then check your work — an explanation appears once you do.

Question 1

Which of the following is NOT one of the parts of each chapter in this book?

Select one answer, then check.

  • Correct. Introduction is the name of this chapter, not a part that repeats inside every chapter. The reading says each chapter is made of a primer and two parts.
  • Not quite. The reading says each chapter starts with a short primer, just like this one, so Primer is one of the recurring parts.
  • Not quite. The reading says this book has two parts per chapter, and this course numbers them Part A and Part B.
  • Not quite. The reading says this book has two parts per chapter, and this course numbers them Part A and Part B.

Question 2

Which of the following is NOT true about getting errors when programming?

Select one answer, then check.

  • Not quite. This is true: the reading says getting errors is a perfectly normal part of writing programs.
  • Not quite. This is true: the reading says writing programs is hard and it's easy to make mistakes, and an error message shows up when a program fails.
  • Not quite. This is true: the reading says Python will usually show an error message that helps us understand what went wrong.
  • Correct. The reading says getting errors is normal even once you become experienced, and tells you not to feel bad about yourself when your program doesn't work at first.

Question 3

Which of the following WILL be covered in this chapter?

Select one answer, then check.

  • Not quite. The reading's overview never mentions loops; For Loops is a later chapter's topic.
  • Correct. The "Messing with Data" section of the reading already talks about assigning results to variables to reuse them, and this chapter's Part B has a full reading on variables.
  • Not quite. The reading's overview never mentions functions; Calling Functions is a later chapter's topic.
  • Not quite. The reading's overview never mentions conditionals; If Statements is a later chapter's topic.