T-Level DPDD: Data Types Quiz

T-Level DPDD: Data Types Quiz

11th Grade

34 Qs

quiz-placeholder

Similar activities

Python Beginner

Python Beginner

6th - 12th Grade

30 Qs

Coding Technical Vocabulary

Coding Technical Vocabulary

6th - 12th Grade

37 Qs

AP Computer Science Applications - Fall 2023 Exam

AP Computer Science Applications - Fall 2023 Exam

11th Grade

34 Qs

Python Conditionals Review

Python Conditionals Review

9th - 12th Grade

31 Qs

PYTHON-06

PYTHON-06

9th - 12th Grade

30 Qs

Microbit Final Exam Review

Microbit Final Exam Review

9th - 12th Grade

31 Qs

Analisis Data (informatika 10)

Analisis Data (informatika 10)

9th - 12th Grade

30 Qs

Unit 9.1 - Textual Programming

Unit 9.1 - Textual Programming

8th Grade - University

35 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?