APCSP Unit 4

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

1/17

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.

18 Terms

1
New cards

Assignment Operator

allows a program to change the value represented by a variable

2
New cards

Expression

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

3
New cards

String

an ordered sequence of characters

4
New cards

Variable

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

5
New cards

Boolean Value

a data type that is either true or false

6
New cards

Boolean Expression

 score < 10, isHungry != true

7
New cards

Comparison Operator

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

8
New cards

Logical Operator

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

9
New cards

Conditional Statement Types

affects the sequential flow of control by executing different statements based on the value of a Boolean expression. If, If-else, If-else if-else, and Nested conditional

10
New cards

Nested conditional

one conditional statement (like an if/else) is placed inside another, allowing for more complex, multi-level decision-making, where the inner condition is only checked if the outer condition is true.

11
New cards

Function

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

12
New cards

Function Call

a command that executes the code within a function

13
New cards

>

greater than

14
New cards

<

less than

15
New cards

>=

greater than or equal to

16
New cards

<=

less than or equal to

17
New cards

==

equal to

18
New cards

!=

does not equal