The exam

35 questions, 50 minutes, and 25 right to pass

35questions, each worth the same25 right is 71.4%: a pass24 right is 68.6%: not a pass50minutes: about 86 seconds for each question5years: how long the certificate is valid. There are no prerequisites.35 questions, 50 minutes, and 25 right to pass.The pass mark is 70%. You can drop ten questions and still pass, so a question that will notcome out is not worth three minutes. Move on and come back.

35 questions, 50 minutes, 70% to pass.

The exam · Going deeper

The facts in full

Exam versionPCEP-30-03, the current one. PCEP-30-02 is the older versionWhere you sit itOnline, on TestNow, through the OpenEDG Testing ServiceQuestion typesSingle-select, multiple-select, interactive and scenario-basedPass mark70%: 25 of the 35 questionsIf you do not passA wait applies between attempts, currently seven daysValidityFive years; a new exam version does not cancel your certificatePriceDepends on the voucher and the currency; check the PCEP pageBuy the voucher from the Python Institute. Some vouchers include a second attempt.

Version PCEP-30-03, on TestNow.

The syllabus

Every objective is exactly one question

Share of the exam, and the number of questionsComputer programming and Python fundamentals17%6Control flow: conditional blocks and loops23%8Data collections: lists, tuples, sets, dictionaries and strings26%9Functions and exceptions20%7File handling and module imports14%5Every objective is exactly one question.The syllabus lists 35 objectives, and each one is tested once. Nothing is weighted twice andnothing is left out, so the syllabus is the question list. Data collections is the largest section.

Five sections. 35 objectives, 35 questions.

The syllabus · Going deeper

What changed from PCEP-30-02

PCEP-30-02 (older)PCEP-30-03 (current)Questions3035Time40 minutes50 minutesSections45FilesNot coveredText and CSV files, withModulesNot coveredimport, math and randomCollectionsLists, tuples, dictionaries, stringsThe same, and setsFormattingNot coveredf-strings, format() and %FunctionsPositional, keyword, defaultThe same, and *args, **kwargsIf a book or a practice test says four sections, it was written for the older exam.It is still useful, but it will not cover files, modules, sets or string formatting.

New: files, modules, sets, formatting.

Check yourself

Questions35Right24Pass mark70%

Is this a pass?

The questions

Most questions are a few lines of code to trace

What does this print?x = 7y = x // 2x = x % 2print(x + y)xyprinted77313134Most questions are a few lines of code to trace.Do not read the code and guess. Write a column for each name and update it line by line,as here. The wrong options are what you get from one slip, such as 3.5 for 7 // 2.

One column per name. Update it line by line.

The questions · Going deeper

Question types

TypeWhat it isNotesSingle-selectOne correct answer out of fourThe usual formMultiple-selectTwo or more correct answersThe question says how manyInteractiveYou act on the codeSuch as filling a gap or ordering linesScenario-basedA short situation, then the questionPick the code that does the jobThe question asksSo youWhat is the output?Trace the code by hand, line by lineWhich line causes an error?Check names, types and indentationWhat goes in the gap?Try each option in the gap and trace

Single-select, multiple-select, interactive, scenario.

The traps

The exam tests what code does, not what it looks like

7 / 23.5one slash always gives a float7 // 23two slashes round down'7' * 2'77'a string times a number repeats it[5, 6, 7][0:2][5, 6]a slice stops before its endlist(range(3))[0, 1, 2]range stops before its endinput()a streven when the user types a numberThe exam tests what code does, not what it looks like.Each of these is a place where Python does something other than a beginner expects.The wrong options in a question are the beginner's expectation.

/ gives a float. // rounds down. Slices stop early.

The traps · Going deeper

A plan for the 50 minutes

50 minutes, drawn to scaleFirst pass: 35 minutesone minute a question; skip any that stallSecond pass: 15 minutesthe skipped ones, then a checkTake the quick marks first.A question about what a keyword does takes twenty seconds. A nested loop to trace takes twominutes. Both are worth one mark. Answer every question: a blank cannot be right.

First pass 35 minutes. Then the skipped ones.

Check yourself

a = 7 // 2b = 7 % 2print(a + b)

What does this print?

How to study

Predict the output, then run it

Reada few linesof codePredictwrite downthe outputRunin the PythoninterpreterCompareyour answerwith Python'sExplainany difference,in one sentenceThe exam by section, with the lessons that teach each2 to 45 and 67 to 910 and 1112Predict the output, then run it.Reading about Python does not prepare you for this exam. Being wrong about ten lines ofcode, and finding out why, does. Keep an interpreter open through every lesson.

Read, predict, run, compare, explain.

How to study · Going deeper

The course, section by section

SectionNameQuestionsLessons1Computer programming and Python fundamentals62 to 42Control flow: conditional blocks and loops85 and 63Data collections: lists, tuples, sets, dictionaries and strings97 to 94Functions and exceptions710 and 115File handling and module imports512Twelve lessons: this one, then eleven that cover the 35 objectives in syllabus order.Install Python 3 from python.org, or use any online interpreter. Type the examples; do notpaste them. When every quiz in this course is easy, take a timed practice test, then book.

Twelve lessons, in syllabus order.

Check yourself

Book saysPCEP-30-02: four sections, 30 questionsBookedthe PCEP exam, next monthSyllabusnot yet read

What should the learner do first?

Lesson complete

You finished “The PCEP exam”

Answer the questions along the way to see your score here.

Open in a new tab