10 questions
What is a programming language?
Written English
An artificial language used to program a computer
A language used in pseudocode
Machine code
What is a program?
A series of a step-by-step instructions that tell a computer how to solve a task
A video that is watched on a computer
A flowchart written on a computer
The make and model of a computer
What does the print command do?
Outputs a hard copy of a program to a printer
Outputs a message on screen
Print a hard copy of a flow chart to a printer
Prints out the the commands line by line on the screen
How do we get user input from the keyboard?
input = (What is your name?)
input = What is your name?
output = ("What is your name?")
input("What is your name? ")
Which data type is the most suited to store a telephone number in a variable?
string
integer
float
boolean
Which data type would you use for the quantity of stock in a shop?
integer
float
string
boolean
If you want to change the data type to an integer which line of code would you use?
int ("How much pocket money do you have?")
input("How much pocket money do you have?")
int(input("How much pocket money do you have?"))
int = ("How much pocket money do you have?")
What is an instruction?
A box in a flowchart
A calculation performed in a programming language
One or more statements grouped together to instruct the computer to perform a task
A separate file that has information on how to install the program
What is a statement?
A calculation performed in a programming language
A box in a flow chart
A keyword in a programming language
A printout of the program
How many statements are in this line of code?
print("If I do well in computing, I will find most subjects easy")
2 - print and if
0 - there are no statements
1 - print