# 1.2 - Logic with Bits

How can a machine make decisions?

When are the following statements true and when are they false?

• It is raining and it is night time.

• It is snowing or it is December.

Take the second statement above - "It is snowing or it is December". Is that statement true if it's December but not snowing? What about if it is December and also snowing?

Review

• Typing Club will improve your speed and accuracy!

• Everyone should be complete Unit 0 Lessons 0.1, 0.2, and 0.3.

• From last class:

• Binary is made of 1's and 0's that represent electricity being on (1) or off (0).

• Computers use electricity and, therefore, can only work with binary.

• We use bits (and "bytes") to represent any kind of data: numbers, letters, media, encrypted messages, etc...

News:

• Please ignore the Hapara Workspace "Emergency Lesson Plans - Mr. Brash ICS2O"

• Programming competitions

Today's Lesson: 1.2 - Logic with Bits

I have to admit, I wish I had called this lesson "Bits of Logic". Get it?

• Utilize the logic.ly demo to complete the assignment posted in Hapara Workspace

• Important: logic.ly does not save your work as you go!

• Be mindful of the due date - you will have time in class tomorrow to continue working.

• When you are finished and have submitted your assignment, you can attempt the bronze, silver, and gold challenges (also in Hapara)

• TONIGHT: Complete independent lesson 0.4

• Yes, I'm aware 0.3 was on logic gates and 0.4 is on binary. Repetition is a key factor in learning new topics.

Extra

There's been a new challenge posted (C.00 - "Inspector Gadget")