Skip to main content
Python Institute

Python Institute PCEP — Certified Entry-Level Python Programmer (PCEP-30-02) - 340 Questions

By Webmaster Certland English ❤️ 0 likes

Practice exam for the Python Institute PCEP – Certified Entry-Level Python Programmer certification. Covers Python fundamentals, control flow, data collections, functions, and exceptions.

Sample Questions — Python Institute PCEP — Certified Entry-Level Python Programmer (PCEP-30-02) - 340 Questions

5 free sample questions from this practice exam. Correct answers are highlighted.

1. Which of the following best describes Python as a programming language?

A A compiled, low-level language designed for systems programming
B An interpreted, high-level, general-purpose programming language ✓ Correct
C A purely object-oriented language similar to Java
D A statically typed scripting language for web development only

2. What is the output of the following code? print(type(42))

A ✓ Correct
B
C
D

3. Which of the following is a valid Python variable name?

A 2variable
B my-variable
C my_variable ✓ Correct
D class

4. What is the result of the following expression? 10 // 3

A 3.33
B 3 ✓ Correct
C 1
D 4

5. What will the following code print? x = 'Hello' y = 'World' print(x + ' ' + y)

A Hello World ✓ Correct
B HelloWorld
C Hello World
D TypeError

Want to test yourself for real?

Create a free account and run our exam simulation engine.

Free No credit card
  • Simulation engine
  • Up to 10 questions per attempt
  • Score & basic stats
Create free account Already have an account? Sign in
Best
Premium Premium
  • All 340 questions
  • Detailed explanations
  • Smart Practice + Focus Mode
⭐ Get Premium

Related Exams

Discussion

No comments yet. Be the first to start the discussion!

Sign in to join the discussion.