PE1: Mod 1
Mod 1: What do you call a command-line interpreter which lets you interact with your OS and execute Python commands and scripts?
A compiler
Mod 1: What do you call a tool that lets you launch your code step-by-step and inspect it at each moment of execution?
A debugger
Mod 1: What is machine code?
A low-level programming language consisting of binary digits/bits that the computer reads and understands
Mod 1: What is the definition of a script?
It's a text file that contains instructions which make up a Python program
Mod 1: Python is free, _________, and multiplatform
open source
Mod 1: What is source code?
A program written in a high-level programming language
Mod 1: What do you call a file containing a program written in a high-level programming level?
A source file
Mod 1: What is IDLE?
An acronym that stands for Integrated Development and Learning Environment for Python
Mod 1: What are the four fundamental elements that make a language?
An alphabet, a lexis, a syntax, and semantics
Mod 1: A complete set of commands is called:
An instruction list
Mod 1: What do you call a computer program which directly executes instructions written in a programming language?
An interpreter
Mod 1: Python is a good choice for creating and executing tests for __________?
Applications
Mod 1: How did Python, the programming language, get its name?
Guido van Rossum named it to honor Monty Python's Flying Circus, a BBC comedy series popular in the 1970's
Mod 1: Python is an example of:
High-level programming language
Mod 1: What version of Python is covered in this course?
Python 3
Mod 1: What is CPython?
The default implementation of the Python programming language
Mod 1: What is CPython?
The default implementation of the Python programming language, reference implementation of the C language, written in Python
Mod 1: What is the expected behavior of the following program? prin("Goodbye!")
The program will generate an error message on the screen
Mod 1: What is the expected behavior of the following program?\ print("Hello!")
The program will output Hello! to the screen
Mod 1: What is the Python file extension?
py
Mod 1: What is true about compilation?
The code is converted into machine code executable by the processor, it tends to be faster than interpretation