Share This With Your Friends

PCEP - Certified Entry-Level Python Programmer (Exam PCEP-30-02)

Here is the syllabus:

Section 1: Computer Programming and Python Fundamentals (18%)

Objectives covered by the block (7 exam items)

PCEP-30-02 1.1 – Understand fundamental terms and definitions

PCEP-30-02 1.2 – Understand Python's logic and structure

PCEP-30-02 1.3 – Introduce literals and variables into code and use different numeral systems

  • Boolean, integers, floating-point numbers
  • Scientific notation
  • Strings
  • Binary, octal, decimal, and hexadecimal numeral systems
  • Variables
  • Naming conventions
  • Implementing PEP-8 recommendations

PCEP-30-02 1.4 – Choose operators and data types adequate to the problem

  • Numeric operators: ** * / % // + –
  • String operators: * +
  • Assignment and shortcut operators
  • Unary and binary operators
  • Priorities and binding
  • Bitwise operators: ~ & ^ | << >>
  • Boolean operators: not, and, or
  • Boolean expressions
  • Relational operators ( == != > >= < <= )
  • The accuracy of floating-point numbers
  • Type casting

PCEP-30-02 1.5 – Perform Input/Output console operations

  • The print() and input() functions
  • The sep= and end= keyword parameters
  • The int() and float() functions

Section 2: Control Flow – Conditional Blocks and Loops (29%)

Objectives covered by the block (8 exam items)

PCEP-30-02 2.1 – Make decisions and branch the flow with the if instruction

  • Conditional statements: if, if-else, if-elif, if-elif-else
  • Multiple conditional statements
  • Nesting conditional statements

PCEP-30-02 2.2 – Perform different types of iterations

  • The pass instruction
  • Building loops with while, for, range(), and in
  • Iterating through sequences
  • Expanding loops with while-else and for-else
  • Nesting loops and conditional statements
  • Controlling loop execution with break and continue

Section 3: Data Collections – Tuples, Dictionaries, Lists, and Strings (25%)

Objectives covered by the block (7 exam items)

PCEP-30-02 3.1 – Collect and process data using lists

  • Constructing vectors
  • Indexing and slicing
  • The len() function
  • List methods: append(), insert(), index(), etc.
  • Functions: len(), sorted()
  • The del instruction
  • Iterating through lists with the for loop
  • Initializing loops
  • The in and not in operators
  • List comprehensions
  • Copying and cloning
  • Lists in lists: matrices and cubes

PCEP-30-02 3.2 – Collect and process data using tuples

  • Tuples: indexing, slicing, building, immutability
  • Tuples vs. lists: similarities and differences
  • Lists inside tuples and tuples inside lists

PCEP-30-02 3.3 – Collect and process data using dictionaries

  • Dictionaries: building, indexing, adding and removing keys
  • Iterating through dictionaries and their keys and values
  • Checking the existence of keys
  • Methods: keys(), items(), and values()

PCEP-30-02 3.4 – Operate with strings

  • Constructing strings
  • Indexing, slicing, immutability
  • Escaping using the \ character
  • Quotes and apostrophes inside strings
  • Multi-line strings
  • Basic string functions and methods

Section 4: Functions and Exceptions (28%)

Objectives covered by the block (8 exam items)

PCEP-30-02 4.1 – Decompose the code using functions

  • Defining and invoking user-defined functions and generators
  • The return keyword, returning results
  • The None keyword
  • Recursion

PCEP-30-02 4.2 – Organize interaction between the function and its environment

  • Parameters vs. arguments
  • Positional, keyword, and mixed argument passing
  • Default parameter values
  • Name scopes, name hiding (shadowing), and the global keyword

PCEP-30-02 4.3 – Python Built-In Exceptions Hierarchy

  • BaseException
  • Exception
  • SystemExit
  • ArithmeticError
  • NameError
  • TypeError
  • ValueError
  • IndexError
  • KeyError
  • ZeroDivisionError

PCEP-30-02 4.4 – Basics of Python Exception Handling

  • Try-except / the try-except Exception
  • Ordering the except branches
  • Propagating exceptions with raise
  • The finally clause
  • The with statement