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

Page 29 of 99

What is the expected output of the following code?
print('Mike' > 'Mikey')

  1. False
  2. True
  3. 1
  4. 0

Answer(s): A



Which of the following is the correct order of operator precedence?

  1. Exponents
    Unary positive, negative, not
    Parentheses
    Multiplication and Division
    Addition and Subtraction
    And
  2. Parentheses
    Exponents
    Unary positive, negative, not
    Addition and Subtraction
    Multiplication and Division
    And
  3. Parentheses
    Exponents
    Unary positive, negative, not
    Multiplication and Division
    Addition and Subtraction
    And
  4. Exponents
    Unary positive, negative, not
    Multiplication and Division
    Addition and Subtraction
    And
    Parentheses

Answer(s): C



What is the result of the following operation?

  1. 2.0
  2. 11.0
  3. The operation is illegal in Python
  4. 2

Answer(s): A



Consider the following code.


Which statement will print True to the monitor? (Choose two.)

  1. print(languages == more_languages)
  2. print(languages is more_languages)
  3. print(more_languages is extra_languages)
  4. print(languages is extra_languages)

Answer(s): A,C



Page 29 of 99



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

Likhaya commented on January 08, 2025
I'm impressed by this website
Anonymous
upvote

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