PCAP-31-03 Exam Question 41

What can you deduce from the following statement? (Select two answers)
str = open('file.txt', "rt")
  • PCAP-31-03 Exam Question 42

    What is the expected output of the following code?
    def foo(x,y,z):
    return x(y) - x(z)
    print{f00(lambda x: x % 2, 2, 1) )
  • PCAP-31-03 Exam Question 43

    What is the expected behavior of the following code?
  • PCAP-31-03 Exam Question 44

    Which of the following expressions evaluate to True? (Select two answers)
  • PCAP-31-03 Exam Question 45

    What is true about Python class constructors? (Select two answers)