Unit 4 Vocab 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

Concatenate

A

to link together or join. Typically used when joining together text Strings in programming (e.g. “Hello, “+name)

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

String

A

Any sequence of characters between quotation marks (ex: “hello”, “42”, “this is a string!”).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
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
7
Q

Boolean Expression

A

in programming, an expression that evaluates to True or False.

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

Comparison (Relational) Operators

A

Used to compare two values.
= = equal to
! = not equal to
> greater than
< less than
> = greater than or equal to
< = less than or equal to

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

Logical Operators

A

Allow you to compare the results of more than one Boolean operation at a time.
&& and
to evaluate true – both must be true
| | or
to evaluate true – one or both must be true
! not
To evaluate true – not false

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

Abstractions

A

a simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.

Used in functions

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

Function

A

A named group of programming instructions. Functions are reusable abstractions that reduce the complexity of writing and maintaining programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
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
13
Q

Function Call (to invoke a function)

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
14
Q

High Level Programming Language

A

A programming language with many commands and features designed to make common tasks easier to program. Any high level functionality is encapsulated as a human can read it

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

Low Level Programming Language

A

A programming language that captures only the most primitive operations available to a machine. Anything that a computer can do can be represented with combinations of low level commands

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

If-Statement

A

The common programming structure that implements “conditional statements”.

17
Q

Selection

A

A generic term for a type of programming statement (usually an if-statement) that uses a Boolean condition to determine, or select, whether or not to run a certain block of statements.

18
Q

Stringed together….

A

An ordered sequence of characters