PCEP Module 1: Introduction to Programming With Python Flashcards
the fundamentals of computer programming, i.e., how the computer works, how the program is executed, how the programming language is defined and constructed; the difference between compilation and interpretation; what Python is, how it is positioned among other programming languages, and what distinguishes the different versions of Python. (61 cards)
What is the only language a computer understands directly?
Machine Language
What’s a complete list of commands called?
Instructions List
What makes a language?
Alphabet, Lexis, Syntax, Semantics
What is the name for the set of symbols used to form words in a language?
Alphabet
What is the set of words a language gives you?
Lexis
Q: What are the rules for checking if a sentence is written correctly?
Syntax
What are the rules for checking if a sentence makes sense?
Semantics
Q: What acts as the “alphabet” of machine language?
The IL, or Instructions List
Q: What’s a program written in a high-level language called?
Source Code
Q: What is the file containing source code called?
Source File
What are languages humans write in and computers can understand called?
High Level programing Languages
What are the two ways to turn high-level code into machine language?
Compilation and Interpretation
C or I: What tool turns code into a file you can share?
Compiler, or translator
C or I: What tool reads and runs code each time it’s used?
Interpreter
What is a written program called?
Computer File
Where is source code saved?
Text Files
How does an interpreter read code?
Top to Bottom, Left to Right
What happens if an interpreter finds an error?
It stops and shows an error message
C or I: Which is faster at running code: compiler or interpreter?
Compiler
C or I: Which one only the programmer needs to have installed?
Compiler
C or I: Which one stores the code in machine language?
Compiler
C or I: Which one might delay running your code?
Compiler
C or I: With a compiler, what do you need for every hardware type?
Complier
C or I: Which one runs the code right away?
Interpreter