teaching machines

CS 145: Lab 5 – Logical Expressions

Welcome to lab 5!

If you have checkpoints from the last lab to show your instructor or TA, do so immediately. No credit will be given if you have not already completed the work, nor will credit be given after the first 10 minutes of this lab.

In this lab, we’ll explore the logical operators &&, ||, and !, which help us ask more complicated questions of our data.

Checkpoint 1

Person A types.

Play through generation 3 of Trux Falsy, completing each litter with at least two stars—but aim for three. This game doesn’t work well in Internet Explorer. Please use a more modern browser.

Checkpoint 2

Person B types.

Head to Coding Bat and log in. Complete the follow exercises:

If you feel like you could use extra practice with the concepts we discuss in this class, keep working away at the problems on Coding Bat and Practice-It! Don’t wait for them to be assigned.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *