Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.43 KB

File metadata and controls

37 lines (23 loc) · 1.43 KB

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

Exam block #2: Control Flow – Conditional Blocks and Loops

Study Pages

Objectives covered by the block:

PCEP 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 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.

This exam block is the second section that appears in the exam. It constitutes a maximum of 28% of the overall exam score. It contains eight (8) exam items, each graded a maximum of 20, 30, or 40 points.

Specifications

  • Section weight: 28%
  • Max raw score: 280
  • Questions drawn: 8
  • 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)