
c3 2-4 Casting Variables - GCSE Quiz
Authored by Clare Ross
others
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All data entered by a user in a Python console window is what data type?
Integer
String
Float
Boolean
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
The process of changing one data type to another is called what?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, what function do you need to use to cast to a floating-point number?
real()
float()
int()
str()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code written in Python:
62
56
556
A TypeCast error will prevent it running.
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Look at the following code written in Python:
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code written in Python:
23
67
167
A TypeCast error will prevent it running.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code written in Python:
27
18
918
A TypeCast error will prevent it running.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?