# Codecademy: Computer Programming / Coding          (Lesson 4)

Get Started. It's Free
Codecademy: Computer Programming / Coding          (Lesson 4)

## 1. Lesson Plan

### 1.2. Body: Compare base-10 number system with binary numbers. Have 4 students line up out the front and represent both systems. Using beanbags, have students ‘trade’ when the number changes from units to tens (i.e. after 9 for base-10; after 1 for binary). Have another student write down what the numbers would be.

1.2.1. Discuss the differences and why binary is used in computing. Explain binary numbers represent the on (1) and off (0) electrical states in programs.

1.2.1.1. Students to continue with coding program. Unit 3 (Object-Oriented Java) and 4 (Data Structures) Remind students to records steps, commands and terms in their Coding Journals.

### 1.3. Conclusion: Student to write a simple binary code on the board (if they are unable to, remind them what it looks like i.e. 101011).

1.3.1. Have another student attempt to write the number using Base-10. Discuss. Write in the place values to assist if necessary. Repeat a number of times.

1.3.1.1. Reiterate learning and check for understanding through questioning.

## 2. Learning Area

### 2.1. Technologies

2.1.1. Subject: Digital Technologies

2.1.1.1. Knowledge and understanding

2.1.1.1.1. Digital Systems

2.1.1.1.2. Representations of Data

2.1.1.2. Processes and production skills

2.1.1.2.1. Digital Implementation

## 4. Year 6

### 4.1. Prior Knowledge:

4.1.1. Basic Java commands and vocabulary

4.1.2. Read and write a simple Java program.

4.1.3. 'Drag and drop’ programs (Scratch and code.org).

4.1.4. Input commands to cause a change

## 5. Resources / Materials

### 5.7. Students’ Coding Journals

5.7.1. To record codes, notes and commands so students can use their learning for future projects

## 6. Cross Curricular Links

### 6.1. STEM

6.1.1. Mathematics

6.1.1.1. number systems

6.1.1.2. conversions

### 6.2. English

6.2.1. vocabulary

## 10. Differentiation

### 10.2. Extension for quick finishers: After completing Java Units 1-4, students will move to ‘JavaScript’. When this is completed they may move on to ‘Make a Website’

10.2.1. JavaScript

10.2.2. Make a Website