ICT Flashcards
(32 cards)
What is a bug
A bug is something that has gone wrong - an error
In syntax what colour does the error come up as
Red
What does a hashtag mean
A comment that tells someone what the code does
What is a variable
A variable is something you can use and assign a value to
What colour does the text come up as
Green
What is a bug
A bug is is when something is wrong with the program you are using so it stops working
What is an intergers
Something that holds whole numbers
What is a string
Something that holds both letters and numbers
What is a float
Float is numbers with decimal points
What can a variable only contain
Letters , numbers and underscores
Can a variable start with a number
No
Can you use reserved words for a variable
No
What does if give you
Two options
What is a selection in a computer program
It is where the computer gets a choice
What is a loop
It is something that keeps on going till the critiria has been met
What is a while loop
It carry on till you. Have met the criteria
What is a for loop
Something that goes on for a specific number of times
What does a loop do
It teapots things over and over again
What is an algorithm
It is a set of instructions to perform a specific task
What is decomposition
It is when you break down the task into smaller chunks
What is a psuedocode
It is half code and half English
What is an operating system
It runs the computer
List three operating systems
Windows , android ( mobile ) , iOS ( mobile )
What is the difference between a mac and a pc
They run different operating systems