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 ID: 330551
Download Presentation The PPT/PDF document "Do it now activity" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
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?Slide2
Introduce Python and the print function
AIMSlide3
Navigate Idle
(create, save,
run programs)Understand and use:Mathematical operations‘print’ function
Learning
objectivesSlide4
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 ....Slide5
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage syntaxIdleSlide6
Copy Keyword
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage syntaxIdleAlgorithm: A process or set of rules to be followed in calculations or other problem-solving operations often by a computer.Copy KeywordSlide7
New Learning
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programming
language
syntax
IdleSlide8
Copy Keyword
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage syntaxIdlePython: 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 KeywordSlide9
Copy Keyword
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage syntaxIdleScripting language: A programming language that requires users to learn the syntax of the language and write lines of codeCopy KeywordSlide10
Copy Keyword
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage syntaxIdleSyntax: The set of rules, structure and commands that make up a programming language.Copy KeywordSlide11
Copy Keyword
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage syntaxIdleVisual programming language: A coding language that uses a graphical method of constructing algorithms such as Scratch.Copy KeywordSlide12
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage syntaxIdleWhat is an algorithm?What programming language will we learn this term?What is the difference between a scripting and a visual programming language? Talk taskSlide13
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage syntaxIdleGo to START > All Programs > Computing >Python > IDLELearning developmentSlide14
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage syntaxIdleLearning developmentMathematical operation
Python code
Addition
+
Subtraction
_
Multiplication
*
Division
/Slide15
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage syntaxIdle300+400987-65312*930/6Learning developmentSlide16
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage syntaxIdleSlide17
Copy Keyword
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage SyntaxIdle functionIdle: A environment for programming Python.
Copy KeywordSlide18
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage syntaxIdle functionprint(“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 SYNTAXSlide19
Copy Keyword
Learning
objectives
Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage SyntaxIdle functionFunction: A function is a block of organised, reusable code that is used to perform a single, related action, which normally returns a value.
Copy KeywordSlide20
Learning
objectives
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’ functionPythonScripting language visual programminglanguage SyntaxIdle
functionSlide21
Plenary
Learning
objectivesThree stars and
a wish.Navigate Idle (create, save, run programs)
Understand and
use: Mathematical operations, ‘
print’ function
Python
Scripting
language
visual programminglanguage SyntaxIdle functionSlide22
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 ....