Variables & Assignments Flashcards

1
Q

declares a new variable, specifying the variable’s name and type

A

variable declaration

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

assigns the variable on the left-side of the = with the current value of the right-side expression

A

assignment statement

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

a combination of items, like variables, literals, operators, and parentheses, that evaluates to a value.

A

expression

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

A name created by a programmer for an item like a variable or function

A

identifier

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

the process of writing and testing a small amount of code, then writing and testing a small amount more

A

Incremental development

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

a list of statements executed by invoking the function’s name, with such invoking known as a function call

A

function

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

a conversion of one data type to another, such as an integer to a float

A

type conversion

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

a named value item that holds a value that cannot change

A

constant

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

a whole number value

A

integer

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

a floating-point number, which is a real number like 98.6

A

float

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

a single letter

A

character

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

a sequence of characters like ‘Hello’

A

string

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

a quantity that has only two possible values, true or false

A

boolean

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

an ordered list of items of a given data type

A

array

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