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

Page 41 of 99

What do you call a computer program which directly executes instructions written in a programming language?

  1. A compiler
  2. An interpreter
  3. A translator

Answer(s): B



What do you call a command-line interpreter which lets you interact with your OS and execute Python commands and scripts?

  1. A console
  2. A compiler
  3. Jython
  4. An editor

Answer(s): A



A value returned by the input() function is:

  1. an integer
  2. a float
  3. a string

Answer(s): C



Insert the correct piece of code, so that the program produces the expected output.
Expected output:

Code:

  1. print(Andy\nBrown)
  2. print("Andy Brown", end=" ")
  3. print("Andy Brown", sep=" ")
  4. print("Andy\nBrown")

Answer(s): D






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

PCEP-30-02 Exam Discussions & Posts