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

Page 4 of 99

Which of the following sentences is true?

  1. str1 and str2 are different (but equal) strings.
  2. str1 and str2 are different names of the same strings.
  3. str1 is longer than str2
  4. str2 is longer than str1

Answer(s): B



The fact that tuples belong to sequence types means:

  1. they can be modified using the del instruction
  2. they can be extended using the .append() method
  3. they are actually lists
  4. they can be indexed and sliced like lists

Answer(s): D



What is the output of the following code?

  1. [1, 1, 1]
  2. [3, -1, 1]
  3. [3, 1, 1]

Answer(s): C



What is the expected output of the following code?

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

Answer(s): D



Page 4 of 99



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

BT commented on December 18, 2024
test PCEP-30-02 exam
VIET NAM
upvote

Mike commented on November 06, 2024
Very good website
Anonymous
upvote

joyce Mensah commented on October 28, 2023
I have just purchase the python fundamentals dump, i will see how it goes
Anonymous
upvote