CSA Test 1 Review Definitions

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

Algorithm

1 / 39

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

40 Terms

1

Algorithm

A step-by-step description of how to accomplish a task.

New cards
2

Program

A list of instructions to be carried out by a computer.

New cards
3

Digital

Based on numbers that increase in discrete increments, such as the integers 0, 1, 2, 3, etc.

New cards
4

Binary Number

A number composed of just 0s and 1s, also known as a base-2 number.

New cards
5

Program Execution

The act of carrying out the instructions contained in a program.

New cards
6

Compiler

A program that translates a computer program written in one language into an equivalent program in another language (often, but not always, translating from a high-level language into machine language).

New cards
7

Java Virtual Machine (JVM)

A theoretical computer whose machine language is the set of Java bytecodes.

New cards
8

Java Runtime

A program that executes compiled Java bytecodes.

New cards
9

Java Class Libraries

The collection of preexisting Java code that provides solutions to common programming problems.

New cards
10

Console Window

A special text-only window in which Java programs interact with the user.

New cards
11

Class

A unit of code that is the basic building block of Java programs.

New cards
12

Method

A program unit that represents a particular action or computation.

New cards
13

Statement

An executable snippet of code that represents a complete command.

New cards
14

Identifier

A name given to an entity in a program, such as a class or method.

New cards
15

Comment

Text that programmers include in a program to explain their code. The compiler ignores comments.

New cards
16

Decomposition

A separation into discernible parts, each of which is simpler than the whole.

New cards
17

Iterative Enhancement

The process of producing a program in stages, adding new functionality at each stage. A key feature of each iterative step is that you can test it to make sure that piece works before moving on.

New cards
18

Static Method

A block of Java statements that is given a name.

New cards
19

Method Call

A command to execute another method, which causes all of the statements inside that method to be executed.

New cards
20

Flow of Control

The order in which the statements of a Java program are executed.

New cards
21

Data Type

A name for a category of data values that are all related, as in type int in Java, which is used to represent integer values.

New cards
22

Expression

A simple value or a set of operations that produces a value.

New cards
23

Evaluation

The process of obtaining the value of an expression.

New cards
24

Operator

A special symbol (like + or *) that is used to indicate an operation to be performed on one or more values.

New cards
25

Precedence

The binding power of an operator, which determines how to group parts of an expression.

New cards
26

Variable

A memory location with a name and a type that stores a value.

New cards
27

Declaration

A request to set aside a new variable with a given name and type.

New cards
28

String Concatenation

Combining several strings into a single string, or combining a string with other data into a new, longer string.

New cards
29

Control Structure

A syntactic structure that controls other statements.

New cards
30

Scope

The part of a program in which a particular declaration is valid.

New cards
31

Local Variable

A variable declared inside a method that is accessible only in that method.

New cards
32

Localizing Variables

Declaring variables in the innermost (most local) scope possible.

New cards
33

Infinite Loop

A loop that never terminates.

New cards
34

Pseudocode

English-like descriptions of algorithms. Programming with pseudocode involves successively refining an informal description until it is easily translated into Java.

New cards
35

Class Constant

A named value that cannot be changed. A class constant can be accessed anywhere in the class (i.e., its scope is the entire class).

New cards
36

Class Header

public class MyClass{}

<pre><code class="language-java">public class MyClass{}</code></pre><p></p>
New cards
37

Method Header

public static void MyMethod{}

<pre><code>public static void MyMethod{}</code></pre><p></p>
New cards
38

string precedence

string → double → int

New cards
39

Initializing Variable

assigning a value to the variable

New cards
40

Declaring Variable

showing the variable exists without assigning a value

New cards

Explore top notes

note Note
studied byStudied by 4 people
... ago
5.0(1)
note Note
studied byStudied by 17 people
... ago
5.0(1)
note Note
studied byStudied by 55 people
... ago
5.0(1)
note Note
studied byStudied by 56 people
... ago
4.0(1)
note Note
studied byStudied by 26 people
... ago
4.0(1)
note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 105 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (46)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (40)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (35)
studied byStudied by 8 people
... ago
5.0(1)
flashcards Flashcard (74)
studied byStudied by 33 people
... ago
4.0(1)
flashcards Flashcard (20)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (29)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (36)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (64)
studied byStudied by 24 people
... ago
5.0(1)
robot