Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

PCAP-31-03 Exam Dumps - Certified Associate in Python Programming

Go to page:
Question # 9

Which of the following statements are true? (Select two answers)

A.

a code point is a point inside the code when execution stops immediately

B.

an escape sequence can be recognized by the # sign put in front of it.

C.

UTF-8 is one of the ways of representing UNICODE code points.

D.

ASCII is the name of a character coding standard

Full Access
Question # 10

Which of the following literals reflect the value given as 34.23? (select two answers)

A.

.3423e2

B.

3423e-2

C.

.3423e-2

D.

3423e2

Full Access
Question # 11

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

A.

the constructor's first parameter identifies an object currently being created

B.

the constructor cannot use the default values of the parameters

C.

the constructor can be invoked directly under strictly defined circumstances

D.

super-class constructor is invoked implicitly during constructor execution

Full Access
Question # 12

If you need a function that does nothing, what would you use instead of XXX? (Select two answers)

def idler ( ):

XXX

A.

pass

B.

return

C.

exit

D.

None

Full Access
Question # 13

Which of the following words can be used as a variable name? (Select two valid names)

A.

for

B.

True

C.

true

D.

For

Full Access
Question # 14

What is true about the following snippet? (Select two answers)

A.

the code will raise an unhandled exception

B.

the string I feel fine 'will be seen

C.

the string it's nice to see you will be seen

D.

the string what a pity will be seen

Full Access
Question # 15

A compiler is a program designed to (select two answers)

A.

rearrange the source code to make it clearer

B.

check the source code in order to see if its correct

C.

execute the source code

D.

translate the source code into machine code

Full Access
Question # 16

What is the expected output of the following code?

A.

2

B.

3

C.

4

D.

an exception is raised

Full Access
Go to page: