PCEP-30-02 Certification Study Guide Python Institute Entry-Level Programmer Exam Prep & P, Exams of Advanced Education

PCEP-30-02 Certification Study Guide Python Institute Entry-Level Programmer Exam Prep & Practice Questions 2026-13.docx

Typology: Exams

2025/2026

Available from 06/15/2026

Toperthetop
Toperthetop 🇬🇧

3

(6)

27K documents

1 / 13

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
PCEP-30-02 Certification Study Guide | Python Institute Entry-Level
Programmer Exam Prep & Practice Questions 2026
interpreting (1.1) - correct answer ✔✔translating and executing high-level
programming language directly into machine code line by line
Interpreter (1.1) - correct answer ✔✔CPython
reads code line by line and translates it into machine-understandable
language, and executes it
Compilation (1.1) - correct answer ✔✔Translates the entire source code into
machine code or bytecode before execution
Compiler (1.1) - correct answer ✔✔Program that does the compilation for the
entire source code before executing
Lexis (1.1) - correct answer ✔✔Dictionary of a programming language
Syntax (1.1) - correct answer ✔✔Grammar of a programming language
Semantics (1.1) - correct answer ✔✔The meaning behind the code. i.e. what
the code does
keywords (1.2) - correct answer ✔✔They have specific meanings in python
and cant be used as variables or functions
instructions (1.2) - correct answer ✔✔Each line of code operates one at a
time from the top down
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download PCEP-30-02 Certification Study Guide Python Institute Entry-Level Programmer Exam Prep & P and more Exams Advanced Education in PDF only on Docsity!

PCEP-30-02 Certification Study Guide | Python Institute Entry-Level Programmer Exam Prep & Practice Questions 2026 interpreting (1.1) - correct answer ✔✔translating and executing high-level programming language directly into machine code line by line Interpreter (1.1) - correct answer ✔✔CPython reads code line by line and translates it into machine-understandable language, and executes it Compilation (1.1) - correct answer ✔✔Translates the entire source code into machine code or bytecode before execution Compiler (1.1) - correct answer ✔✔Program that does the compilation for the entire source code before executing Lexis (1.1) - correct answer ✔✔Dictionary of a programming language Syntax (1.1) - correct answer ✔✔Grammar of a programming language Semantics (1.1) - correct answer ✔✔The meaning behind the code. i.e. what the code does keywords (1.2) - correct answer ✔✔They have specific meanings in python and cant be used as variables or functions instructions (1.2) - correct answer ✔✔Each line of code operates one at a time from the top down

Indentation (1.2) - correct answer ✔✔Tabs used to visually organize code Comments (1.2) - correct answer ✔✔#provide people reading the code some perspective Literals (1.3) - correct answer ✔✔Integers Floating-point numbers Strings Booleans Boolean (1.3) - correct answer ✔✔True or False 0 or 1 BooLean Integer (1.3) - correct answer ✔✔Whole number int() Floating-point numbers (1.3) - correct answer ✔✔Number has a decimal float() Scientific notation (1.3) - correct answer ✔✔a number as the product of a coefficient and a power of 10 300,000 == 3 x 10^ Strings (1.3) - correct answer ✔✔" 'Data in parenthesis' " Can add quotes inside quotes by alternating between single and double quotes or using escape character \ str()

Break lines using parentheses or backslashes for readability. Import modules on separate lines. Avoid wildcard imports (from module import *). Use comments to explain non-obvious code. Keep comments concise and meaningful. ** (1.4) - correct answer ✔✔Exponential Base then exponent

  • numeric (1.4) - correct answer ✔✔Multiply / (1.4) - correct answer ✔✔Division Always returns a float % (1.4) - correct answer ✔✔Modulo remainder after division // (1.4) - correct answer ✔✔Floor Division Will return integer if both parents are integers Will round down
  • numeric (1.4) - correct answer ✔✔Add
  • (1.4) - correct answer ✔✔Subtract
  • string (1.4) - correct answer ✔✔Concatenate
  • string (1.4) - correct answer ✔✔Repeat a string a specified amount assignment operator (1.4) - correct answer ✔✔assigns a value to something = shortcut operators (1.4) - correct answer ✔✔assigns a value while performing an action i.e. x += 3 is equivalent to x = x + 3 Unary Operator (1.4) - correct answer ✔✔- negative numeric value ++ increase a value by 1 -- decrease a value by 1 ! inverts boolean values ~ inverts bits Binary operator (1.4) - correct answer ✔✔an operator that requires two operands - one on each side Numeric Operator Priority (1.4) - correct answer ✔✔Sub expressions Unary **
  • / // %

