Docsity

Python Institute PCEP-30-02 PCEP – Certified Entry-Level Python Programmer, Exams of Technology

Partial preview of the text

Download Python Institute PCEP-30-02 PCEP – Certified Entry-Level Python Programmer and more Exams Technology in PDF only on Docsity!

Python Institute PCEP-30-

PCEP – Certified Entry-Level

Python Programmer

Question 1. For this case, the task is "recognize common syntax, type and runtime errors in short programs." In a case involving "recognize common syntax, type and runtime errors in short programs", Step B uses the verified output of Step A. Step A has not produced a verified output. Which action preserves the stated dependency?

A. Perform Step B first and treat its outcome as verification of Step A. B. Delete Step A because Step B is the final activity. C. Resolve the output of Step A before relying on it in Step B. D. Use any available output of Step A without noting its status. Correct Answer: C

Full Explanation: A dependency is not satisfied merely by scheduling the later step. If Step B requires verified input, the status of Step A’s output must be resolved before that input is relied upon.

Question 2. For this case, the task is "recognize tokens, indentation, statements and basic interpreter behavior." In a case involving "recognize tokens, indentation, statements and basic interpreter behavior", Step B uses the verified output of Step A. Step A has not produced a verified output. Which action preserves the stated dependency?

A. Perform Step B first and treat its outcome as verification of Step A. B. Delete Step A because Step B is the final activity. C. Use any available output of Step A without noting its status. D. Resolve the output of Step A before relying on it in Step B. Correct Answer: D

Full Explanation: A dependency is not satisfied merely by scheduling the later step. If Step B requires verified input, the status of Step A’s output must be resolved before that input is relied upon.

Question 3. The assignment includes this requirement: "distinguish literals, variables, assignment and dynamic types." An option for "distinguish literals, variables, assignment and dynamic types" meets the stated objective but violates a constraint that the case explicitly makes mandatory. What is the defensible evaluation?

A. The option needs revision or an authorized change before it is acceptable. B. Meeting the objective automatically cancels the mandatory constraint. C. The option is acceptable when its advantage is described clearly. D. The constraint can be omitted from the comparison if the benefit is large. Correct Answer: A

Full Explanation: An objective does not silently override an expressly mandatory condition. The option must satisfy the constraint or proceed through whatever authorized change process the case allows.

Question 7. Consider work with the objective "define and call simple functions with parameters and return values." A revised decision concerning "Define" changes an input used by another activity. What should happen before the dependent activity relies on the old input?

A. Assume the dependent activity is unaffected because it has a different name. B. Replace every part of the dependent activity without checking the relationship. C. Communicate the revision and review the dependent activity for its effects. D. Keep the old input until the dependent activity independently discovers the change. Correct Answer: C

Full Explanation: A change can propagate through a dependency even when the activities have different names. Communication and an impact review identify which downstream conclusions require revision.

Question 8. A procedure must address the task "apply numeric, comparison, logical and membership operators." A reviewer of "apply numeric, comparison, logical and membership operators" must judge whether a decision is justified. Which combination is most directly useful?

A. The chosen action and its formatting style, without the relevant conditions. B. The names of available actions, without explaining which was selected. C. The relevant conditions, chosen action and reasons connecting the two. D. The conclusion and a statement that review has already occurred. Correct Answer: C

Full Explanation: A decision can be assessed when the reviewer can see what circumstances were considered, what was chosen and why. Administrative statements or lists alone do not establish that relationship.

Question 9. A task has this requirement: "build conditional branches with if, elif and else." A judgment concerning "Build conditional branches with if, elif" depends on uncertain evidence. Which explanation best matches the strength of that evidence?

A. Present the conclusion as certain because uncertainty is common. B. Avoid any conclusion, even where part of the evidence is clear. C. Treat all possible conclusions as equally likely without comparison. D. State the supported conclusion and identify the remaining uncertainty. Correct Answer: D

Full Explanation: Uncertainty should shape the scope and confidence of a conclusion. It does not justify either unwarranted certainty or ignoring the parts that the evidence does support.

Question 10. The task under review is "manipulate strings with indexing, slicing and common methods." A conclusion on "Manipulate strings with indexing, slicing" is valid only with a stated limitation. Its summary omits that limitation, although the detailed record includes it. What is the concern?

A. A limitation in the detailed record makes every summary interpretation safe. B. The summary may invite a broader use than the underlying conclusion supports. C. The detailed record becomes invalid because it contains a limitation. D. Summaries must contain every detail to be useful. Correct Answer: B

