Concept-Quiz Duration: 10 min

Week No.
What you need to know
Where to find it
Remarks
2
  • What is a function?

  • How to define a function?

  • What are parameters?
Textbook: Chapter 4

Online book: Functions
Read the PDF textbook from page 39 to 48. Afterwards, watch the video from the online book, and go through until the section "Variables and Parameters are Locals" .
3
  • How to evaluate boolean and relational expressions?
  • How to set stopping condition for a while-loop?
  • What is a list?
  • How to determine the length of a list?
Textbook: Chapters 5, 7, and 11

Online book:
Selection
While Statement
List
Read the PDF textbook from page 53 to 60 (section 5.1 to 5.8) on Conditionals. Read also page 85 to 107 on Iteration (Chapter 7). Lastly, read page 145 to 149 on List (Chapter 11).

Afterwards, watch the video from the online book on Boolean Values and Boolean expressions, and go through that page until at least section Logical Operators. Then watch the video on the While Statement, and go through the online book on that page. Then go to the online book on List and go through until the section List Length.
4
  • What is a dictionary?
  • How to get the value of a dictionary?
  • How to change the value of a dictionary?
  • How to use for statement?
  • How to use range in for statement?
Textbook: Chapters 11 and 20

Online book:
For-loop from Python Turtle
List and for-loop
Dictionary
For-loop revisited
Read Chapter 11 from 150 to 159. Read Chapter 20 on Dictionary from page 267 to 273.

Watch Video on for-loop from Python Turtle chapter of the online book, and go through the online materials until the page "Iteration Simplifies our Turtle Program". Watch video on the range function on the next page, and go through the online material on that page. Go through the List and for-loops, Dictionary, and For-loop revisited from the interactive book.
5
  • What is a Python module?
  • How to use Python module?
  • How does the program execution flow when there is a function call?
  • What is the scope of variables in a function?
Textbook:
Chapter 12 and 6

Online book:
Python Modules
Functions until Composition
Read Chapter 12 page 20. Then watch Video from online material on Python Modules until the page "Random Module".

Read Chapter 6 from page 71 to 78. Then go through the online material from the page "Accumulator Pattern" until "Composition".
6
  • How to operate on strings?
  • How to get a substring from a string?
  • What are the properties of strings?
  • How to read and write text files?
Textbook:
Chapter 8 and 13

Online book:
Strings
Working with Data Files
Read Chapter 8 on Strings from page 113 to 126. Go through the online material on Strings until the page "Strings are Immutable".

Read Chapter 9 from page 81 to 82, and Chapter 13 on Files from page 179 to 182. Go through the online material on Working with Data Files until the page "Writing Text Files".
7
Break


8
  • What is an object?
  • What is a constructor?
  • What are some built-in methods of an object?
Textbook:
Chapter 15, 16

Online book:
Classes and objects - the basics
Read Chapter 15 from page 209 to 217, Chapter 16 from page 221 to 224.

Go through the online material on Classes and objects until the page "Instances as Return Values".
9
  • What is a state-machine?
  • What are the two functions of a state machine?
  • What is a state transition diagram?
Digital World Notes:
Chapter 4.1
Read section 4.1 of the Digital World Notes on State Machine from page 101 to page 120.
10
No Concept-Quiz


11
  • What are widgets?
  • What are callbacks?
  • What is an event loop?
  • What is a binding?
Textbook:
Chapter 10
Read Chapter 10 from page 137 to 142.