Introduction Flashcards
Program
Instructions executed one at a time
Input
Program gets data - file, user, network, etc.
Process
Program performs computations on input data
Output
Program puts data in a file, screen, network, etc.
Computational Thinking
Creating a sequence of instructions to solve a problem
Algorithm
Sequence of instructions that solves a problem
Python Interpreter
Computer program that executes code written in Python
Interactive Interpreter
Program allows user to execute one line of code at a time
Code
Textual representation of a program
Line
Row of text
> > >
Prompt
Displayed in interactive interpreter to indicate the interpreter is ready to accept code
Statement
Program instruction, usually appearing on its own line
Expressions
Code that return a value when evaluated
Variables
Named references to values stored by interpreter
String Literal
Text enclosed in single quotes
‘hello world’