Free PCAP-31-02 – Certified Associate in Python Programming Practice Test Question

Free demo downloads

Loading demo links...

Showing 4–6 of 10 questions

Question 4

And operator able to perform bitwise shifts is coded as (Select two answers)

Select all that apply, then click Submit answer.

  • ○

    --

  • ○

    ++

  • ○

    <<

  • ○

    >>

Question 5

A compiler is a program designed to (Select two answers)

Select all that apply, then click Submit answer.

  • ○

    rearrange the source code to make it clearer

  • ○

    check the source code in order to see of it’s correct

  • ○

    execute the source code

  • ○

    translate the source code into machine code

Question 6

A function called issubclass (c1, c2) is able to check if:

Select an option, then click Submit answer.

  • ○

    c1 and c2 are both subclasses of the same superclass

  • ○

    c2 is a subclass of c1

  • ○

    c1 is a subclass of c2

  • ○

    c1 and c2 are not subclasses of the same superclass