WorksheetsPython
Total questions: 10
Worksheet time: 5mins
In computer Science what is Python?
A programming language
A word document
A name of an animal
A name of a vehicle
What is the purpose of a string?
To store assignments
To store images
to store human-readable text, like words and sentences.
To store variables
What is a syntax error?
A syntax error occurs when you are saving a document?
A syntax error occurs when a programmer enters the code correctly
A syntax error occurs when a programmer writes an incorrect line of code.
What is a variable?
A name of a file
A location in memory to store data
A folder to store data
What is the purpose of the print function?
The print function allows you to delete text
The print function displays messages on the screen.
The print function allows you to save a document
The print function displays images on the screen
What is the name of the variable in this example: name=input("what is your name")
Name
input
name
What is your name
19.5 is an example of which data type?
Integer
String
Float
Boolean
'I love Computer Science' is an example of which data type?
Bolean
Number
Integer
String
786 is an example of which data type?
Integer
Boolean
Float
String
'Paris is the capital of France' True or Fales? This is an example of which data type?
Integer
String
Float
Boolean
