Y8 Flashcards
(22 cards)
Name five types of computers
iPad, mobile phone, desktop, raspberry pie, laptop
Name five programming languages
Python, Java, swift, C, scratch 
Characteristics of a good programmer
-Adopts a hand and approach
Enjoy problem-solving and change of working out solution.
Test the code frequently
What is programming?
The composition of sequences of instructions that the computer follows to complete tasks
Why is programming important?
All programming languages share the same logic when it comes to solving problems and creating applications
Why is learning coding important?
Help us get better at problem-solving.
Digital devices have a big impact in our lives.
It teaches you skills that you can apply to everything
Can you identify what a sequence is?
Yeah
Example of a variable
Username or
GameScore =0
If alienkilled:
GameScore =+1
Example of an event
When run
Example of iteration
Repeat three times do
Place planks
Move forward
Another name for selection
If else statement
Another name for iteration
Loops
What is a variable in programming?
A variable is a named memory location that we used to store a value that may change as we run a program
Write python so it outputs hello world
print (‘hello world’) or
print (‘’hello world’’)
How do we tell python to convert the input into a number?
Int e.g
Firstnumber=int(input(‘enter first number’))
What do you use if you’re comparing two things?
==(only one if assigning a value)
What does + mean?
Add
What does -mean?
Subtract
What does / mean?
Divide
What does * mean?
Multiplication
What does ** mean?
To the power of
How do you add more options to your if else statements in python?
Make an elif