c Flashcards
What is a program
A program is a computer program that consists of instructions executing one at a time
Input
A program gets data from a file,keyboard,touchscreen, network, etc.
Process
A program performs computations on that data such as adding two values like x+y
Output
A program that puts data somewhere such as to a file, screen or network.
Variables
Programs use these to refer to data like x
Computational Thinking
creating a sequence of intstructions to solve a problem
Algorithm
a sequence of instructions that solve a problem
Python interperter
A computer program that executes code written in the python language
line
row of text
prompt
the interactive interpreter displays a prompt in whihch indicates the interpreter is ready to acccept the code.
statement
program instruction
Expressions
code that return a value when evaluated
assignment
a new variable is created by performing an assignment using the = symbol
print()
displays variables or expression values
comments
done by which are optional but helps explain the code