Summer Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Helping Hand Questions for PCAP-31-03

Page: 12 / 12
Total 154 questions

Certified Associate in Python Programming Questions and Answers

Question 45

The following class hierarchy is given. What is the expected output of the code?

Options:

A.

BB

B.

CC

C.

AA

D.

BC

Question 46

You are going to read just one character from a stream called s. Which statement would you use?

Options:

A.

ch = read(s, 1)

B.

ch = s. input(1)

C.

ch = input(s, 1)

D.

ch = s. read(l)

Page: 12 / 12
Total 154 questions