Quiz 1
Study guide for Quiz 1.
Format and Rules
- The quiz is in class, Thursday, September 11.
- A mix of multiple choice, fill-in-the-blank, and long answer questions.
- You will not be programming in PyCharm, but you will be asked to edit or analyze code by hand.
- You may bring 1 side of 1 sheet of letter paper with your own hand-written notes. No other resources are permitted.
- An Honor Code violation on the any quiz or exam result in a course grade of F.
- Failure to submit a quiz or exam results in a course grade of F.
Content
- Key terms from slides and labs. Look for boldfaced, underlined terms in slides and emphasized terms in labs.
- Knowledge Checks from labs.
- Programming Practice syntax and concepts: hand-written code (without IDE) syntax and explaining/analyzing such code.
Topics
- Describing Operating Systems concepts (week 2).
- CLI commands (week 2)
- Describing the phases of the Software Lifecycle (week 3).
- Debugging concepts and basic debugger controls (week 3).
- Syntax and usage of programming structures from the Week 2 Programming Practice:
- variable declaration and assignment.
- print statements.
- selection using if-else statements, logical operators (
not,or,and), and comparison operators (<,<=,>=,>,==,!=). - using a
for-loop to iteratentimes. - using a
for-loop to iterate over all the elements in alist. - accessing the elements of a list by index.
- defining a function with 0 or more parameters.
- calling a function and using its
returnresult.