Home
Explore
Exams
Search for anything
Login
Get started
Home
Engineering
AP Computer Science A
AP CSA RUNESTONE UNIT 1 VOCAB
1.0
(1)
Rate it
Studied by 6 people
1.0
(1)
Rate it
Call Kai
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Knowt Play
Card Sorting
1/22
Earn XP
Description and Tags
Computer Science
AP Computer Science A
11th
Add tags
Study Analytics
All Modes
Learn
Practice Test
Matching
Spaced Repetition
Name
Mastery
Learn
Test
Matching
Spaced
No study sessions yet.
23 Terms
View all (23)
Star these 23
1
New cards
**Compiler**
Software that translates the Java source code into the Java class file which can be run on the computer
2
New cards
**Compiler or syntax error**
An error that is found during the compilation
3
New cards
**Main method**
Where execution starts in a Java program
4
New cards
**Variable**
A name associated with a memory location in the computer
5
New cards
**Declare a Variable**
Specifying the type and name for a variable. This sets aside memory for a variable of that type and associates the name with that memory location
6
New cards
**Initializing a Variable**
The first time you set the value of a variable
7
New cards
**data type**
determines the size of memory reserved for a variable, for example int, double, boolean, String
8
New cards
**integer**
a whole number like 2 or -3
9
New cards
**boolean**
An expression that is either true or false
10
New cards
**Camel case**
One way to create a variable name by appending several words together and uppercasing the first letter of each word after the first word (myScore)
11
New cards
**Casting a Variable**
Changing the type of a variable using *(type) name*
12
New cards
**Operator**
Common mathematical symbols such as + for addition and \* for multiplication
13
New cards
**Compound assignment or shortcut operators**
Operators like x++ which means x = x + 1 or x \*=y which means x = x \* y
14
New cards
**modulo**
The % operator which returns the remainder from one number divide by another
15
New cards
**arithmetic expression**
a sequence of operands and operators that describe a calculation to be performed, for example 3\*(2 + x)
16
New cards
**operator precedence**
some operators are done before others, for example \*, /, % have precedence over + and -, unless parentheses are used
17
New cards
**double**
used to declare a variable of type double (a decimal number like 3.25)
18
New cards
**int**
used to declare a variable of type integer (a whole number like -3 or 235)
19
New cards
**String**
used to declare a variable of type String which is a sequence of characters or text
20
New cards
**System.out.print()**
Used to print output to the user
21
New cards
**System.out.println()**
used to print output followed by a newline to the user
22
New cards
**=**
used for assignment to a variable
23
New cards
\*, *+ - , / , %*
arithmetic operators