T-Level DPDD: Data Types Quiz

T-Level DPDD: Data Types Quiz

11th Grade

34 Qs

quiz-placeholder

Similar activities

Python Functions and Parameters Review

Python Functions and Parameters Review

9th - 12th Grade

29 Qs

Higher Software Design & Development

Higher Software Design & Development

10th - 12th Grade

35 Qs

November Review -AP CSP

November Review -AP CSP

9th - 11th Grade

30 Qs

Cse

Cse

9th - 12th Grade

33 Qs

Lesson 04 Number Wizard UI

Lesson 04 Number Wizard UI

9th - 12th Grade

30 Qs

Java Basics

Java Basics

11th - 12th Grade

35 Qs

Unit 5 AP CSP Code.org

Unit 5 AP CSP Code.org

9th - 12th Grade

33 Qs

GCSE Programming Fundamentals

GCSE Programming Fundamentals

11th Grade

31 Qs

T-Level DPDD: Data Types Quiz

T-Level DPDD: Data Types Quiz

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Sara Burton

Used 1+ times

FREE Resource

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a data type used in programming?

Boolean

Character

Integer

Attribute

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term used to describe a data type that cannot be changed once assigned in Python?

Mutable

Immutable

Constant

Variable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python code would you use to check the data type of a variable y that has been assigned the value 2.3?

print(type(y))

check(type(y))

type(y)

print(y.type())

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following Python code: y = 45.6; print(y)?

45.6

"45.6"

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following values can be stored as a Boolean data type?

True

"Hello"

45.6

9

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a constant in Python?

Using the 'const' keyword

Using uppercase letters with words separated by an underscore

Using the 'constant' keyword

Using the 'final' keyword

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following Python code: y = "Good Morning"; print(y)?

Good Morning

"Good Morning"

None

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?