Full Explanation: A summary can omit detail while still preserving material limits. If a limitation controls how the conclusion may be used, leaving it out changes the meaning conveyed to the reader.

Question 11. For this case, the task is "trace nested flow and predict program output." No failure is recorded for "Trace nested flow", but the record does not show whether the required examination occurred. Which interpretation is most accurate?

A. No recorded failure proves that the examination passed. B. The examination is unnecessary because the record is silent. C. A missing examination record proves the activity failed. D. The record does not establish either a passed examination or a failure. Correct Answer: D

Full Explanation: Silence can result from an unperformed check or incomplete recording. It must not be converted into either success or failure without evidence that establishes what actually occurred.

Question 12. The task includes "loop-else behavior where relevant" and "break". Several review records refer only to "loop-else behavior where relevant". What would establish coverage of the task "apply break, continue and loop-else behavior where relevant"?

A. Judge coverage only by the total number of review records. B. Use the most detailed record about "loop-else behavior where relevant" for both areas. C. Count repeated references to "loop-else behavior where relevant" as separate coverage of "break". D. Link relevant checks to both "loop-else behavior where relevant" and "break". Correct Answer: D

Full Explanation: Coverage concerns the content addressed by the evidence. Multiple records for loop-else behavior where relevant cannot substitute for evidence about break, which is also part of the stated task.

Question 16. A task has this requirement: "match coverage and version-specific objectives to the PCEP-30-02 official syllabus." After a justified action on "Match coverage", one known limitation remains. Which closeout statement is most useful?

A. Describe the action as unrestricted success because it was justified. B. Record the limitation without explaining whether it affects use of the result. C. State the outcome and the remaining limitation with its practical significance. D. Describe the entire action as unsuccessful because a limitation remains. Correct Answer: C

Full Explanation: A justified action can have a useful result while retaining limits. Naming those limits and their significance helps others use the result appropriately without overstating or dismissing it.

Question 17. The relevant work is defined as "build conditional branches with if, elif and else." A convenient indicator is used to judge "Build conditional branches with if, elif", although the case distinguishes that indicator from the required outcome. What should the evaluator establish?

A. Whether the indicator is easy to record, regardless of the outcome. B. Whether and how the indicator provides evidence of the required outcome. C. Whether the indicator can replace the outcome in the wording of the task. D. Whether the same indicator has appeared in earlier reports. Correct Answer: B

Full Explanation: An indicator can be useful without being identical to the outcome. The decision must explain the connection and any limitation, rather than treat convenience or familiarity as proof of equivalence.

Question 18. The task under review is "trace nested flow and predict program output." A conclusion on "Trace nested flow" is valid only with a stated limitation. Its summary omits that limitation, although the detailed record includes it. What is the concern?

A. The summary may invite a broader use than the underlying conclusion supports. B. Summaries must contain every detail to be useful. C. The detailed record becomes invalid because it contains a limitation. D. A limitation in the detailed record makes every summary interpretation safe. Correct Answer: A

Full Explanation: A summary can omit detail while still preserving material limits. If a limitation controls how the conclusion may be used, leaving it out changes the meaning conveyed to the reader.

Question 19. The stated objective is "interpret input, output and basic collection operations." A decision about "interpret input, output and basic collection operations" is recorded, but another reviewer cannot connect it to the evidence used. Which addition would most directly repair the record?

A. A list of alternative decisions without their supporting evidence. B. A longer list of everyone who received the completed record. C. A clear link between the relevant evidence, reasoning and decision. D. A restatement of the decision using more confident wording. Correct Answer: C

Full Explanation: Traceability requires more than a recorded outcome. Connecting evidence to reasoning explains why that outcome follows and allows another person to review the same decision path.

Question 20. A procedure must address the task "distinguish literals, variables, assignment and dynamic types." A review of "distinguish literals, variables, assignment and dynamic types" must determine whether a check occurred before an action. The record lists both events but gives no order. What evidence is most directly needed?

A. The names of everyone copied on the review. B. A statement that both events were generally expected. C. Reliable information establishing the sequence of the two events. D. More detail about the appearance of the final result. Correct Answer: C

Full Explanation: Presence and sequence are different facts. When the question concerns a prerequisite or timing relationship, the record must establish order rather than simply confirm that both events occurred.

Question 21. A practitioner is responsible for the task "apply break, continue and loop-else behavior where relevant." For "apply break, continue and loop-else behavior where relevant", Option One better meets one stated criterion while Option Two better meets another. The case provides no priority between the criteria. What is needed to select an option?

A. A declaration that both options are equivalent in every respect. B. An assumption that the easier criterion is always decisive. C. A justified priority or tradeoff rule for the competing criteria. D. A count of which option was mentioned first in the record. Correct Answer: C