~ (1.4) - correct answer ✔✔performs a NOT operation flips the bits

> (1.4) - correct answer ✔✔greater than >= (1.4) - correct answer ✔✔greater than or equal to < (1.4) - correct answer ✔✔less than <= (1.4) - correct answer ✔✔less than or equal to floating-point number accuracy (1.4) - correct answer ✔✔uses a fixed amount of bits so accuracy is limited if absolute accuracy is needed use fixed-point arithmetic or decimal arithmetic type casting (1.4) - correct answer ✔✔Converting data from one type to another, e.g., from string to int, potentially losing information. print() (1.5) - correct answer ✔✔Displays data to user input() (1.5) - correct answer ✔✔Prompts user to input data to the console Answers are always a string sep= (1.5) - correct answer ✔✔Keyword that separates each argument in the print function end= (1.5) - correct answer ✔✔Keyword that ends a print function after all the arguments are passed

int() (1.5) - correct answer ✔✔Turns a number into a whole number float() (1.5) - correct answer ✔✔turns a number into a decimal number if: (2.1) - correct answer ✔✔Performs a function if an argument is true else: (2.1) - correct answer ✔✔Performs the next specified function if an if statement is false elif: (2.1) - correct answer ✔✔Performs an if statement if the prior if statement is false the pass instruction (2.2) - correct answer ✔✔placeholder for syntax while: (2.2) - correct answer ✔✔perform function until it isn't true for (2.2) - correct answer ✔✔ITERATE through a sequence and can check to see if a variable is IN a specific RANGE while-else (2.2) - correct answer ✔✔perform an action when the while is no longer true for-else (2.2) - correct answer ✔✔perform an action once the for loop is done nesting loops and conditional statements (2.2) - correct answer ✔✔combining for, if, while loops to create more intricate filters break (2.2) - correct answer ✔✔used in a loop to stop the loop if certain conditions are met

slice() (3.1) - correct answer ✔✔Use square brackets and colon to slice items out of a list [1:-1] You can slice a list to make a new copy of it in (3.1) - correct answer ✔✔Use to find if a list contains a specified value not in (3.1) - correct answer ✔✔Use to find if a list doesn't contain a specified value list comprehensions (3.1) - correct answer ✔✔Concise way to create lists with expressions for each iterable item matrices (3.1) - correct answer ✔✔list inside a list 2D array cube (3.1) - correct answer ✔✔list in a list in a list 3D array tuples (3.2) - correct answer ✔✔Immutable list (cannot be changed) (Uses Parentheses) dictionaries (3.3) - correct answer ✔✔{consists of keys and values in curly brackets} "key": "value", "key2" : "value2": .copy() (3.3) - correct answer ✔✔to copy a dictionary

.clear() (3.3) - correct answer ✔✔to empty a dictionary .popitem() (3.3) - correct answer ✔✔Removes the last inserted key-value pair .keys() (3.3) - correct answer ✔✔shows the keys of a dictionary .items() (3.3) - correct answer ✔✔shows the items in a dictionary which is the key + value .values() (3.3) - correct answer ✔✔shows the values of a dictionary def (4.1) - correct answer ✔✔definition creates new function adding return makes it so it also returns a value instead of just executing return (4.1) - correct answer ✔✔returns the value in a function and doesn't allow printing It either returns a value or returns None Scope - correct answer ✔✔anything inside a definition not available outside the definition unless you add the global keyword with the variable name None keyword (4.1) - correct answer ✔✔absence of a value used when a function need to return a value but doesn't have a meaningful result

Abstract exceptions (4.3) - correct answer ✔✔serve as base classes for other exceptions ArithmeticError (4.3) - correct answer ✔✔Base class for all errors that occur for numeric calculation. LookupError (4.3) - correct answer ✔✔Raised when a key or index can't be found IndexError (4.3) - correct answer ✔✔Raised when an index is not found in a sequence. KeyError (4.3) - correct answer ✔✔Raised when a dictionary key is not found TypeError (4.3) - correct answer ✔✔Raised when an operation or function is applied to an object of inappropriate type. ValueError (4.3) - correct answer ✔✔Raised when there is a invalid value in a specified data type Try-except (4.4) - correct answer ✔✔Used to catch and handle exceptions Order of except branches (4.4) - correct answer ✔✔completed sequentially Propagation exceptions (4.4) - correct answer ✔✔Exceptions will continue to propagate through successive function calls until caught by a try-except block or until it terminates the program. Delegating responsibility for handling exceptions (4.4) - correct answer ✔✔Allows errors to be handled at the appropriate level