Free Certified Associate in Python Programming Exam PCAP-31-03 Exam Practice Test

UNLOCK FULL
PCAP-31-03 Exam Features
In Just $59 You can Access
  • All Official Question Types
  • Interactive Web-Based Practice Test Software
  • No Installation or 3rd Party Software Required
  • Customize your practice sessions (Free Demo)
  • 24/7 Customer Support
Page: 1 / 30
Total Questions: 147
  • What is true about Python packages? (Select two answers)

    Answer: A, B Next Question
  • Select the valid fun () invocations:(select two answers)def fun (a, b=0):return a*b

    Answer: B, D Next Question
  • A file name like this one below says mat: (select three answers)services. cpython-36.pyc

    Answer: A, B, D Next Question
  • Can a module run like regular code?

    Answer: A Next Question
  • Is it possible to safely check if a class object has a certain attribute0

    Answer: B Next Question
  • Which of the following expressions evaluate to True? (Select two answers)

    Answer: A, C Next Question
  • What is the expected behavior of the following code?x - 3 % 1y -1 if x > else 0print (y)

    Answer: D Next Question
  • Which of the following lambda function definitions are correct? (Select two answers)

    Answer: A, B Next Question
  • There is a stream named s open for writing. What option will you select to write a line to the stream''

    Answer: A Next Question
  • Assuming that the snippet below has been executed successfully, which of the following expressions will evaluate to True? (Select two answers)string = 'SKY' (:: -1)string = string (-1)

    Answer: C, D Next Question
Page: 1 / 30
Total Questions: 147