Full Explanation: Different strengths do not determine a preference without a basis for weighing them. A priority or tradeoff rule connects the comparison to the purpose of the decision.

Question 25. The work instruction is "recognize common syntax, type and runtime errors in short programs." A person can gather evidence about "recognize common syntax, type and runtime errors in short programs", but the case reserves the final decision to a designated role. Which contribution stays within the assigned authority?

A. Treat a recommendation as final if no immediate objection is received. B. Issue the final decision because the person gathered the evidence. C. Provide the evidence and recommendation to the designated decision-maker. D. Withhold the evidence until the designated role reaches a decision unaided. Correct Answer: C

Full Explanation: Evidence gathering and decision authority are separate responsibilities in this case. A clear recommendation supports the designated role without silently converting advisory work into final authorization.

Question 26. A team compares two proposals for "define and call simple functions with parameters and return values." One is judged against that objective; the other is judged only against the related task "recognize common syntax, type and runtime errors in short programs". What makes the comparison valid?

A. Use a different objective for each proposal and combine their ratings. B. Choose the proposal that performs best on "recognize common syntax, type and runtime errors in short programs" alone. C. Assess both proposals against the assigned objective and relevant constraints. D. Assume the objective for "recognize common syntax, type and runtime errors in short programs" is identical to the assigned objective. Correct Answer: C

Full Explanation: A comparison for Define must use the objective that the selected proposal needs to satisfy. Performance on the related area, recognize common syntax, type and runtime errors in short programs, may be relevant but cannot silently replace that objective.

Question 27. A procedure must address the task "apply dictionaries and basic key-value lookup where covered by the published objectives." Only one part of an activity involving "apply dictionaries and basic key-value lookup where covered by the published objectives" has been examined. A proposed statement extends the finding to every part. What additional basis would be needed?

A. A statement that the unexamined parts are probably similar. B. A stronger adjective describing the examined part. C. A repeated examination of the same part with no change in coverage. D. Evidence that the examined part justifies the wider conclusion. Correct Answer: D

Full Explanation: A wider conclusion requires a reason that the observed part represents the whole or additional evidence covering the rest. Repetition and confidence cannot by themselves supply that basis.

Question 28. The stated objective is "use while and for loops with correct termination logic." In comparing options for "use while and for loops with correct termination logic", the same benefit is listed twice under different names. How should the comparison be corrected?

A. Count the repeated benefit twice only for the preferred option. B. Identify the overlap and count the underlying benefit consistently. C. Remove all benefits from the comparison to avoid any overlap. D. Retain both entries because the labels differ. Correct Answer: B

Full Explanation: Different labels do not necessarily represent different effects. Removing double counting improves the comparison without discarding genuine benefits or changing the criteria for only one option.

Question 29. The work instruction is "use lists and tuples for ordered collections and distinguish mutability." Three summaries about "use lists and tuples for ordered collections and distinguish mutability" repeat one underlying observation. A reviewer describes them as three independent confirmations. Which correction is most accurate?

A. They are three reports of one observation, unless separate evidence is shown. B. They count as independent evidence because three documents exist. C. The observation becomes invalid because several summaries repeat it. D. Only the shortest summary can be used as evidence. Correct Answer: A

Full Explanation: The number of documents does not establish the number of independent observations. Recognizing a shared basis prevents repeated reporting from being mistaken for stronger corroboration.

Question 33. A review concerns the instruction "apply break, continue and loop-else behavior where relevant." For "apply break, continue and loop-else behavior where relevant", a recipient confirms receipt of a proposed change but does not approve it. Which conclusion is established?

A. The proposal has been implemented because it reached the recipient. B. The change is rejected because approval was not stated. C. Receipt confirms agreement because both concern the same document. D. Receipt is confirmed; agreement to the proposed change is not established. Correct Answer: D

Full Explanation: Acknowledgement, agreement and implementation communicate different states. The recorded response should be interpreted according to what it actually says, without converting silence on other states into proof.

Question 34. A task has this requirement: "match coverage and version-specific objectives to the PCEP-30-02 official syllabus." A conclusion about "Match coverage" states an exact value, but the available evidence supports only a range. Which presentation is justified?

A. Discard the evidence because it does not identify one exact value. B. Keep the exact value because it is easier to compare. C. Choose the midpoint and present it as directly observed. D. Report the supported range and explain the limits on precision. Correct Answer: D

Full Explanation: The form of a conclusion should reflect what the evidence can resolve. A supported range can be useful; an exact value would imply precision that the available information does not establish.

