+ All Categories
Home > Documents > Do it now activity Last term we learnt about how data is represented in a computer and about how to...

Do it now activity Last term we learnt about how data is represented in a computer and about how to...

Date post: 01-Jan-2016
Category:
Upload: melina-randall
View: 214 times
Download: 0 times
Share this document with a friend
Popular Tags:
22
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?
Transcript

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?

Introduce Python and the print function

AIM

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

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

LEARNING OBJECTIVES

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 ....

KEYWORDS

LEARNINGOBJECTIVES

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

PythonScripting language

visual programminglanguage

syntaxIdle

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

KEYWORDS

New Learning

LEARNINGOBJECTIVES

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

PythonScripting language

visual programminglanguage

syntaxIdle

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

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

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

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

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

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

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 /

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

KEYWORDS

LEARNINGOBJECTIVES

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

PythonScripting language

visual programminglanguage

syntaxIdle

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

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

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

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

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

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 ....


Recommended