AP COMP SCI A Chapter 2 vocab

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/10

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

variable

a named storage location for values. All variables have a type, which is declared when the variable is created.

2
New cards

value

a number or string (or other thing to be named later) that can be stored in a variable. every value belongs to a type

3
New cards

type

a set of values. the type of a variable determines which values can be stored there. the types we have seen are integers (int in Java) and strings (Strings in Java)

4
New cards

keyword

a reserved word used by the complier to parse programs. You cannot use a keyboard, like public, class, and void as variable names

5
New cards

declaration

a statement that creates a new variable and determines it’s type

6
New cards

assignment

a statement that assigns a value to a variable

7
New cards

expression

a combination of variables, operators, and values that represent a single value. expressions also have types, as determined by their operators and operands.

8
New cards

operator

a symbol that represents a computation like addition, multiplication or string concatention

9
New cards

precedence

the order in which operations are evaluated

10
New cards

concatenate

to join two operands end-to-end

11
New cards

composition

the ability to combine simple expressions and statements into compound statements and expressions to represent complex computations concisely.