COMPUTATIONAL THINKING NAME LEVELS W 1 Understand the

  • Slides: 34
Download presentation
COMPUTATIONAL THINKING NAME:

COMPUTATIONAL THINKING NAME:

LEVELS W 1 Understand the difference between data and information. 1 Represent a set

LEVELS W 1 Understand the difference between data and information. 1 Represent a set of instructions as an algorithm. 2 Explain how computers use binary to representation data. 3 Be able to complete 8 bit binary addition. Be able to interpret an 8 bit binary representation. Be able to identify simple pattern recognition. 4 Be able to convert binary to hexadecimal. Be able to identify AND, NOT, OR logic gates. 5 Be able to independently abstract a program. Be able to create truth tables based on AND, OR, NOT and NOR and NAND gates

 • What is the difference between data and information? • Data • Information

• What is the difference between data and information? • Data • Information

Which beaver is not dressed like the dress code? why

Which beaver is not dressed like the dress code? why

 • Describe in your own words what an algorithm is

• Describe in your own words what an algorithm is

 • Steps to create beans on toast…

• Steps to create beans on toast…

MY FLOW CHART • I am doing task number…. Start/ Stop Process Input/ output

MY FLOW CHART • I am doing task number…. Start/ Stop Process Input/ output Decision

 • My score on the quiz was…

• My score on the quiz was…

PATTERNS

PATTERNS

1854 BROAD STREET CHOLERA OUTBREAK • How was it spread? • How did he

1854 BROAD STREET CHOLERA OUTBREAK • How was it spread? • How did he find this out?

PATTERN • On the following slide write a sequence of instructions to ask a

PATTERN • On the following slide write a sequence of instructions to ask a user for a season: • Spring, summer, autumn, winter. • Then it will put the appropriate costume on a character

Change the font to white for a hint: Ask the user for the season

Change the font to white for a hint: Ask the user for the season If season equal spring COSTUME Then put spring clothes on If…

EXPLAIN WHAT THIS CODE DO

EXPLAIN WHAT THIS CODE DO

SCREEN CLIP YOUR CODE HERE.

SCREEN CLIP YOUR CODE HERE.

 • My score on the quiz was…

• My score on the quiz was…

BINARY

BINARY

CONVERTING BINARY TO DECIMAL’ • Print screen of my completed grid.

CONVERTING BINARY TO DECIMAL’ • Print screen of my completed grid.

QUESTIONS • Complete the questions on Binary then screen shot them

QUESTIONS • Complete the questions on Binary then screen shot them

BINARY ADDITION

BINARY ADDITION

 • What’s the rule?

• What’s the rule?

BINARY WORKSHEET Place here how many you got correct

BINARY WORKSHEET Place here how many you got correct

 • Screen shot your overall score for this section • http: //www. cimt.

• Screen shot your overall score for this section • http: //www. cimt. plymouth. ac. uk/projects/mepres/book 9/bk 9 i 1/b k 9_1 i 2. html

HEX

HEX

Den Hex Binary Hexadecimal 0 0 1 1 2 2 3 3 4 4

Den Hex Binary Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0 1 2 3 4 5 6 7 8 9 A B C D E F Den Hex 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

CONVERT THE FOLLOWING BINARY CODE TO HEXADECIMAL Binary Hexadecimal 0001 1 1111 F 1011

CONVERT THE FOLLOWING BINARY CODE TO HEXADECIMAL Binary Hexadecimal 0001 1 1111 F 1011 B 0011 3 1110 E 0111 7 1001 9

 • Convert the following into binary, denary & hex: Binary Denary Hex 5

• Convert the following into binary, denary & hex: Binary Denary Hex 5 A 8 F 0101 1000 39 0111 0100

HEXADECIMAL NUMBERS • Complete the hexadecimal number conversion sheet, • Print screen your score

HEXADECIMAL NUMBERS • Complete the hexadecimal number conversion sheet, • Print screen your score

 Convert 2 digit hex numbers into denary, and vice versa Den Hex 45

Convert 2 digit hex numbers into denary, and vice versa Den Hex 45 32 16 78 54 108 26 18 255 201 36 18 20 76 126 8 A A 3 B 2 BB 3 B 1 F 9 F D 1 AA 0 B 03 8 A 45 FF 2 C

LOGIC GATES

LOGIC GATES

NOT • There are three main logic gates. • NOT: • If 0 is

NOT • There are three main logic gates. • NOT: • If 0 is input then it outputs 1; • If 1 is input then it outputs 0. Input Output INPUT OUTPUT

AND • The AND gate outputs 1 only if both inputs are 1. Input

AND • The AND gate outputs 1 only if both inputs are 1. Input A Input B Output INPUT A OUTPUT INPUT B

OR • The OR gate outputs 1 if either of the inputs is 1.

OR • The OR gate outputs 1 if either of the inputs is 1. Input A Input B Output INPUT A OUTPUT INPUT B

 • http: //logic. ly/demo • Make sure that you label each diagram correctly

• http: //logic. ly/demo • Make sure that you label each diagram correctly with the different inputs and outputs completing the true tables for each diagram.

Logic Circuits • We can now complete the output by looking at input C.

Logic Circuits • We can now complete the output by looking at input C. As this is an NOT gate, the output is the opposite of the input INPUT A C INPUT B INPUT A INPUT B 1 1 1 0 0 1 1 1 INPUT C Q OUTPUT Q