c3 2-4 Casting Variables - GCSE Quiz

c3 2-4 Casting Variables - GCSE Quiz

10 Qs

quiz-placeholder

Similar activities

Parcial 1-Laboratorio II-5to BACO-I Unidad Forma A

Parcial 1-Laboratorio II-5to BACO-I Unidad Forma A

KG - University

13 Qs

Role of programming language

Role of programming language

KG - University

12 Qs

6th Grade Unit 4 Lesson 01 Quiz

6th Grade Unit 4 Lesson 01 Quiz

KG - University

13 Qs

L1 Python Recall - Do Now

L1 Python Recall - Do Now

KG - University

8 Qs

Synergy quiz

Synergy quiz

KG - University

13 Qs

H3 Hammurabi's Code Reading Review

H3 Hammurabi's Code Reading Review

6th Grade

14 Qs

SINT: Quiz 2

SINT: Quiz 2

KG - University

8 Qs

c3 2-4 Casting Variables - GCSE Quiz

c3 2-4 Casting Variables - GCSE Quiz

Assessment

Quiz

others

Hard

Created by

Clare Ross

Used 1+ times

FREE Resource

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

Media Image
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

Media Image
Look at the following code written in Python:

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
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

Media Image
Look at the following code written in Python:
27
18
918
A TypeCast error will prevent it running.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?