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

Page 47 of 99

Which of the following variable names is illegal?

  1. TRUE
  2. True
  3. tRUE
  4. true

Answer(s): B



What is the best definition of a script?

  1. It's a text file that contains sequences of zeroes and ones
  2. It's a text file that contains instructions which make up a Python program
  3. It's an error message generated by the interpreter
  4. It's an error message generated by the compiler

Answer(s): B



What is the expected output of the following code?

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

Answer(s): C



What is the expected output of the following code?

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

Answer(s): D






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

PCEP-30-02 Exam Discussions & Posts