PCEP Section 1A: Understand fundamental terms and definitions

Quiz
•
Computers
•
12th Grade
•
Easy
Misti McDaniel
Used 24+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct file extension for a Python source file?
.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 Wayground
10 questions
Conditional statements in python

Quiz
•
11th - 12th Grade
15 questions
Section 3D: Collect and process data using dictionaries

Quiz
•
12th Grade
15 questions
Understanding Lists in Python

Quiz
•
12th Grade
10 questions
Python Exception Handling

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

Quiz
•
11th - 12th Grade
20 questions
Python Basics & Syntax

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

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

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade