In this lab students explore conditionals in Python. Using boolean expressions and conditional logic, students are required to predict the outcome of multiple expressions and then use the Python interpreter to obtain the actual outcome for each statement. Through a series of activities students gradually build programs that demonstrate an understanding of how to use these fundamental constructs in CS. These series of activities are ideal for students looking for more experience with boolean operators and in creating small programs using conditional logic.
This is lab 3 of a introduction to computing course in Python. See sequencing in the syllabus and course schedule. Additional guidelines for student success on this assignment and throughout the course can be found in the syllabus.
By using a series of scenarios, such as writing a script to interpret grades for a faculty member at Whatsammata University, this material employs Meaningful and Relevant Content.
This lab provides Opportunities to Interact with Faculty through explicit checkpoints where students need to demonstrate progress to the instructor.