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 1012 people
... ago
4.8(5)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 73 people
... ago
4.0(1)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 7 people
... ago
4.0(1)
note Note
studied byStudied by 107 people
... ago
5.0(1)
note Note
studied byStudied by 10893 people
... ago
4.7(35)

Explore top flashcards

flashcards Flashcard (187)
studied byStudied by 28 people
... ago
5.0(1)
flashcards Flashcard (303)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (141)
studied byStudied by 11 people
... ago
5.0(1)
flashcards Flashcard (121)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (34)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (38)
studied byStudied by 9 people
... ago
5.0(2)
flashcards Flashcard (82)
studied byStudied by 13 people
... ago
5.0(1)
flashcards Flashcard (204)
studied byStudied by 16 people
... ago
4.5(2)
robot