

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Python Institute PCEP-30-02 Exam Certified Entry-Level Python Programmer Study Guide & Practice Questions 2026-3.docx
Typology: Exams
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Python Institute PCEP-30-02 Exam | Certified Entry-Level Python Programmer Study Guide & Practice Questions 2026 A set of rules which defines the ways in which words can be coupled in sentences is called: A. lexis B. syntax C. semantics D. dictionary - ANS ✔✔Answer: B Which of the following expressions evaluate to a non-zero result? (Select two answers.) A.23/A- B.4/23- C.13/4- D.14//2*3 - ANS ✔✔Answer: AB Python Is an example of which programming language category? A. interpreted B. assembly C. compiled D. machine - ANS ✔✔Answer: A What is true about tuples? (Select two answers.) A. Tuples are immutable, which means that their contents cannot be changed during their lifetime. B. The len { } function cannot be applied to tuples. C. An empty tuple is written as { }.
D. Tuples can be indexed and sliced like lists. - ANS ✔✔Answer: A, D What is true about exceptions and debugging? (Select two answers.) A. A tool that allows you to precisely trace program execution is called a debugger. B. If some Python code is executed without errors, this proves that there are no errors in it. C. One try-except block may contain more than one except branch. D. The default (anonymous) except branch cannot be the last branch in the try-except block. - ANS ✔✔Answer: A, C Which of the following are the names of Python passing argument styles? (Select two answers.) A. keyword B. reference C. indicatory D. positional - ANS ✔✔Answer: A, D How many hashes (+) does the code output to the screen? A. one B. zero (the code outputs nothing) C. five D. three - ANS ✔✔Answer: C What happens when the user runs the following code? A. The code outputs 3.