Free PCEP-30-02 Exam Braindumps
PCEP - Certified Entry-Level Python Programmer Questions 161–165 (page: 34)

Updated On: 10-Feb-2026

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



The \n digraph forces the print() function to:

  1. duplicate the character next to the digraph
  2. stop its execution
  3. break the output line
  4. output exactly two characters: \ and n

Answer(s): C



Viewing page 34 of 79
Viewing questions 166 - 170 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!