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

Page 44 of 99

What is the expected output of the following code?

  1. The code is erroneous.
  2. 2
  3. 3
  4. 1

Answer(s): A



The print() function is an example of:

  1. a Python built-in function
  2. a user-defined function
  3. an anonymous function
  4. a Python output method

Answer(s): A



What is IDLE?

  1. An acronym that stands for Integrated Development and Learning Environment for Python
  2. An acronym that stands for Interactive Development and Learning Extension
  3. A version of Python

Answer(s): A



You have the following file.


You want the following output: The average score for Peter is 200.00.
Which command do you have to execute in the command line?

  1. python index.py Peter 100
  2. python index.py Peter 100 200 300
  3. The code is erroneous.
  4. python index.py Peter 100 200

Answer(s): B






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

PCEP-30-02 Exam Discussions & Posts