Python Certified Entry-Level Programmer (PCEP): Module 1
What is true about compilation? (Select two answers)
(1) It tends to be faster than interpretation. (2) The code is converted directly into machine code executable by the processor.
Select the true statements? (Select two answers)
(1) Python is free, open-source, and multiplatform. (2) Python is a good choice for creating and executing tests for applications.
What do you call a command-line interpreter which lets you interact with your OS and execute Python commands and scripts?
A console
What is machine code?
A low-level programming language consisting of binary digits/bits that the computer reads and understands.
What do you call a file containing a program written in a high-level programming language?
A source file
What are the four fundamental elements that make a language?
An alphabet, a lexis, a syntax, and semantics
What is the best definition of a script?
It's a text file that contains instructions which make up a Python program.
What is CPython?
It's the default, reference implementation of Python, written in the C language.
What is the expected behavior of the following program? prin("Goodbye!")
The program will generate an error message on the screen.
What is the expected behavior of the following program? print("Hello!")
The program will output Hello! to the screen.