PCAP - Certified Associate in Python Programming Certification: PCAP-31-03 Practice Test

· Jeremias Lacanienta
2.5
2 reviews
Ebook
217
Pages
Ratings and reviews aren’t verified  Learn More

About this ebook

PCAP Certified Associate in Python Programming Certification is a comprehensive mock exam with emphasis on using the PCAP-31-03 Syllabus as guide on the question topic. The audience should have basic knowledge in Python or have a good grasp on other programming language because this is not a tutorial.

All 286 questions are based on individual topics in the syllabus and all topics have been covered. Each and every topic in the syllabus have a corresponding question with sufficient representation.


Exam block #1: Modules and Packages (46 questions)

Objectives covered by the block (6 items)

import variants; advanced qualifiying for nested modules

dir(); sys.path variable

math: ceil(), floor(), trunc(), factorial(), hypot(), sqrt(); random: random(), seed(), choice(), sample()

platform: platform(), machine(), processor(), system(), version(), python_implementation(), python_version_tuple()

idea, __pycache__, __name__, public variables, __init__.py

searching for modules/packages; nested packages vs directory tree


Exam block #2: Exceptions (41 questions)

Objectives covered by the block (5 items)

except, except:-except; except:-else:, except (e1,e2)

the hierarchy of exceptions

raise, raise ex, assert

event classes, except E as e, arg property

self-defined exceptions, defining and using


Exam block #3: Strings (42 questions)

Objectives covered by the block (8 items)

ASCII, UNICODE, UTF-8, codepoints, escape sequences

ord(), chr(), literals

indexing, slicing, immutability

iterating through,

concatenating, multiplying, comparing (against strings and numbers)

in, not in

.isxxx(), .join(), .split()

.sort(), sorted(), .index(), .find(), .rfind()


Exam block #4: Object-Oriented Programming (49 questions)

Objectives covered by the block (12 items)

ideas: class, object, property, method, encapsulation, inheritance, grammar vs class, superclass, subclass

instance vs class variables: declaring, initializing

__dict__ property (objects vs classes)

private components (instance vs classes), name mangling

methods: declaring, using, self parameter

instrospection: hasattr() (objects vs classes), __name__, __module__, __bases__ properties

inheritance: single, multiple, isinstance(), overriding, not is and is operators

constructors: declaring and invoking

polymorphism

__name__, __module__, __bases__ properties, __str__() method

multiple inheritance, diamonds


Exam block #5: Miscellaneous (List Comprehensions, Lambdas, Closures, and I/O Operations) (44 questions)

Objectives covered by the block (4 items)

list comprehension: if operator, using list comprehensions

lambdas: defining and using lambdas, self-defined functions taking lambda as as arguments; map(), filter();

closures: meaning, defining, and using closures

I/O Operations: I/O modes, predefined streams, handles; text/binary modes

open(), errno and its values; close()

.read(), .write(), .readline(); readlines() (along with bytearray())


Bonus block (64 questions)

Objectives covered by the block (1 item)

Uncategorized topics from PCAP-31-01, PCAP-31-02 and PCAP-NP-31-02


Questions in the Practice tests are much more difficult than what is included in the Certified Associate in Python Programming Certification. I recommend doing hands-on to test the validity of the answers and emphasize on the importance of coding different permutations and combinations on the examples given.

All questions are self-explanatory and it will be easier to understand if the code is run on IDLE or the user's preferred Python IDE.

Ratings and reviews

2.5
2 reviews
Bryan Cutkelvin
August 6, 2022
STAY AWAY! DO NOT USE FOR PCAP PREPARATION! Awful preparation resource! Seems to be nothing more than a copy paste extraction of tests that you can get from a testing resource such as Udemy. But what really makes this an awful resource is the questions aren't copied(posed) correctly! If multiple selections are an option IT IS NOT INDICATED! ex. Which option is valid given the following code? from foo.bar import baz [ ] entity is foo [ ] entity is bar [X] entity is baz [ ] module is foo [X] module is bar [ ] module is baz [X] package is foo [ ] package is bar [ ] package is baz Observe multiple answers exist, but the question poses as "option". This is a red flag as the actual PCAP (and other test formats) poses questions that clearly say "options". The author does not make it clear there are multiple answers possible. The entire book is riddled with these erroneous posed questions! and it is not until the end of the book where the solutions are that you figure this out. This is too risky of a resource to rely on for exam preparation. Yes, there are some good questions, but this copy and paste work from some resource, possibly Udemy is unreliable, a time waste and requires unnecessary patience I am very disappointed and would like my money back!!! Stay away and find a more clear, reputable testing resource document.
Did you find this helpful?

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.