



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
PCEP-30 Module 1 Introduction to Python & Computer Programming Study Guide & Practice Questions 2026-5.docx
Typology: Exams
1 / 5
This page cannot be seen from the preview
Don't miss anything!




PCEP-30 Module 1: Introduction to Python & Computer Programming | Study Guide & Practice Questions 2026 python is an example of a ________ (high) level programming language - correct answer ✔✔high level programming language Computers have their own language, too, called ___________ (Mach) language; which are developed by humans - correct answer ✔✔machine language A complete set of known commands is called an ___________ (instu) list, sometimes abbreviated to IL - correct answer ✔✔instruction list Just as people use a number of very different languages, machines have many different languages, too. The difference, though, is that human languages developed naturally - correct answer ✔✔true what 4 things make up language? (alphabet, lexis, syntax, semantics) - correct answer ✔✔- alphabet
a set of rules used to determine if a certain string of words forms a valid sentence (syntax) - correct answer ✔✔syntax a set of rules determining if a certain phrase makes sense (semantics) - correct answer ✔✔semantics what bridges the gap between machine language and natural language? (programming language) - correct answer ✔✔programming language low level programming language consisting of binary digits / bits that the computer reads and understands (machine code) - correct answer ✔✔machine code A program written in a high-level programming language is called a __________ (source) code (in contrast to the machine code executed by computers). Similarly, the file containing the source code is called the source file - correct answer ✔✔source code what are two different ways of transforming a program from a high-level programming language into machine language (compilation, interpretation) - correct answer ✔✔- compilation
where will you not see python? (low-level programming, applications for mobile devices) - correct answer ✔✔low-level programming, applications for mobile devices what are the 2 main types of Python? (Python 2, Python 3) - correct answer ✔✔Python 2, Python 3 Python __________ (3) is the newer (or to be more precise, the current) version of the language. It's going through its own evolutionary path, creating its own standards and habits - correct answer ✔✔Python 3 Python 2 and Python 3 are ___________ (not) compatible with each other - correct answer ✔✔not compatible Python 3 isn't just a better version of Python 2 - it is a completely different language - correct answer ✔✔true all the newer versions of Python 3 are __________ (backward) compatible with the previous versions of Python 3; example, Python 3.4, Python 3.6, Python 3.7, and Python 3.8 - correct answer ✔✔backward compatible why the PSF implementation is often referred to as ____________ (CPython). This is the most influential Python among all the Pythons in the world - correct answer ✔✔CPython the default implementation of the python programming language (CPython) - correct answer ✔✔CPython default, reference implementation of Python, written in the C langauge (CPython) - correct answer ✔✔CPython
This is what 'Cython' is intended to do - to automatically translate the Python code (clean and clear, but not too swift) into "C" code (complicated and talkative, but agile). - correct answer ✔✔true Jython can communicate with existing Java infrastructure more effectively. This is why some projects find it useful and necessary. Note: the current Jython implementation follows Python 2 standards. There is no Jython conforming to Python 3, so far - correct answer ✔✔Java infrastructure; Jython Do not try to use typographic quotes (curved, curly, smart, etc.), used by advanced text processors, as Python doesn't accept them - correct answer ✔✔true an acronym that stands for 'Integrated Development and Learning Environment' for Python (IDLE) - correct answer ✔✔IDLE tool that lets you launch your code step by step, and inspect it at each moment of execution (debugger) - correct answer ✔✔debugger what is an example of a Python file extension? (py) - correct answer ✔✔py what do you call a 'command-line interpreter' which lets you interact with the operating system and execute python commands and scripts (console) - correct answer ✔✔console