AP CSA - Unit 1 Vocabulary

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

Java Virtual Machine (JVM)

1 / 19

flashcard set

Earn XP

Description and Tags

Unit 1: Primitive Types

20 Terms

1

Java Virtual Machine (JVM)

In order for a java program to run on a device, the computer must have this. It allows the compiled Java program to communicate with the computer. When a program is run, this finds the main statement and begins execution.

New cards
2

Statements

Specifies an action in a Java program. In Java, they can be broadly classified into three categories: declaration, expression, and control flow.

New cards
3

Syntax

Precise rules defining how the letters, words, and punctuation of a programming language are required to be used together.

New cards
4

semicolon

This punctuation marks the end of a programming statement.

New cards
5

Curly braces

Used in Java to surround bodies of loops, methods, and classes.

New cards
6

class

The formal implementation, or blueprint, of the attributes and behaviors of an object. It is an abstraction defining a type of object, with methods (instructions that can be executed) and attributes (variables to store data).

New cards
7

object

A specific instance of a class with defined attributes. They are able to execute any methods defined in its class.

New cards
8

method

These define an object's behavior, what it can do, or what can be done to it.

New cards
9

string

A data type representing a sequence of characters.

New cards
10

Primitive types

The most basic data types available within the Java language. There are eight: boolean, byte, char, short, int, long, float, and double. These types serve as the building blocks of data manipulation in Java.

New cards
11

int

integer

New cards
12

double

A primitive data type that stores decimal numbers.

New cards
13

boolean

Named after mathematician George Boole, it is a data type that represents a true or false value.

New cards
14

concatentate

Attaching two things side-by-side, frequently strings of text.

New cards
15

concatenation operator

+, allows you to place one string at the end of another. This is often referred to as "adding two strings."

New cards
16

machine code

Zeros and ones that represent simple instructions executed by a processor.

New cards
17

overflow

Occurs when an integer value falls outside of the allowed range. This could result in an incorrect value within the allowed range.

New cards
18

widening

process by which a value is converted from a smaller data type (such as an int) to a larger data type (such as a double).

New cards
19

narrowing

process by which a value is converted from a larger data type (such as a double) to a smaller data type (such as an integer).

New cards
20

type casting

converting from one data type to another, such as from a double to an int, potentially losing information.

New cards

Explore top notes

note Note
studied byStudied by 17 people
... ago
5.0(1)
note Note
studied byStudied by 208 people
... ago
5.0(2)
note Note
studied byStudied by 13 people
... ago
5.0(1)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 6 people
... ago
5.0(1)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 36 people
... ago
5.0(1)
note Note
studied byStudied by 1806 people
... ago
4.7(6)

Explore top flashcards

flashcards Flashcard (105)
studied byStudied by 8 people
... ago
5.0(1)
flashcards Flashcard (119)
studied byStudied by 8 people
... ago
5.0(1)
flashcards Flashcard (21)
studied byStudied by 12 people
... ago
5.0(1)
flashcards Flashcard (121)
studied byStudied by 13 people
... ago
5.0(1)
flashcards Flashcard (23)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (77)
studied byStudied by 156 people
... ago
4.8(5)
flashcards Flashcard (48)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (159)
studied byStudied by 1982 people
... ago
4.5(13)
robot