WorksheetsBack To Basics: Python Lesson 1 - 3 Review
Total questions: 10
Worksheet time: 5mins
What data type is this?
28.7
Integer
Float
String
Variable
What does Syntax Error mean?
You are performing an operation on two data types that cannot be performed
You are missing a punctuation in the code
You forgot to declare a variable
What is the output of this program?
bob
pete
My name is bob
My name is pete
What is this sign call?
=
equals to
assignment operator
operation
What do you think is the output of this program?
5
6
7
What does the str() function do?
Converts data to string
Converts data to integer
Converts data to float
Select all the statements that are true
The code editor allows you to save your code
The console allows you to save your code
The code editor does not allow you to save your code
The console does not allow you to save your code
True or False. Binary Code is how all computers use to count?
True
False
ASCII stands for
American Standard Code Information Insistence
American Standard Code for Information Interchange
American Standardised Codex Internal Inroads
To get an input from the user, what function do you use?
print()
type()
input()
