PCAP-31-02 CPP-Institute PCAP Certified Associate in Python Programming
QUESTION: 35 A file name like this one below says mat: (select three answers) services. cpython-36.pyc A. the interpreter used to generate the file is version 3.6 B. it has been produced by CPython C. it is the 36th version of the file D. the file comes from the services .py source file Answer: A, C, D QUESTION: 36 You are going to read just one character from a stream called s. Which statement would you use? A. ch = read(s, 1) B. ch = s.input(1) C. ch = input(s, 1) D. ch = s.read(l) Answer: B QUESTION: 37 Assuming that String is six or more letters long, the following slice String[1:-2] is shorter than the original string by: A. four chars B. three chars C. one char D. two chars Answer: B QUESTION: 38
What is the expected behavior of the following snippet9 def x() : #line 01
You've reached the end of your free preview.
Want to read all 4 pages?
- Fall '20
- English-language films, 1920, 1918