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

Free Certified Associate in Python Programming Practice Questions

Exams4sure Dumps

Exam style questions across every PCAP-31-03 domain

Last Update 3 days ago
Total Questions : 154

Start with our free PCAP-31-03 practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real PCAP exam. Each PCAP-31-03 exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your Python Institute weak domains, see where you're losing marks, and build a focused study plan in minutes.

PCAP-31-03 PDF

PCAP-31-03 PDF (Printable)
$54.25
$154.99

PCAP-31-03 Testing Engine

PCAP-31-03 PDF (Printable)
$59.5
$169.99

PCAP-31-03 PDF + Testing Engine

PCAP-31-03 PDF (Printable)
$74.55
$212.99
Question # 31

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

Options:

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

Discussion 0
Question # 32

An operator able to perform bitwise shifts is coded as (select two answers)

Options:

A.  

- -

B.  

++

C.  

<<

D.  

>>

Discussion 0
Question # 33

Which of the following expressions evaluate to True? (Select two answers)

Options:

A.  

11 == '011'

B.  

3 * 'a' < 'a' * 2

C.  

'abc' .upper () < 'abc'

D.  

'1' + '2' * 2 !=2 '12'

Discussion 0
Question # 34

Which line can be used instead of the comment to cause the snippet to produce the following expected output? (Select two answers)

Expected output:

1 2 3

Code:

Question # 34

Options:

A.  

c, b, a = b, a, c

B.  

c, b, a = a, c, b

C.  

a, b, c = c, a, b

D.  

a, b, c = a, b, c

Discussion 0
Question # 35

Assuming that the math module has been successfully imported, which of the following expressions evaluate to True? (Select two answers)

Options:

A.  

math. hypot (3,4) == math.sqrt (25)

B.  

math. hypot (2,5) == math.truec (2.5)

C.  

math. hypot (2,5) == math.true (2.5)

D.  

math. cell (2,5) == math.floor (2.5)

Discussion 0
Question # 36

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

Question # 36

Options:

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

Discussion 0
Question # 37

What is true about the __based__attribute in Python?

Options:

A.  

It is accessible inside a class and an object.

B.  

There is no such property.

C.  

it is accessible inside an object

D.  

It is accessible inside a class

Discussion 0
Question # 38

What is the expected output of the following code?

Question # 38

Options:

A.  

21

B.  

2

C.  

3

D.  

12

Discussion 0
Question # 39

Which of the following expression evaluate to True? (Select two answers)

Options:

A.  

'in not' in 'not'

B.  

'in' in 'Thames'

C.  

't' . upper ( ) in 'Thames'

D.  

'in' in 'in'

Discussion 0
Question # 40

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

Options:

A.  

open () requires a second argument

B.  

open () is a function which returns an object that represents a physical file

C.  

instd, outstd, errstd are the names of pre-opened streams

D.  

if invoking open () fails, an exception is raised

Discussion 0

Free Exams Sample Questions