Top Banner
KEYWORDS Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in a nibble? What does 8 bits equal? How many bytes in a kilobyte? How many bytes in a megabyte? What happens if a computer runs out of RAM?
22

Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

Jan 01, 2016

Download

Documents

Melina Randall
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

Do it now activityLast term we learnt about how data is represented in a computer and about how to identify different volumes of data.

How many bits in a nibble?What does 8 bits equal?How many bytes in a kilobyte?How many bytes in a megabyte?What happens if a computer runs out of RAM?

Page 2: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

Introduce Python and the print function

AIM

Page 3: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

1. Navigate Idle (create, save, run programs)

2. Understand and use:1. Mathematical operations2. ‘print’ function

LEARNING OBJECTIVES

Page 4: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

LEARNING OUTCOMES

ALL(Level 5)

Understand that programming bridges the gap between algorithmic solutions and computers.

Demonstrate practical experience of a high-level textual language

MOST(Level 6)

Detect and correct syntactical errorsExplain and use functions appropriately

SOME(Level 7)

Apply a modular approach to error detection andcorrection

By the end of this lesson you will be able to ....

Page 5: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle

Page 6: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

Copy Keyword

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle

Algorithm: A process or set of rules to be followed in calculations or other problem-solving operations often by a computer.

Copy Keyword

Page 7: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

New Learning

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle

Page 8: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

Copy Keyword

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle

Python: A programming language developed in 1989 which is ideal for beginners to learn as the syntax for many commands are close to the English language that describes their function e.g. print (“”)

Copy Keyword

Page 9: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

Copy Keyword

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle

Scripting language: A programming language that requires users to learn the syntax of the language and write lines of code

Copy Keyword

Page 10: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

Copy Keyword

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle

Syntax: The set of rules, structure and commands that make up a programming language.

Copy Keyword

Page 11: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

Copy Keyword

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle

Visual programming language: A coding language that uses a graphical method of constructing algorithms such as Scratch.

Copy Keyword

Page 12: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle

1. What is an algorithm?2. What programming language will we learn

this term?3. What is the difference between a scripting

and a visual programming language?

Talk task

Page 13: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle

Go to START > All Programs > Computing >Python > IDLE

Learning development

Page 14: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle

Learning developmentMathematical operation

Python code

Addition +Subtraction _Multiplication *Division /

Page 15: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle

300+400987-65312*930/6

Learning development

Page 16: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle

Page 17: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

Copy Keyword

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

SyntaxIdle function

Idle: A environment for programming Python.

Copy Keyword

Page 18: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

syntaxIdle function

1. print(“Hello world!”)

NOTE: the number is included to help you see how many lines of code you need to write, do not include it in your code!

Learning development

COPY SYNTAX

Page 19: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

Copy Keyword

LEARNINGOBJECTIVES

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

SyntaxIdle function

Function: A function is a block of organised, reusable code that is used to perform a single, related action, which normally returns a value.

Copy Keyword

Page 20: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

LEARNINGOBJECTIVES

Coding Challenge: Can pupils write a program which displays more lengthily text on different lines? For example:Hello, how are you today?I hope you are enjoying learning Python.What shall we code next?

Independent task

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

SyntaxIdle function

Page 21: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

KEYWORDS

Plenary

LEARNINGOBJECTIVES

Three stars and a wish.

Navigate Idle (create, save, run programs)Understand and use: Mathematical operations, ‘print’ function

PythonScripting language

visual programminglanguage

SyntaxIdle function

Page 22: Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.

LEARNING OUTCOMES

ALL(Level 5)

Understand that programming bridges the gap between algorithmic solutions and computers.

Demonstrate practical experience of a high-level textual language

MOST(Level 6)

Detect and correct syntactical errorsExplain and use functions appropriately

SOME(Level 7)

Apply a modular approach to error detection andcorrection

By the end of this lesson you will be able to ....