Difference between revisions of "CSC111 Mid-Semester Review 2018"
(Created page with "~~~~ ---- =Range= * Is range a function? * How many parameters does it take? * What are they? * Can range crash if we give it incompatible parameters? * Can its parameters b...") |
|||
Line 1: | Line 1: | ||
[[User:Thiebaut|D. Thiebaut]] ([[User talk:Thiebaut|talk]]) 19:17, 4 March 2018 (EST) | [[User:Thiebaut|D. Thiebaut]] ([[User talk:Thiebaut|talk]]) 19:17, 4 March 2018 (EST) | ||
---- | ---- | ||
+ | |||
+ | =Preparation= | ||
+ | |||
+ | * We'll use a clicker (The Answer-Pad) during this review. Go to [http://app.theanswerpad.com/student#interactive http://app.theanswerpad.com/student] to answer various questions. | ||
=Range= | =Range= |
Revision as of 19:39, 4 March 2018
D. Thiebaut (talk) 19:17, 4 March 2018 (EST)
Preparation
- We'll use a clicker (The Answer-Pad) during this review. Go to http://app.theanswerpad.com/student to answer various questions.
Range
- Is range a function?
- How many parameters does it take?
- What are they?
- Can range crash if we give it incompatible parameters?
- Can its parameters be variables? i.e. range( a, b, c)?
- When is range useful?
Lists
- How are lists defined?
- What different symbols are used to define lists?
- Can we mix the symbols to open and close the list?
- Can lists be empty? If so, give examples of empty lists.
- Can list elements be of different types? Can a list element be another list?