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;
18 Cards in this Set
- Front
- Back
Parts of a computer
|
Input, CPU, main memory, secondary memory, output devices
|
|
Goal of computer science
|
To develop algorithms that can run on machines and solve problems
|
|
Compiled vs interpreted
|
In: analyzes and executes source code instruction by instruction
Com: Translates entire program into machine code first |
|
steps in developing software
|
1)Analyze problem
2)Determine specifications 3)Create design 4)Implement design 5)Test/Debug 6)Maintain the Program |
|
names/identifiers
|
all begin w/ _ or letter. Used to identify modules, functions, or variables.
|
|
expressions
|
The part of code that produces/calculates new data
|
|
variables
|
Name given to a value or expression so it can be referred to later.
|
|
assignment statements
|
An equals sign used to set a variable equal to an expression. Like putting a sticky note on a value.
|
|
output statements
|
<print()> or <.setText()>
|
|
input statements
|
input()
eval() .getText() |
|
data types
|
integers and floats
|
|
accumulator variables
|
a loop that continually changes the value of the variable to build a final value piece by piece
|
|
representing numbers
|
Stored as bits of 0/1 2^-31 to 2^31(-1). Floats can have a much larger range, but lose precision
|
|
class
|
A set of related objects. Used as a 'factory' to produce objects.
|
|
method
|
A function that lives inside an object. Used to manipulate that object.
|
|
objects
|
A program entity that has 1)data and 2)a set of operations to manipulate that data.
|
|
GUI
|
Provides visual elements for a user to interact with. (Windows/menus/buttons)
|
|
module
|
Any relatively independent part of a program. Also a file containing code that can be imported and executed.
|