AP CSP: Unit 4 - Variables, Conditionals, and Functions

5.0(1)
studied byStudied by 69 people
5.0(1)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

flashcard set

Earn XP

Description and Tags

Terms from Unit 4 of AP CSP. Keep in mind that these vocabs are based on the course vocabulary list from Code.org.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

10 Terms

1
New cards

Expression

a combination of operators and values that evaluates to a single value

2
New cards

Assignment Operator

allows a program to change the value represented by a variable

3
New cards

Variable

a named reference to a value that can be used repeatedly throughout a program

4
New cards

String

an ordered sequence of characters

5
New cards

Boolean Value

a data type that is either true or false

6
New cards

Comparison Operator

<, >, <=, >=, ==, != indicate a Boolean expression

7
New cards

Logical Operator

NOT, AND, and OR, which evaluate to a Boolean value

8
New cards

Conditional Statement

affects the sequential flow of control by executing different statements based on the value of a Boolean expression

9
New cards

Function

a named group of programming instructions. Also referred to as a “procedure”

10
New cards

Function Call

a command that executes the code within a function