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 ** // 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:")
What is the expected output of the following code?
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 ** // 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:")
What is the expected output of the following code?