APCSP Unit 4

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 22

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

23 Terms

1

Value

One piece of information

New cards
2

Numbers

Values made of the digits 0...9, are not required to be listed inside quotation marks

New cards
3

Strings

Values made of any characters, are required to be listed within quotation marks

New cards
4

Operators

Fancy name for + - * /

New cards
5

Expression

Combination of operators and values, evaluates to single value

New cards
6

Variable

Used to store information to be referenced and used by programs, holds one value at a time

New cards
7

Assignment Operator

In programming language, ← or = (Javascript) means "put this value in this variable

New cards
8

Counter Pattern

Used with a variable to count up or down

New cards
9

Concatenation

Used to combine a string with another string or number

New cards
10

Debugging

The process of finding and fixing problems in code (Describe, Hunt, Try, Document)

New cards
11

Global Variable

Permanent. Can be used anywhere in your code.

New cards
12

Local Variable

Temporary. Can be used only in the part of the code where it was created, like inside an onEvent(). Deleted once the onEvent() is done running.

New cards
13

Boolean Value

A value that is either true or false

New cards
14

Conditional

Instructions that depend on whether or not something is true and the thing that is checked is called the condition. Conditionals are especially useful when we want the program to react to situations that change while the program is running.

New cards
15

Boolean Expression

Any expression that evaluates to true or false

New cards
16

Comparison Operator

compares two values and outputs either true or false (>, <, >=, <=, ==, !=)

New cards
17

Logical Operator

A symbol or word used to connect two or more expressions such that the value of the compound expression produced depends only on that of the original expressions and on the meaning of the operator (&&, ||, !)

New cards
18

Truth Table

Used to evaluate the reduced Boolean expression to a single Boolean value

New cards
19

Mod

The remainder that is left after a number is divided by another number

New cards
20

Syntax Error

Code that doesn't follow the rules of the programming language

New cards
21

Logic Error

Code that follows the rules of the programming language but doesn't do what you intend

New cards
22

Function

A named group of programming instructions. Also referred to as a "procedure"

New cards
23

Function Call

A command that executes the code within a function

New cards

Explore top notes

note Note
studied byStudied by 1062 people
705 days ago
4.8(4)
note Note
studied byStudied by 4 people
58 days ago
5.0(3)
note Note
studied byStudied by 20 people
775 days ago
5.0(1)
note Note
studied byStudied by 47 people
834 days ago
5.0(1)
note Note
studied byStudied by 12 people
833 days ago
5.0(1)
note Note
studied byStudied by 45 people
818 days ago
5.0(1)
note Note
studied byStudied by 5 people
654 days ago
5.0(1)
note Note
studied byStudied by 67 people
420 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (106)
studied byStudied by 1 person
714 days ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 4 people
91 days ago
5.0(1)
flashcards Flashcard (74)
studied byStudied by 16 people
841 days ago
5.0(2)
flashcards Flashcard (167)
studied byStudied by 6 people
393 days ago
5.0(1)
flashcards Flashcard (81)
studied byStudied by 272 people
468 days ago
4.5(2)
flashcards Flashcard (37)
studied byStudied by 173 people
841 days ago
5.0(1)
flashcards Flashcard (36)
studied byStudied by 10 people
91 days ago
5.0(1)
flashcards Flashcard (62)
studied byStudied by 14 people
42 days ago
5.0(1)
robot