Mrs. Smith CSP Fall 20 Unit 4 - Variables, Conditionals, and Functions

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

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

Boolean Value

a data type that is either true or false.

5
New cards

Comparison Operators

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

6
New cards

Function

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

7
New cards

Function Call

a command that executes the code within a function

8
New cards

Arithmetic operator

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

9
New cards

Boolean Expression

evaluates to either true or false

10
New cards

Concatenation

joins together two or more strings end-to-end to make a new string.

11
New cards

Conditional Statement

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

12
New cards

Evaluate

Expressions are evaluated to produce a single value.

13
New cards

Expression

a programming statement that can consist of a value, a variable, an operator, or a procedure call that returns a value.

14
New cards

Logical operator

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

15
New cards

Procedure

a named group of programming instructions that may have parameters and return values.

16
New cards

Relational operator

used to test the relationship between two variables, expressions, or values. A comparison using a relational operator evaluates to a Boolean value. For example: =, ≠, >, <, ≥, and ≤

17
New cards

Selection

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

18
New cards

String

an ordered sequence of characters.