• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

PCEP | Certified Entry-Level Python Programmer Certification Study Guide Exam.

Document preview thumbnail
Preview 2 out of 7 pages

PCEP | Certified Entry-Level Python Programmer Certification Study Guide Exam. Syntax - CORRECT ANSWER A set of rules used to determine if a certain string of words form a valid sentence. *Syntactically-each language has its rules and they must be obeyed. Semantics - CORRECT ANSWER A set of rules determining if a certain phrase makes sense. *Semantically-the program has to make sense. Lexis - CORRECT ANSWER (Aka Dictionary) as set of words the language offers its users. *Lexically-each programming language has its dictionary and you need to master it. Interpreting - CORRECT ANSWER you can translate the source program each time it has to be run; the program performing this kind of transformation is called an interpreter. As it interprets the code every time it is intended to be executed; it also means that you cannot just distribute the source code as-is, because the end-user needs the interpreter to execute it. *Python is an interpreted Language Interpreter - CORRECT ANSWER An interpreter is a program that reads and executes code -An interpreter will: 1. Check if all subsequent lines are correct 2. if an error is found d the interpreter stops and an error message is made. 3. the interpreter lets you know where the error is located and what caused it. 4. If the line is good the interpreter tries to execute it. *Each line is usually executed separately. Compilation - CORRECT ANSWER The source program is translated once (however, this act must be repeated each time you modify the source code) by getting a file (e.g. an .exe if the code is intended to be run under windows) containing the machine code; now you can distribute the file worldwide. Compiler - CORRECT ANSWER The program that performs the translation is called a compiler or translator. Python keywords - CORRECT ANSWER Keywords are the reserved words in Python *True, False, is, if, in, elif, etc. Indenting - CORRECT ANSWER Leading white-space (spaces or tabs) at the beginning of a logical line is used to compute the indentation level of the line, which in turn is used to determine the grouping of statements. Literals - CORRECT ANSWER A literal is data whose values are determined by the literal itself. *[123] is a literal, and [C] is not. Boolean - CORRECT ANSWER A Boolean expression (or logical expression) evaluates to one of two states, True or False. Python provides the Boolean type that can be either False or True. Many functions and operations return Boolean objects. The not keywords can also be used to inverse a Boolean type.

Content preview

PCEP | Certified Entry-Level Python
Programmer Certification Study Guide
Exam.

Syntax - CORRECT ANSWER A set of rules used to determine if a certain string of words form a valid
sentence.



*Syntactically-each language has its rules and they must be obeyed.



Semantics - CORRECT ANSWER A set of rules determining if a certain phrase makes sense.



*Semantically-the program has to make sense.



Lexis - CORRECT ANSWER (Aka Dictionary) as set of words the language offers its users.



*Lexically-each programming language has its dictionary and you need to master it.



Interpreting - CORRECT ANSWER you can translate the source program each time it has to be run; the
program performing this kind of transformation is called an interpreter. As it interprets the code every
time it is intended to be executed; it also means that you cannot just distribute the source code as-is,
because the end-user needs the interpreter to execute it.



*Python is an interpreted Language



Interpreter - CORRECT ANSWER An interpreter is a program that reads and executes code



-An interpreter will:

1. Check if all subsequent lines are correct

, 2. if an error is found d the interpreter stops and an error message is made.

3. the interpreter lets you know where the error is located and what caused it.

4. If the line is good the interpreter tries to execute it.



*Each line is usually executed separately.



Compilation - CORRECT ANSWER The source program is translated once (however, this act must be
repeated each time you modify the source code) by getting a file (e.g. an .exe if the code is intended to
be run under windows) containing the machine code; now you can distribute the file worldwide.



Compiler - CORRECT ANSWER The program that performs the translation is called a compiler or
translator.



Python keywords - CORRECT ANSWER Keywords are the reserved words in Python



*True, False, is, if, in, elif, etc.



Indenting - CORRECT ANSWER Leading white-space (spaces or tabs) at the beginning of a logical line is
used to compute the indentation level of the line, which in turn is used to determine the grouping of
statements.



Literals - CORRECT ANSWER A literal is data whose values are determined by the literal itself.



*[123] is a literal, and [C] is not.



Boolean - CORRECT ANSWER A Boolean expression (or logical expression) evaluates to one of two
states, True or False.



Python provides the Boolean type that can be either False or True. Many functions and operations
return Boolean objects. The not keywords can also be used to inverse a Boolean type.

Document information

Uploaded on
April 6, 2025
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ROSEGRADES
3.4
(35)
Sold
236
Followers
87
Items
12121
Last sold
3 weeks ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions