Unit 4 ✔️ Flashcards

1
Q

Expression

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Assignment Operator

A

Allows a program to change the value represented by a variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Variable

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Boolean Value

A

A data type that is either true or false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Comparison Operators

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Function

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Function Call

A

A command that executes the code within a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Arithmetic operator

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Boolean Expression

A

Evaluates to either true or false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Concatenation

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Conditional Statement

A

Affect the sequential flow of control by executing different statements based on the value of a Boolean expression. (Example: if/else)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Evaluate

A

Expressions are evaluated to produce a single value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Expression

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Logical operator

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Procedure

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Relational operator

A

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
Q

Selection

A

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

18
Q

String

A

An ordered sequence of characters.