AP CS: A Unit 1.1

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

28 Terms

1
New cards

Algorithm

Define step by step processes to follow when completing a task or solving a problem.

2
New cards

Sequencing

Defines an order for when steps in an algorithm are completed

3
New cards

Java

Very popular coding language, used in most apps and programs.

4
New cards

Class

Groups data and actions

5
New cards

Compiler

Translates the code written in java into a language the computer can understand.

6
New cards

IDE: Integrated Development Environment

A tool programmers use to develop their programs.

7
New cards

Bug

An error in the code.

8
New cards

Debugging

Finding and fixing errors.

9
New cards

Syntax

The rules that define how code is written so the computer can understand it.

10
New cards

Syntax

A mistake in the program where the rules of the programming language are not followed.

11
New cards

Logic Error

An error that causes the program to run incorrectly or behave unexpectedly

12
New cards

Run-Time Error

An error that occurs when the program is executed

13
New cards

Exception

A type of run-time error caused by an unexpected issue the compiler didn’t catch.

14
New cards

Variable

A storage location for a value

15
New cards

Data type specifications

The type of information stored, and what can be done to that information

16
New cards

Primitive

Most basic data type in Java and represents the simplest building blocks of data.

17
New cards

Primitive data Types

int, double, boolean, char

18
New cards

int

integer

19
New cards

double

Decimal

20
New cards

boolean

true/false

21
New cards

char

character (single, and must be in single quotes)

22
New cards

Declaring a variable

Declare the data type then name it

23
New cards

Naming guidlines

Starts with a letter/symbol/space, describes the value they store, written in lowerCamelCase

24
New cards

Initializing a variable

Assigning the variable a value. using an = sign.

25
New cards

Updating a variable

Assigning the variable a new value done the same way as initializing.

26
New cards

Finalizing a variable

Final in front of the variable, and prevents it from being changed.

27
New cards

String

An ordered sequence of characters in double quotes

28
New cards

Object

has a reference data type, and is created by a class