review for quiz 2 take out any notes you have! · review for quiz 2 take out any notes you have!...

43
Review for Quiz 2 Take out any notes you have!

Upload: others

Post on 03-Oct-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Review for Quiz 2

Take out any notes you have!

Page 2: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Quiz Topics

AbstractionBinaryBoolean LogicFunctionsCurrent eventsBlow to Bits

Page 3: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Review Game!

Divide into 4 teams (2 per table)

Page 4: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Each team will come up with an answer as a team and write it down.

Have someone raise their hand when your team has an answer.

Review Game!

Page 5: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Abstraction

Give a definition of Abstraction

Page 6: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Abstraction

How is Binary related to Abstraction?

Page 7: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Abstraction

Name the technique that lets us abstract details in

programming

Page 8: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Abstraction

Give an example of something in the real world

that’s an Abstraction.Explain why.

Page 9: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Binary

What is does base 10 and base 2 mean?

Page 10: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Binary

Convert this number to base 10

11101001

Page 11: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Binary

Convert this number to base 10

11101001 = 233

Page 12: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Binary

Convert these numbers to base 10

101111100110010

11101100

Page 13: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Binary

Convert these numbers to base 10

10111 = 231100110010 = 818

11101100 = 236

Page 14: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Binary

Convert this number to base 2

86

Page 15: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Binary

Convert this number to base 2

86 = 1010110

Page 16: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Binary

Convert these numbers to base 2

9361

234

Page 17: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Binary

Convert these numbers to base 2

93 = 101110161 = 111101

234 = 11101010

Page 18: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Binary

How is binary related to abstraction?

Page 19: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Evaluate this expression

(True and not False) or not (True or False)

Boolean Logic

Page 20: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Boolean Logic

Evaluate this expressionTrue

(True and not False) or not (True or False)

Page 21: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Boolean Logic

Evaluate this expression

(False and True) and not ((True or True) or (True and False))

Page 22: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Boolean Logic

Evaluate this expressionFalse

(False and True) and not ((True or True) or (True and False))

Page 23: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Boolean Logic

Evaluate this expression

Number of animals in bubbles > 3

Page 24: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Boolean Logic

(Snail is blowing a bubble) OR (Snail is inside a bubble)

Page 25: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Boolean Logic

(NOT (Starfish has shoes)) AND

(SpongeBob has shoes)

Page 26: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

What is a function?

Functions

Page 27: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Functions

Why do we use functions?

Page 28: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Functions

What are the three types of functions?

Page 29: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Functions

After using a reporter function, has anything in the

program changed?

Page 30: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Functions

After using a command function, has anything in the

program changed?

Page 31: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Functions

Where in our script do we most commonly use

predicate functions?

Page 32: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Command, Reporter, or Predicate?

Page 33: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Command, Reporter, or Predicate?

Page 34: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Command, Reporter, or Predicate?

Page 35: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Command, Reporter, or Predicate?

Page 36: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Command, Reporter, or Predicate?

Page 37: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Command, Reporter, or Predicate?

Page 38: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Command, Reporter, or Predicate?

Page 39: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Current events

Describe one study from the article “Why Are There Still So Few Women in Science” that suggests interest, ability and success in science is dependant

on culture.

Page 40: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

In a search engine, what is an Index?

Blown to Bits

Page 41: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

What does Google’s PageRank use to determine

how important a page is?

Blown to Bits

Page 42: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Resources to review on your own

Function types lessonBinary WorksheetBlown to Bits #2 and #3Latest Current Events Reading

Page 43: Review for Quiz 2 Take out any notes you have! · Review for Quiz 2 Take out any notes you have! Quiz Topics Abstraction Binary Boolean Logic Functions Current events Blow to Bits

Quiz tomorrow!