Free PCEP-30-02 Exam Braindumps (page: 50)

Page 49 of 99

The folder created by Python used to store pyc files is named:

  1. __pyc__
  2. __pycfiles__
  3. __pycache__
  4. __cache__

Answer(s): C



Select the true statements? (Choose two.)

  1. Python is a good choice for low-level programming, e.g. when you want to implement an effective driver
  2. Python is a good choice for creating and executing tests for applications
  3. Python is free, open-source, and multiplatform
  4. Python 3 is backwards compatible with Python 2

Answer(s): B,C



You develop a Python application for your company. You want to add notes to your code so other team members will understand it.
What should you do?

  1. Place the notes after the last list of code separated by a blank line.
  2. Place the notes after the # sign on any line.
  3. Place the notes inside of parentheses on any line.
  4. Place the notes before the first line of code separated by a blank line.

Answer(s): B



What is the expected behavior of the following program?

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

Answer(s): A






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

PCEP-30-02 Exam Discussions & Posts