Midterm1 Flashcards
(60 cards)
A sequence of instruction that specifies how to preform computation
Program
The science of algorithms including discovery and analysis
Computer Science
Sequence of steps that solves a problem
Algorithm
Programming errors.
Bugs
Examples of high level languages?
Java Phython C C++ Ruby & JavaScript
Examples of low level languages
Machine Language
Why is it better to write programs in high level languages?
They are easier to program and read and they are also portable (run on different types of computers)
Reads high level languages. It does what the program says. Processes the programs a little at a time alternating reading lines and preforming computation.
The Interpreter
Reads entire program and translates it before running.
The Compiler
High level program translated to object code or executable
Source code
The process of finding and removing errors
Debugging
A special kind of object code used for Java programs. Similar to low level language but portable like high level language.
Byte Code
Part of a program that specifies one step of an algorithm. Line of code that preforms a basic operation.
Statement
A named sequence of statements
Method
A collection of related methods
Class
A part of a program that contains information about the program but has no effect when the program runs
Comment
A sequence of characters; the primary data type for text.
String
A statement that causes output to be displayed on the screen
Print Statement
A special character signifying the end of a line of text. Also known as line ending or line break
Newline
A sequence of code that represents a special character when used inside a string.
Escape Sequence
Escape sequence for a new line
\n
Escape sequence for double quote
"
Escape sequence for tab
\t
Escape sequence for backslash
\