Primitive Types

studied byStudied by 440 people
4.3(11)
get a hint
hint

Computer Science

1 / 24

Studying Progress

0%
New cards
25
Still learning
0
Almost done
0
Mastered
0
25 Terms
1
New cards

Computer Science

An official name that pertains to the world of computers, and coding.

New cards
2
New cards

Programming style

A specific way that someone programs

New cards
3
New cards

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
New cards

interpreter

enables the computer to understand the code

New cards
5
New cards

binary

the languages that computers understand, 0’s and 1’s

New cards
6
New cards

compiling

the process where the interpreter translates the java code into binary

New cards
7
New cards

compile-time error

when compiling stops because of an error within the code

New cards
8
New cards

logical error

something is incorrect with the logic behind the code, and it doesn’t give the provided output

New cards
9
New cards

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
New cards

string literal(string)

this is a type in java used to represent words, or sentences

New cards
11
New cards

escape sequence

a piece of code that begins with a backslash that indicates specific characters

New cards
12
New cards

assign

this sets values to a variable

New cards
13
New cards

assignment operator

The equal sign, =, that assigns a value to something

New cards
14
New cards

variable

used to store information to referenced, so that it can be manipulated in the program

New cards
15
New cards

concatenation operator

+ sign that is used between 2 entities to combine them

New cards
16
New cards

primitive data

the basic types of data used in java

New cards
17
New cards

integer

(int) it represents an integer number

New cards
18
New cards

double

(double) it represents a number that can be positive, negative, or zero and can contain decimals, or be fractions

New cards
19
New cards

boolean

(boolean) a representation of a value that is either true or false

New cards
20
New cards

character

(char) represents any single character that can be represented on the computer anywhere from special characters, letters, numbers, and spaces

New cards
21
New cards

precedence

the order of operations in java

New cards
22
New cards

strongly typed

meaning that java makes you define the variables data type

New cards
23
New cards

casting

has a higher precedence than all the other operators, and is used to convert the output that is produced

New cards
24
New cards

increment operator

used to increase the value of a number by 1

New cards
25
New cards

decrement operator

used to decrease the value of a number by 1

New cards

Explore top notes

note Note
studied byStudied by 12 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 19 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 18 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 6 people
Updated ... ago
4.0 Stars(1)
note Note
studied byStudied by 4070 people
Updated ... ago
4.8 Stars(38)

Explore top flashcards

flashcards Flashcard46 terms
studied byStudied by 259 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard35 terms
studied byStudied by 18 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard44 terms
studied byStudied by 2 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard40 terms
studied byStudied by 18 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard118 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard59 terms
studied byStudied by 87 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard65 terms
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard85 terms
studied byStudied by 240 people
Updated ... ago
4.5 Stars(2)