Black Friday Sale - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65percent

Welcome To DumpsPedia

PCPP-32-101 Sample Questions Answers

Questions 4

Select the true statements about the sqirte3 module. (Select two answers.)

Options:

A.

The sqlite3 module provides an interface compliant with the DB-API 2.0.

B.

The special name memory is used to create a database in RAM.

C.

The sqhte3 module does not support transactions.

D.

The fetchall method returns an empty list when no rows are available

Buy Now
Questions 5

What is ElementTree?

Options:

A.

A Python built-in module that contains functions used for creating HTML files.

B.

A Python library that contains an API used for parsing and manipulating JSON files.

C.

A Python library that contains functions and tools used for manipulating text files in GUI Programming.

D.

A Python built-in module that contains functions used for parsing and creating XML data.

Buy Now
Questions 6

Select the true statement about composition

Options:

A.

Composition extends a class's capabilities by adding new components and modifying the existing ones.

B.

Composition allows a class to be projected as a container of different classes

C.

Composition is a concept that promotes code reusability while inheritance promotes encapsulation.

D.

Composition is based on the has a relation: so it cannot be used together with inheritance.

Buy Now
Questions 7

Analyze the code and choose the best statement that describes it.

Options:

A.

___ne___() is not a built-in special method

B.

The code is erroneous

C.

The code is responsible for the support of the negation operator e.g. a = - a.

D.

The code is responsible for the support of the inequality operator i.e. i =

Buy Now
Questions 8

What is true about type in the object-oriented programming sense?

Options:

A.

It is the bottommost type that any object can inherit from.

B.

It is a built-in method that allows enumeration of composite objects

C.

It is the topmost type that any class can inherit from

D.

It is an object used to instantiate a class

Buy Now
Questions 9

Select the true statements about the json.-dumps () function. (Select two answers.)

Options:

A.

It returns a JSON string.

B.

It returns a Python entity.

C.

It takes a JSON string as its argument

D.

It takes Python data as its argument.

Buy Now
Questions 10

In the JSON processing context, the term serialization:

Options:

A.

names a process in which Python data is turned into a JSON string.

B.

names a process in which a JSON string is turned into Python data.

C.

refers to nothing, because there is no such thing as JSON serialization.

D.

names a process in which a JSON string is remodeled and transformed into a new JSON string

Buy Now
Questions 11

Select the true statement related to PEP 257.

Options:

A.

String literals that occur immediately after another docstring are called attribute docstrings.

B.

Attribute docstrings and Additional docstrings are two types of extra docstrings that can be extracted by software tools.

C.

String Iiterals that occur in places other than the first statement in a module, function, or class definition can act as documentation They are recognized by the Python bytecode compiler and are accessible as runtime object attributes

D.

String literals that occur immediately after a simple assignment at the top level of a module are called complementary docstrings

Buy Now
Questions 12

What is true about the unbind () method? (Select two answers.)

Options:

A.

It is invoked from within the events object

B.

It is invoked from within a widget's object

C.

It needs a widget's object as an argument

D.

It needs the event name as an argument

Buy Now
Questions 13

Which one of the following methods allows you to debug an XML tree in the xml.etree ELementTree module?

Options:

A.

debug

B.

dump

C.

log

D.

parse

Buy Now
Exam Code: PCPP-32-101
Exam Name: PCPP1 – Certified Professional in Python Programming 1
Last Update: Nov 24, 2024
Questions: 45
$57.75  $164.99
$43.75  $124.99
$36.75  $104.99
buy now PCPP-32-101