Which of the following statements are true? (Choose two.)
A. an escape sequence can be recognized by the / sign put in front of it
B. II in ASCII stands for Internal Information
C. ASCII is a subset of UNICODE
D. a code point is a number assigned to a given character
The __bases__ property contains:
A. base class location (addr)
B. base class objects (class)
C. base class names (str)
D. base class ids (int)
What is the expected behavior of the following code?
A. it outputs 0
B. it raises an exception
C. it outputs 1
D. it outputs 2
What is the expected behavior of the following code?
A. it outputs [4, 2]
B. it outputs [2, 4]
C. it outputs [0, 1, 2, 3, 4]
D. the code is erroneous and it will not execute
What is the expected behavior of the following code?
A. the code is erroneous and it will not execute
B. it outputs 2.0
C. it outputs 2.5
D. it outputs 3.0
Which of the following expressions evaluate to True? (Choose two.)
A. `8' + `8' !=2 * `8'
B. `xYz'.lower() > `XY'
C. float(`3.14') == str(`3.' + `14')
D. 121 + 1 ==int(`1' + 2 * `2')
What is the expected behavior of the following code?
A. it raises an exception
B. it outputs 3
C. it outputs 1
D. it outputs 6
Which of the following snippets will execute without raising any unhandled exceptions?
A. Option A
B. Option B
C. Option C
D. Option D
What is the expected behavior of the following code?
A. the code is erroneous and it will not execute
B. it outputs 1
C. it outputs -1
D. it outputs 0
Which of the following lambda definitions are correct? (Choose two.)
A. lambda x,y: (x,y)
B. lambda x,y: return x//y - x%y
C. lambda x,y: x//y - x%y
D. lambda x,y = x//y - x%y
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Python Institute exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PCAP exam preparations and Python Institute certification application, do not hesitate to visit our Vcedump.com to find your solutions here.