PCEP-30-02 Practice Test Compendium – Exam Block #1

Exam block #1: Computer Programming and Python Fundamentals

Study Pages

Objectives covered by the block:

PCEP 1.1 Understand fundamental terms and definitions

  • interpreting and the interpreter, compilation and the compiler, lexis, syntax and semantics

PCEP 1.2 Understand Python's logic and structure

  • keywords, instructions, indenting, comments

PCEP 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 system, variables, naming conventions, implementing PEP-8 recommendations

PCEP 1.4 Choose operators and data types adequate to the problem

  • numeric operators: **, *, /, %, //, +, –, string operators: *, +, assignments 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 1.5 Perform Input/Output console operations

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

Exam block #1: Computer Programming and Python Fundamentals

This exam block is the first section that appears in the exam. It constitutes a maximum of 18% of the overall exam score. It contains seven (7) exam items, each graded to a maximum of 20, 30, or 40 points.

Specifications

  • Section weight: 18%

  • Max raw score: 180

  • Questions drawn: 7

  • Question types: single- and multiple-choice, drag & drop, sorting, code ordering

  • Points per question: 4+4+4+4+4, 6+6+6+6+6, 7+6+7 (drag & drop, sorting, code ordering), 20, 30 (single-choice), 10+10, 20+20, 10+20, (multiple-choice)

Last updated