Home
Explore
Exams
Search for anything
Search for anything
Login
Get started
Home
Engineering
AP Computer Science A
Unit 1: Primitive Types
Primitive Types
Studied by 446 people
4.3
(11)
Add a rating
View linked note
Learn
A personalized and smart learning plan
Practice Test
Take a test on your terms and definitions
Spaced Repetition
Scientifically backed study method
Matching Game
How quick can you match all your cards?
Flashcards
Study terms and definitions
1 / 24
Earn XP
Description and Tags
Computer Science
AP Computer Science A
Unit 1: Primitive Types
Add tags
25 Terms
View all (25)
Star these 25
1
Computer Science
An official name that pertains to the world of computers, and coding.
New cards
2
Programming style
A specific way that someone programs
New cards
3
commenting
Comments on the code, they don’t execute anything, but are their to improve the readability of the program for anyone looking at it
New cards
4
interpreter
enables the computer to understand the code
New cards
5
binary
the languages that computers understand, 0’s and 1’s
New cards
6
compiling
the process where the interpreter translates the java code into binary
New cards
7
compile-time error
when compiling stops because of an error within the code
New cards
8
logical error
something is incorrect with the logic behind the code, and it doesn’t give the provided output
New cards
9
run-time error
an error that isn’t caught by the compiler, but it produces an error during the execution of the code
New cards
10
string literal(string)
this is a type in java used to represent words, or sentences
New cards
11
escape sequence
a piece of code that begins with a backslash that indicates specific characters
New cards
12
assign
this sets values to a variable
New cards
13
assignment operator
The equal sign, =, that assigns a value to something
New cards
14
variable
used to store information to referenced, so that it can be manipulated in the program
New cards
15
concatenation operator
\+ sign that is used between 2 entities to combine them
New cards
16
primitive data
the basic types of data used in java
New cards
17
integer
(int) it represents an integer number
New cards
18
double
(double) it represents a number that can be positive, negative, or zero and can contain decimals, or be fractions
New cards
19
boolean
(boolean) a representation of a value that is either true or false
New cards
20
character
(char) represents any single character that can be represented on the computer anywhere from special characters, letters, numbers, and spaces
New cards
21
precedence
the order of operations in java
New cards
22
strongly typed
meaning that java makes you define the variables data type
New cards
23
casting
has a higher precedence than all the other operators, and is used to convert the output that is produced
New cards
24
increment operator
used to increase the value of a number by 1
New cards
25
decrement operator
used to decrease the value of a number by 1
New cards