Download - Intro flash cards
AP Computer Science Intro Flash Cards
Mrs. Lorelei Howard
Problem-solving Formulating a problem, finding a
solution, and expressing the solution
High-level language Language that is easy to read and understand!
Low-level language Easy for the computer to run. (machine
language or assembly)
Formal language Designed for a specific purpose. Programming
languages are considered formal.
Natural Language Languages people speak! Do you speak
Java?
Portability A program that can run of more than 1 kind of computer
Interpret To translate a high-level language one
line at a time.
compile Translate high-level to low-level all at once—so that the program may be
executed.
Source code High-level language program before it is
compiled
Object code Output of the compiler—translated
program.
executable Object code that is ready to run. Usually
Byte code Java object code. Like low-level, but it is
portable
statement Part of a program that needs computation
(working out—causes something to happen)
Print statement Causes output to appear on the screen
comment Contains information about the succeeding statements (explains what is happening in the code).
No effect on the actual program.
method Collection of statements
class Named collection of methods
library Collection of class and method definitions
bug Error in the program
syntax Structure of a program (like punctuating a sentence correctly)
semantics Meaning of a program
parse To look through and examine a program
Syntax error Error which does not allow the program to
compile.
ExceptionOr
Run-time Error
Program fails at run-time
Logic Error Program does not do what it is supposed to do! (The computer only does what
you tell it to do )
debugging Getting rid of syntax, run-time and logic
errors.
French Braces{ }
Used in Java to group things together
// Signifies the beginning of a comment