Question 35. The work instruction is "distinguish literals, variables, assignment and dynamic types." A person can gather evidence about "distinguish literals, variables, assignment and dynamic types", but the case reserves the final decision to a designated role. Which contribution stays within the assigned authority?

A. Issue the final decision because the person gathered the evidence. B. Withhold the evidence until the designated role reaches a decision unaided. C. Provide the evidence and recommendation to the designated decision-maker. D. Treat a recommendation as final if no immediate objection is received. Correct Answer: C

Full Explanation: Evidence gathering and decision authority are separate responsibilities in this case. A clear recommendation supports the designated role without silently converting advisory work into final authorization.

Question 36. A decision is needed for this work: "interpret input, output and basic collection operations." A completed action concerning "interpret input, output and basic collection operations" produces an outcome different from the intended one. Which review is most informative?

A. Compare the intended result, actual result and assumptions underlying the action. B. Assume the result proves every earlier assumption was wrong. C. Repeat the original intention without examining the actual outcome. D. Change the intended result to match the actual result without explanation. Correct Answer: A

Full Explanation: An unexpected outcome calls for examining the link between assumptions, action and result. That comparison can identify a mistaken premise, execution issue or limit without presuming that every element failed.

Question 37. The task includes "for loops" and "while loops". Several review records refer only to "for loops". What would establish coverage of the task "use while and for loops with correct termination logic"?

A. Count repeated references to "for loops" as separate coverage of "while loops". B. Use the most detailed record about "for loops" for both areas. C. Judge coverage only by the total number of review records. D. Link relevant checks to both "for loops" and "while loops". Correct Answer: D

Full Explanation: Coverage concerns the content addressed by the evidence. Multiple records for for loops cannot substitute for evidence about while loops, which is also part of the stated task.

Question 38. The work instruction is "manipulate strings with indexing, slicing and common methods." The requirements for "Manipulate strings with indexing, slicing" change after an initial decision. Which review is needed before the earlier decision is reused?

A. Replace the whole decision without checking which parts are affected. B. Identify the changed requirement and reassess its effect on the decision. C. Compare only the document dates and retain the more recent conclusion. D. Reuse the decision if its original approval remains on the record. Correct Answer: B

Full Explanation: An earlier decision may remain partly valid, but its applicability depends on the change. An impact review preserves supported work while correcting conclusions affected by the revised requirement.

Question 42. The assignment includes this requirement: "identify variable scope and the distinction between printing and returning." A proposed control for "identify variable scope and the distinction between printing and returning" addresses a consequence but leaves the stated cause unchanged. What should the reviewer recognize?

A. Addressing the consequence automatically prevents recurrence. B. Any reduction in consequence proves that the cause has been removed. C. A control is useless unless it removes every possible cause. D. The control may limit the consequence without removing the cause. Correct Answer: D

Full Explanation: Controls can act at different points in a problem. Distinguishing mitigation from removal of a cause avoids overstating what the proposed action can achieve.

Question 43. The relevant work is defined as "build conditional branches with if, elif and else." Work on "Build conditional branches with if, elif" has two pending issues. The case states that the first must be resolved before the second can be meaningfully assessed. Which priority follows?

A. Treat both as resolved when one receives an assigned owner. B. Resolve the second first because it appears later in the workflow. C. Choose the issue that takes less time regardless of the dependency. D. Resolve the first issue so the second can be assessed on a valid basis. Correct Answer: D

Full Explanation: The priority follows from the stated dependency, not the apparent convenience or location of the issues. Resolving the prerequisite enables useful work on the dependent question.

Question 44. The task requires: "apply dictionaries and basic key-value lookup where covered by the published objectives." The review addresses "basic key-value lookup where covered by the published objectives", but provides no evidence for "dictionaries objectives". Which response completes the relevant assessment?

A. Repeat the favorable findings about "basic key-value lookup where covered by the published objectives" without expanding coverage. B. Treat evidence about "basic key-value lookup where covered by the published objectives" as establishing "dictionaries objectives". C. Obtain and assess evidence addressing "dictionaries objectives". D. Remove "dictionaries objectives" from the requirement because it is unexamined. Correct Answer: C

Full Explanation: The stated task contains both focus areas. Findings about basic key-value lookup where covered by the published objectives do not establish the status of dictionaries objectives; the missing area needs its own relevant evidence.

Question 45. One reviewer uses "complete" to mean the task "recognize common syntax, type and runtime errors in short programs" is finished. Another uses it to mean "Define" is finished. Why should the apparent agreement be clarified?

