Coding – PCEP-30-02 Exam Block #1 Python Programming Fundamentals Practice & Study Guide 2, Exams of Advanced Education

Coding – PCEP-30-02 Exam Block #1 Python Programming Fundamentals Practice & Study Guide 2026-3.docx

Typology: Exams

2025/2026

Available from 06/15/2026

Toperthetop
Toperthetop 🇬🇧

3

(6)

27K documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Coding – PCEP-30-02 Exam Block #1 | Python Programming
Fundamentals Practice & Study Guide 2026
A process in which the source code is immediately executed without
translating it into a machine code is called: - ANS ✔✔interpretation
Which of the following expressions evaluate to zero?
(select two answers.) - ANS ✔✔1 ** 2 / 2 // 3
1 // 3 * 3 ** 0
A syntax is a part of a language definition definition which describes the
rules used to build: - ANS ✔✔the sentences from a set of words
Please select variable names that are legal in Python. - ANS ✔✔maxValue
true5
securityinspectorsuperintendentsecrectagent007
TRUE
Insert the code boxes in the correct positions in order to build a line of code
which asks the user for a float value and assigns it to the price variable.
(Note: some code boxes will not be used.) - ANS ✔✔price = float(input("Enter
item price:"))
Insert the code boxes in the correct positions in order to build a line of code
which asks the user for a string value and assigns it to the password
variable.
(Note: some code boxes will not be used.) - ANS ✔✔password = input("Enter
the password:")
pf3

Partial preview of the text

Download Coding – PCEP-30-02 Exam Block #1 Python Programming Fundamentals Practice & Study Guide 2 and more Exams Advanced Education in PDF only on Docsity!

Coding – PCEP-30-02 Exam Block #1 | Python Programming

Fundamentals Practice & Study Guide 2026

A process in which the source code is immediately executed without translating it into a machine code is called: - ANS ✔✔interpretation Which of the following expressions evaluate to zero? (select two answers.) - ANS ✔✔1 ** 2 / 2 // 3 1 // 3 * 3 ** 0 A syntax is a part of a language definition definition which describes the rules used to build: - ANS ✔✔the sentences from a set of words Please select variable names that are legal in Python. - ANS ✔✔maxValue true securityinspectorsuperintendentsecrectagent TRUE Insert the code boxes in the correct positions in order to build a line of code which asks the user for a float value and assigns it to the price variable. (Note: some code boxes will not be used.) - ANS ✔✔price = float(input("Enter item price:")) Insert the code boxes in the correct positions in order to build a line of code which asks the user for a string value and assigns it to the password variable. (Note: some code boxes will not be used.) - ANS ✔✔password = input("Enter the password:")

What is the expected output of the following code? a = 5

a = a + a

print(a) - ANS ✔✔ 5 What is the expected output of the following code? a = 1# + 5 a = a + a #a = a + 1 print(a) # Line 4 - ANS ✔✔ 2 Insert the code boxes in the correct positions in order to build a line of code which asks the user for an integer value and assigns it to the floor variable. (Note: some code boxes will not be used.) - ANS ✔✔floor = int(input("Enter floor number:")) Match the given literals - ANS ✔✔String = False, Float = 1.414, Boolean = True, Integer = 1_000_ A program which is used to transform a source file into an executable binary file is called: - ANS ✔✔a compiler Arrange the arithmetic operations in the order which reflects their priorities, where the top-most position has the highest priority and the bottom-most position has the lowest priority. - ANS ✔✔Exponentiation Multiplication Subtraction