CS 145 Lab 5 – Logical Operators
Welcome to lab 5!
If you have checkpoints from the last 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.
You must work with a partner that you have not worked with before.
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. It doesn’t work the greatest in Internet Explorer. Please use a more modern browser. You’re the first class to play this, so let me know if you find any bugs.
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.