Which of the following is a correct file extension for a Python source file?
PCEP Section 1A: Understand fundamental terms and definitions

Quiz
•
Computers
•
12th Grade
•
Easy
Misti McDaniel
Used 21+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
.py
.java
.exe
.txt
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid Python identifier?
my_variable
2ndValue
_temp
value2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following Python code? ```python print("Hello, World!") ```
Hello World!
"Hello, World!"
Hello, World!
print("Hello, World!")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best defines a variable in Python?
A reserved word used to perform a specific function
A container for storing data values
A type of loop structure
A built-in function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to assign the value 10 to a variable named `x` in Python?
x == 10
x := 10
x = 10
10 = x
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a fundamental data type in Python?
integer
string
list
All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements will output the value of a variable `name` in Python?
print(name)
echo name
display(name)
show name
Create a free account and access millions of resources
Similar Resources on Quizizz
19 questions
Unit 3 Python Minor assessment

Quiz
•
10th - 12th Grade
13 questions
2.5 Translators & Facilities - OCR GCSE Computer Science

Quiz
•
7th - 12th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
15 questions
PCEP Section 1D: Choose operators (May 7th)

Quiz
•
12th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
20 questions
Python String

Quiz
•
12th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
12 questions
Python Operators

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University