Vocab U2L1 & U2L2 APCOMPSCI

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

1/18

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

19 Terms

1
New cards
Variable
A container that can hold one value at a time
2
New cards
Local Variable
A variable that can be set or used only in the environment in which it is defined
3
New cards
Predicate
A hexagon-shaped reporter that asks a true/false question
4
New cards
Boolean
Either true or false
5
New cards
Conditional
A block that controls the code based on a true-or-false condition
6
New cards
Global Variable
A variable that is usable by all scripts in the program
7
New cards
Initialize
Set the starting value of a variable
8
New cards
List
A ordered set of items
9
New cards
Index
The position number of an item in a list
10
New cards
Element
Another name for an item in a list
11
New cards
Sublist
A list used as an item of another list
12
New cards
Data type
What kind of data something is (number, text string, list, etc.)
13
New cards
Primative Data Typing
Data types that are built-in
14
New cards
Abstract Data Typing
A custom data type that's meaningful to your program
15
New cards
Constructor
Constructs one example of the data structure
16
New cards
Selector
Selects one piece of the data structure
17
New cards
Data Abstraction
The creation and use of abstract data types in a program
18
New cards
Composition of Functions
Using the result from one block as the input to another
19
New cards
Traversing
Looking at each item of the list