top of page

Introduction to Python Institute Certified Associate in Python Programming Exam

Writer's picture: Katy MorganKaty Morgan

The Python Institute PCAP Exam is challenging and thorough preparation is essential for success. This exam study guide is designed to help you prepare for the Python Programming Associate certification exam. It contains a detailed list of the topics covered on the Professional exam, as well as a detailed list of preparation resources. These study guides for the Python Institute Certified Associate in Python Programming will help guide you through the study process for your certification.

PCAP Python Institute Certified Associate in Python Programming Exam Summary

Exam Name: Python Institute Certified Associate in Python Programming Exam Code: PCAP Exam Price: $295 (USD) Duration: 65 mins Number of Questions: 40 Passing Score: 70% Reference Books: PCAP: Programming Essentials in Python Python Essentials - Part 1 Python Essentials - Part 2 Schedule Exam: Pearson VUE Sample Questions: Python Institute Python Programming Associate Sample Questions Recommended Practice: Python Institute PCAP Certification Practice Exam

Exam Syllabus: PCAP Python Institute Certified Associate in Python Programming Modules and Packages:- 12% - 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 Exceptions:- 18% - 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 14% Strings - 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() Object-Oriented Programming:- 34% - 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 - inheritance: single, multiple, isinstance(), overriding, not is and is operators - constructors: declaring and invoking - polymorphism - __name__, __module__, __bases__ properties, __str__() method - multiple inheritance, diamonds Miscellaneous (List Comprehensions, Lambdas, Closures, and I/O Operations):- 22% 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())

Python Institute PCAP Certification Sample Questions and Answers To make you familiar with the Python Institute Certified Associate in Python Programming (PCAP) certification exam structure, we have prepared this sample question set. We suggest you to try our Sample Questions for PCAP-31-03 PCAP Certification to test your understanding of Python Institute PCAPprocess with real Python Institute certification exam environment. PCAP Python Institute Certified Associate in Python Programming Sample Questions:- 01. 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 02. You are going to read just one character from a stream called s. Which statement would you use? a) ch = read(s, 1) b) ch = s.input(1) c) ch = input(s, 1) d) ch = s.read(l) 03. Can a module run Eke regular code? a) yes, and it can differentiate its behavior between the regular launch and import b) it depends on the Python version c) yes, but it cannot differentiate its behavior between the regular launch and import d) no. it is not possible; a module can be imported, not run 04. Which of the following sentences are true? (Select two answers) a) lists may not be stored inside tuples b) tuples maybe stored inside lists c) tuples may not be stored inside tuples d) lists may be stored inside lists 05. How many elements will the list2 list contain after execution of the following snippet? List1= [False fori in range(1,10)] list2 = list1[-1:1:-1] a) zero b) five c) seven d) three 06. 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 07. What can you deduce from the following statement? (Select two answers) str = open('file.txt', "rt") a) str is a string read in from the file named file. txt b) a new line character translation will be performed during the reads c) if file. txt does not exist, it will be created d) the opened file cannot be written with the use of the str variable 08. Select the true statements: (select all that apply) a) The class keyword marks the beginning of the class definition b) An object cannot contain any references to other objects c) A class may define an object d) A constructor is used to instantiate an object e) An object variable is a variable that is stored separately in every object 09. What will the valueof the i variable be when the following loop finishes its execution? for i in range(10): pass a) 10 b) the variable becomes unavailable c) 11 d) 9 10. The first parameter of each method: a) holds a reference to the currentlv processed object b) is always set to None c) is set to a unique random value d) is set by the first argument's value Answers:- Answer 1 :- c, d Answer 2 :- b Answer 3 :- c Answer 4 :- c, d Answer 5 :- c Answer 6 :- a, b Answer 7 :- a Answer 8 :- a, c, d Answer 9 :- d Answer 10 :- a

Comentarios


bottom of page