Codecademy: Computer Programming / Coding          (Lesson 4)

Get Started. It's Free
or sign up with your email address
Codecademy: Computer Programming / Coding          (Lesson 4) by Mind Map: Codecademy: Computer Programming / Coding          (Lesson 4)

1. Lesson Plan

1.1. Introduction: Computer lab. Open website. Introduce the term ‘binary’. Discuss what students think it means and how it is linked to coding. Play video.

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

3. focus questions

3.1. What do we call our number system? Who has heard of binary numbers? What are they? How does it link to coding?

3.2. How do we write a binary number? What place (value) is that? How do we write that? What number will it be using base-10?

3.3. How does the binary system differ from our number system? How is it similar? Why is binary used in computer programming? How is it related to what we have been doing?

3.4. What are conditionals? What are the types? What are they used for? What is an If statement? An If-Else statement?

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.1. Computers and Website

5.1.1. https://www.codecademy.com/learn

5.2. Interactive Whiteboard

5.3. Video

5.3.1. https://www.khanacademy.org/math/algebra-home/alg-intro-to-algebra/algebra-alternate-number-bases/v/number-systems-introduction

5.4. Whiteboard and markers

5.5. Teacher computer attached to screen (IWB)

5.6. Mini Beanbags

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

7. Cross-Curricular Priorities

7.1. Literacy

7.2. Numeracy

7.3. Information and communication technology (ICT) capability

7.4. Critical and creative thinking

7.5. Ethical understanding

8. Assessment

8.1. Students’ ability to complete coding and apply learning within the program.

8.2. Observe students’ coding activities: record misconceptions or difficulties. Record quiz results; note common errors and misconceptions to reteach as necessary.

8.3. Summative Assessment: Week 10- complete online coding activity- 'Code Your Own Adventure!'

9. Learning Goals

9.1. Follow commands in a simple program; Input simple commands into a computer program to cause a change

9.2. Keep records of commands and outcomes

9.3. Name and describe how numbers are used in coding; Explain the differences between Base-10 and Binary number systems.

10. Differentiation

10.1. Additional support for students who are not keeping pace with the remainder of the class; work through each lesson with a group of students as required, or demonstrate a number of lessons before having them try again independently.

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