click below
click below
Normal Size Small Size show me how
Unit4 Loops vocab
Vocabulary
| Question | Answer |
|---|---|
| Source Code | A program in a high-level language, before being compiled |
| Statement | A part of a program that specifies a computation |
| Method | A named collection of statements. |
| Syntax Error | An error in a program that makes it impossible to parse (and therefore impossible to compile). |
| Parse | To examine a program and analyze the syntactic structure. |
| Exception | An error in a program that makes it fail at run-time. Also called a run-time error. |
| Logic Error | An error in a program that makes it do something other than what the programmer intended. |
| Debugging | The process of finding and removing any of the three kinds of errors. |
| Declaration | A statement that creates a new variable and determines its type. |
| Assignment | A statement that assigns a value to a variable. |
| Operator | A symbol that represents a computation like addition, multiplication or string concatenation. |
| Concatenate | The operation of joining two strings together. |
| Initialization | A statement that declares a new variable and assigns a value to it at the same time. |
| Parameter | A piece of information a method requires before it can run. They are variables, contain values, and have types. |
| Argument | A value that you provide when you invoke a method. This value must have the same type as the corresponding parameter. |
| Casting | Taking an Object of one particular type and “turning it into” another Object type. |
| Truncate | To shorten it, or cut part of it off.the term is often used in reference to data types or variables, such as floating point numbers and strings. |