Download presentation
Presentation is loading. Please wait.
Published byMelina Randall Modified over 9 years ago
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 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?
2
Introduce Python and the print function
3
1.Navigate Idle (create, save, run programs) 1.Understand and use: 1.Mathematical operations 2.‘print’ function
4
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 errors Explain and use functions appropriately SOME (Level 7) Apply a modular approach to error detection and correction By the end of this lesson you will be able to....
5
Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle
6
Copy Keyword Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Algorithm: A process or set of rules to be followed in calculations or other problem- solving operations often by a computer. Copy Keyword
7
New Learning Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle
8
Copy Keyword Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle 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
9
Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Scripting language: A programming language that requires users to learn the syntax of the language and write lines of code Copy Keyword
10
Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Syntax: The set of rules, structure and commands that make up a programming language. Copy Keyword
11
Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Visual programming language: A coding language that uses a graphical method of constructing algorithms such as Scratch. Copy Keyword
12
Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle 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
13
Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Go to START > All Programs > Computing > Python > IDLE Learning development
14
Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Learning development Mathematical operation Python code Addition+ Subtraction_ Multiplication* Division/
15
Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle 300+400 987-653 12*9 30/6 Learning development
16
Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle
17
Copy Keyword Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language Syntax Idle function Idle: A environment for programming Python. Copy Keyword
18
Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle 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
19
Copy Keyword Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language Syntax Idle 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
20
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 Python Scripting language visual programming language Syntax Idle function
21
Plenary Three stars and a wish. Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language Syntax Idle function
22
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 errors Explain and use functions appropriately SOME (Level 7) Apply a modular approach to error detection and correction By the end of this lesson you will be able to....
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.