AP COMP SCI A Chapter 2 vocab

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

variable

1 / 10

encourage image

There's no tags or description

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

11 Terms

1

variable

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

New cards
2

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

New cards
3

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)

New cards
4

keyword

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

New cards
5

declaration

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

New cards
6

assignment

a statement that assigns a value to a variable

New cards
7

expression

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

New cards
8

operator

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

New cards
9

precedence

the order in which operations are evaluated

New cards
10

concatenate

to join two operands end-to-end

New cards
11

composition

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

New cards

Explore top notes

note Note
studied byStudied by 83 people
... ago
5.0(1)
note Note
studied byStudied by 16332 people
... ago
4.9(156)
note Note
studied byStudied by 131 people
... ago
5.0(1)
note Note
studied byStudied by 13 people
... ago
5.0(1)
note Note
studied byStudied by 208 people
... ago
5.0(1)
note Note
studied byStudied by 35 people
... ago
5.0(1)
note Note
studied byStudied by 81 people
... ago
5.0(1)
note Note
studied byStudied by 41100 people
... ago
4.9(218)

Explore top flashcards

flashcards Flashcard (85)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (21)
studied byStudied by 13 people
... ago
5.0(1)
flashcards Flashcard (98)
studied byStudied by 26 people
... ago
5.0(1)
flashcards Flashcard (100)
studied byStudied by 10 people
... ago
5.0(1)
flashcards Flashcard (61)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (63)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (67)
studied byStudied by 25 people
... ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 5 people
... ago
5.0(1)
robot