
PCEP Section 1C: Understanding Data Types and Variables
Authored by Misti McDaniel
Computers
12th Grade
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid Boolean value in Python?
TRUE
True
"True"
1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the variable `x` after executing the following code? ```python x = 0b1010 ```
2
8
10
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a floating-point literal in Python?
42
3.14
"3.14"
0b101
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following variable names follows PEP-8 naming conventions for variables?
myVariable
My_variable
my_variable
myVariable1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the decimal value of the hexadecimal number `0x1F`?
15
16
31
30
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4.2e3
4.2^3
4.2*10^3
4.2e-3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid string assignment in Python?
name = "Alice"
name = 'Alice'
name = Alice
name = """Alice"""
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?
Similar Resources on Wayground
16 questions
AI Checkpoint 1 Revision
Quiz
•
9th - 12th Grade
10 questions
What is a program slides(6:16)
Quiz
•
8th - 12th Grade
20 questions
NP IT Quiz ปริศนาไอที #4
Quiz
•
9th - 12th Grade
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade