Download - Intro flash cards

Transcript
Page 1: Intro flash cards

AP Computer Science Intro Flash Cards

Mrs. Lorelei Howard

Page 2: Intro flash cards

Problem-solving Formulating a problem, finding a

solution, and expressing the solution

Page 3: Intro flash cards

High-level language Language that is easy to read and understand!

Page 4: Intro flash cards

Low-level language Easy for the computer to run. (machine

language or assembly)

Page 5: Intro flash cards

Formal language Designed for a specific purpose. Programming

languages are considered formal.

Page 6: Intro flash cards

Natural Language Languages people speak! Do you speak

Java?

Page 7: Intro flash cards

Portability A program that can run of more than 1 kind of computer

Page 8: Intro flash cards

Interpret To translate a high-level language one

line at a time.

Page 9: Intro flash cards

compile Translate high-level to low-level all at once—so that the program may be

executed.

Page 10: Intro flash cards

Source code High-level language program before it is

compiled

Page 11: Intro flash cards

Object code Output of the compiler—translated

program.

Page 12: Intro flash cards

executable Object code that is ready to run. Usually

Page 13: Intro flash cards

Byte code Java object code. Like low-level, but it is

portable

Page 14: Intro flash cards

statement Part of a program that needs computation

(working out—causes something to happen)

Page 15: Intro flash cards

Print statement Causes output to appear on the screen

Page 16: Intro flash cards

comment Contains information about the succeeding statements (explains what is happening in the code).

No effect on the actual program.

Page 17: Intro flash cards

method Collection of statements

Page 18: Intro flash cards

class Named collection of methods

Page 19: Intro flash cards

library Collection of class and method definitions

Page 20: Intro flash cards

bug Error in the program

Page 21: Intro flash cards

syntax Structure of a program (like punctuating a sentence correctly)

Page 22: Intro flash cards

semantics Meaning of a program

Page 23: Intro flash cards

parse To look through and examine a program

Page 24: Intro flash cards

Syntax error Error which does not allow the program to

compile.

Page 25: Intro flash cards

ExceptionOr

Run-time Error

Program fails at run-time

Page 26: Intro flash cards

Logic Error Program does not do what it is supposed to do! (The computer only does what

you tell it to do )

Page 27: Intro flash cards

debugging Getting rid of syntax, run-time and logic

errors.

Page 28: Intro flash cards

French Braces{ }

Used in Java to group things together

Page 29: Intro flash cards

// Signifies the beginning of a comment


Top Related