PCEP Question and answers verified to pass PCEP
What is true about compilation? - correct answer 1. The code is converted directly into machine code executable by the processor
2. It tends to be faster than interpretation
What is CPython? - correct answer It's the default, reference i...
PCEP
What is true about compilation? - correct answer ✔1. The code is converted
directly into machine code executable by the processor
2. It tends to be faster than interpretation
What is CPython? - correct answer ✔It's the default, reference
implementation of Python, written in the C language
What are the four fundamental elements that make a language? - correct
answer ✔An alphabet, A lexis, A syntax, and semantics
What do you call a file containing a program written in a high-level
programming language? - correct answer ✔A Source File
What do you call a command-line interpreter which lets you interact with your
OS and execute Python commands and scripts? - correct answer ✔A
console
What is the expected behavior of the following program?
print("Hello!") - correct answer ✔The program will output Hello! to the screen
What is the best definition of a script? - correct answer ✔It's a text file that
contains instructions which make up a Python program
What is the expected behavior of the following program?
prin("Goodbye!") - correct answer ✔The program will generate an error
message on the screen
, What is machine code? - correct answer ✔A low-level programming
language consisting of binary digits/bits that the computer reads and
understands
Select the true statements:
a. Python is a good choice for creating and executing tests for applications
b. Python 3 is backwards compatible with Python 2
c. Python is a good choice for low-level programming e.g. when you want to
implement an effective driver
d. Python is free, open-source, and multiplatform - correct answer ✔a.
Python is a good choice for creating and executing tests for applications
d. Python is free, open-source, and multiplatform
Python is an example of: - correct answer ✔A high-level programming
language
A complete set of known commands is called: - correct answer ✔An
instruction list (IL)
What is a source code? - correct answer ✔A program written in a high-level
programming language
What do you call a computer program which directly executes instructions
written in a programming language? - correct answer ✔An interpreter
What Python version is covered in this course? - correct answer ✔Python 3
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller flyhigher329. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £10.76. You're not tied to anything after your purchase.