Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
19 Cards in this Set
- Front
- Back
The Central Processing Unit |
(or CPU) is that part of the computer that is |
|
The Main Memory |
is used to store information that the CPU needs in a hurry. The main memory is nearly as fast as the CPU. But the information stored in the main memory vanishes when the computer is turned off. |
|
The Secondary Memory |
is also used to store information, but it is much |
|
The Input and Output Devices |
are simply our screen, keyboard, mouse, |
|
program |
stored instructions |
|
programming |
The act of writing these instructions down and getting the instructions to be correct. |
|
programmer
What do you need? |
A person skilled in the art of programming.
-You need to know the programming language (Python) - you need to know the vocabulary and grammar, spell, construct "sentences." -You need to "tell a story." Convey an idea to the reader. In programming, our program is the "story" and the problem you are trying to solve is the "idea." |
|
"vocabulary" |
The "reserved words" These are words that have very special meaning to Python. When Python sees these words in a Python program, they have one and only one meaning to Python.
These words can not be used for anything else within Python. |
|
variables |
Words you write that you make your own word with it's own meaning.
x = 5
x is the variable and 5 and is the meaning you made the variable have.
|
|
script |
The use of a text editor to write the Python instructions into a file. The file name must end with .py |
|
program |
A sequence of Python statements that have been crafted to do something. |
|
input |
Get data from the the “outside world”. This might be reading data froma file, or even some kind of sensor like a microphone or GPS. In our initial |
|
output |
Display the results of the program on a screen or store them in a file or perhaps write them to a device like a speaker to play music or speak text. |
|
sequential execution |
Perform statements one after another in the order they are encountered in the script. |
|
conditional execution |
Check for certain conditions and execute or skip a sequence of statements. |
|
repeated execution |
Perform some set of statements repeatedly, usually with some variation. |
|
reuse |
Write a set of instructions once and give them a name and then reuse those instructions as needed throughout your program. |
|
Syntax errors |
A syntax error means that you have violated the “grammar” rules of Python.
note : Python does its best to point right at the line and character where it noticed it |
|
Logic Errors |
A logic error is when your program has good syntax but there is |