Free PCEP-30-02 Exam Braindumps
PCEP - Certified Entry-Level Python Programmer Questions 166–170 (page: 35)

Updated On: 10-Feb-2026

What is true about compilation? (Choose two.)

  1. The code is converted directly into machine code executable by the processor
  2. It tends to be faster than interpretation
  3. It tends to be slower than interpretation
  4. Both you and the end user must have the code

Answer(s): A,B



You execute the following command in the terminal.
python index.py Hello
You want the command to print out Hello.
What has to be inside of index.py?





Answer(s): A



The compiled Python bytecode is stored in files having names ending with:

  1. py
  2. pyb
  3. pyc
  4. pc

Answer(s): C



What is the expected behavior of the following program?

  1. The program will generate an error message on the screen
  2. The program will output "Goodbye!"
  3. The program will output Goodbye!
  4. The program will output ("Goodbye!")

Answer(s): A



You have the following file.


You run the file by executing the following command in the terminal. python index.py 42 3
What is the expected output?

  1. 45
  2. 424242
  3. 423
  4. 126
  5. The code is erroneous.

Answer(s): C



Viewing page 35 of 79
Viewing questions 171 - 175 out of 481 questions


Post your Comments and Discuss Python Institute PCEP-30-02 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!