A. The same status word refers to different work and may conceal an open requirement. B. The status word makes "recognize common syntax, type and runtime errors in short programs" and "Define" equivalent. C. The two reviewers cannot record different task boundaries. D. Completion of one related task always establishes completion of the other. Correct Answer: A

Full Explanation: The word complete depends on the task boundary. recognize common syntax, type and runtime errors in short programs and Define must be distinguished so that agreement on a label is not mistaken for agreement on the same completed work.

Question 46. A result for "use lists and tuples for ordered collections and distinguish mutability" is compared directly with a result for "interpret input, output and basic collection operations". Their objectives are "use lists and tuples for ordered collections and distinguish mutability" and "interpret input, output and basic collection operations." What is needed before judging one result better?

A. A common, relevant basis that explains how the different objectives are compared. B. The date of each record without examining its objective. C. The assumption that related tasks necessarily use identical success criteria. D. The length of each task description as the success measure. Correct Answer: A

Full Explanation: The two results concern different stated work. A justified comparison must explain the criteria that make them comparable rather than assume that their shared domain supplies identical meanings.

Question 47. A task has this requirement: "recognize tokens, indentation, statements and basic interpreter behavior." After a justified action on "recognize tokens, indentation, statements and basic interpreter behavior", one known limitation remains. Which closeout statement is most useful?

A. Record the limitation without explaining whether it affects use of the result. B. State the outcome and the remaining limitation with its practical significance. C. Describe the action as unrestricted success because it was justified. D. Describe the entire action as unsuccessful because a limitation remains. Correct Answer: B

Full Explanation: A justified action can have a useful result while retaining limits. Naming those limits and their significance helps others use the result appropriately without overstating or dismissing it.

Question 51. A review concerns the instruction "recognize common syntax, type and runtime errors in short programs." A completed record for "recognize common syntax, type and runtime errors in short programs" contains evidence and a conclusion but no explanation of how they connect. What is missing?

A. A more forceful statement of the final conclusion. B. A second copy of the same evidence in a different order. C. The reasoning that shows why the conclusion follows from the evidence. D. A list of possible conclusions with no comparison among them. Correct Answer: C

Full Explanation: Evidence and conclusions are not self-connecting. An explanation identifies the relevant relationships, distinctions or conditions and makes the judgment reviewable rather than merely asserted.

Question 52. A task has this requirement: "understand expression precedence and explicit type conversion." A conclusion about "understand expression precedence and explicit type conversion" states an exact value, but the available evidence supports only a range. Which presentation is justified?

A. Discard the evidence because it does not identify one exact value. B. Choose the midpoint and present it as directly observed. C. Keep the exact value because it is easier to compare. D. Report the supported range and explain the limits on precision. Correct Answer: D

Full Explanation: The form of a conclusion should reflect what the evidence can resolve. A supported range can be useful; an exact value would imply precision that the available information does not establish.

Question 53. The relevant work is defined as "manipulate strings with indexing, slicing and common methods." For an unresolved matter in "Manipulate strings with indexing, slicing", an accountable person has been named. Which further information is needed to establish resolution?

A. A second person’s name added to the assignment. B. Confirmation that the accountable person received the assignment. C. Evidence that the required action achieved the relevant completion condition. D. The intended completion date, even without an outcome. Correct Answer: C

Full Explanation: Accountability makes follow-up possible, but it is not the same as a completed result. Resolution requires evidence of the action’s outcome against the applicable completion condition.

Question 54. A procedure must address the task "build conditional branches with if, elif and else." Only one part of an activity involving "Build conditional branches with if, elif" has been examined. A proposed statement extends the finding to every part. What additional basis would be needed?

A. A repeated examination of the same part with no change in coverage. B. Evidence that the examined part justifies the wider conclusion. C. A stronger adjective describing the examined part. D. A statement that the unexamined parts are probably similar. Correct Answer: B

Full Explanation: A wider conclusion requires a reason that the observed part represents the whole or additional evidence covering the rest. Repetition and confidence cannot by themselves supply that basis.

Question 55. A review concerns the instruction "apply break, continue and loop-else behavior where relevant." A completed record for "apply break, continue and loop-else behavior where relevant" contains evidence and a conclusion but no explanation of how they connect. What is missing?

A. A more forceful statement of the final conclusion. B. A second copy of the same evidence in a different order. C. A list of possible conclusions with no comparison among them. D. The reasoning that shows why the conclusion follows from the evidence. Correct Answer: D

Full Explanation: Evidence and conclusions are not self-connecting. An explanation identifies the relevant relationships, distinctions or conditions and makes the judgment reviewable rather than merely asserted.