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

Page 42 of 99

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



What is true about compilation? (Choose two.)

  1. The code is converted directly into machine code executable by the processor
  2. It tends to be faster than interpretation
  3. It tends to be slower than interpretation
  4. Both you and the end user must have the code

Answer(s): A,B



You execute the following command in the terminal.
python index.py Hello
You want the command to print out Hello.
What has to be inside of index.py?





Answer(s): A



The compiled Python bytecode is stored in files having names ending with:

  1. py
  2. pyb
  3. pyc
  4. pc

Answer(s): C






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

PCEP-30-02 Exam Discussions & Posts