ap csp unit 4

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

1/15

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.

16 Terms

1
New cards

Expression

a programming statement that can consist of a value, a variable, an operator, or a procedure call that returns a 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 Operators

<, >, <=, >=, ==, != 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

11
New cards

Arithmetic operator

part of most programming languages and include addition, subtraction, multiplication, division, and modulus operators

12
New cards

Boolean Expression

An expression that produces a true or false when evaluated.

13
New cards

Concatenation

joins together two or more strings end-to-end to make a new string with "+" or join command

14
New cards

Evaluate

Expressions are evaluated to produce a single value.

15
New cards

Procedure

a named group of programming instructions that may have parameters and return values. Procedures are referred to by different names, such as method or function, depending on the programming language.

16
New cards

Selection

determines which parts of an algorithm are executed based on a condition being true or false