Week 1 Flashcards
Is Python a high or low level language?
High level
What are low level languages also referred as?
low-level languages, sometimes referred to as “machine languages” or “as- sembly languages.”
Generally speaking what language do computers understand programs at?
At the low level
What is a disadvantage of a high level programming language?
Have to be processed to a lower level before they can be run.
What are the advantages of a high level programming language?
Much easier to program. Less time to write. Shorter and easier to read. More likely to be correct. Portable.
What are the two kinds of programs that process high level languages into low level?
Interpreters and compilers
What is an interpreter?
An interpreter reads high level language and executes. usually line by line.
What does a compiler do?
A compiler reads the program and translates it completely before execution.
What is problem solving?
Problem solving means the ability to formulate problems, think creatively about solutions, and express a solution clearly and accurately.
What is a program?
A sequence of instructions that specify how to perform a computation.
What are the 5 instructions that pretty much any program will use?
Input, output, math, conditional execution , and repetition
When referring to a program made through a compiler. what are the definitions for the terms below.
Source code, object code, and what is another term for object code?
Source code: high level program
Object code: translated program
Executable
Python is considered as what kind of an language?
Interpreter or compiler one?
Interpreter
What are the two ways to use the python interpreter?
Interactive and script mode
What does the chevron»_space;> in Python indicate?
Indicates interpreter is ready for code to be typed in