T-Level DPDD: Data Types Quiz

Quiz
•
Computers
•
11th Grade
•
Hard
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
Similar Resources on Wayground
30 questions
Java Interfaces - January 24, 2023

Quiz
•
11th Grade
30 questions
Algorithms Quiz

Quiz
•
11th Grade
32 questions
Entrepreneurship Standard 4 Review

Quiz
•
9th - 12th Grade
30 questions
Remedial Pemrograman Web dan Perangkat Bergerak

Quiz
•
11th Grade
33 questions
General Programming Terms

Quiz
•
10th - 12th Grade
30 questions
11 Final Test

Quiz
•
11th Grade
30 questions
Analisis Data (informatika 10)

Quiz
•
9th - 12th Grade
34 questions
AP Computer Science Applications - Fall 2023 Exam

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade