Title: Certified Associate in Python Programming PCAP-31-03 Updated Dumps
1- Certified Associate in Python Programming Exam
https//www.passcert.com/PCAP-31-03.html
2Download Passcert latest PCAP-31-03 Sample Test
to help you pass successfully
Question 1
Which of the listed actions can be applied to the
following tuple? (Select two answers) A. tup
B. tup.append (0) C. tup 0 D. del
tup Answer A,D
02
03
04
3Download Passcert latest PCAP-31-03 Sample Test
to help you pass successfully
Question 2
There is a stream named s open for writing. What
option will vou select to write a line to the
stream'' A. s.write("Hello\n") B. write(s,
"Hello") C. s.writeln("Hello") D.
s.writeline("Hello") Answer A
01
02
03
04
4Download Passcert latest PCAP-31-03 Sample Test
to help you pass successfully
Question 3
Files with the suffix .pyc contain A. Python 4
source code B. backups C. temporary data D.
semi-compiled Python code Answer D
01
02
03
04
5Download Passcert latest PCAP-31-03 Sample Test
to help you pass successfully
Question 4
What is true about Python packages? (Select two
answers) A. the sys.path variable is a list of
strings B. _pycache_is a folder that stores
semi-completed Python modules C. a package
contents can be stored and distributed as an mp3
file D. a code designed to initialize a package's
state should be placed inside a file named
init.py Answer B,D
01
02
03
04
6Download Passcert latest PCAP-31-03 Sample Test
to help you pass successfully
Question 5
01
Which of the following statements are true?
(Select two answers) A. \e is an escape sequence
used to mark the end of lines B. ASCII is
synonymous with UTF-8 C. II in ASCII stands for
Information Interchange D. a code point is a
number assigned to a given character Answer B,C
02
03
04
7Download Passcert latest PCAP-31-03 Sample Test
to help you pass successfully
Question 6
01
Which of the following invocations are valid?
(Select two answers) A. rfind("python","r") B.
sorted("python") C. "python".sort () D.
"python".index("th") Answer B,D
02
03
04
8Download Passcert latest PCAP-31-03 Sample Test
to help you pass successfully
Question 7
01
Which of the following lambda definitions are
correct? (Select two answers) A. lanbda x, y
return x\\y - xy B. lambda x, y x\\y - xy C.
lambda (x, y x\\y xy D. lambda x, y (x,
y) Answer B,D
02
03
04
9Download Passcert latest PCAP-31-03 Sample Test
to help you pass successfully
Question 8
01
Which one of the platform module functions should
be used to determine the underlying platform
name? A. platform.uname () B. platform.platform
() C. platform.python_version() D.
platform.processor() Answer B
02
03
04
10Download Passcert latest PCAP-31-03 Sample Test
to help you pass successfully
Question 9
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,B,D
01
02
03
04
11Download Passcert latest PCAP-31-03 Sample Test
to help you pass successfully
Question 10
Assuming that the snippet below has been executed
successfully, which of the following expressions
will evaluate to True? (Select two
answers) string 'python' 2 string
string-1 string-2 A. string0
string-1 B. string is None C. len (string
3 D. string0 'o' Answer D
01
02
03
04
12- More Information, you can visit Passcert.com