easter week Flashcards

1
Q

algorithm

A

procedure for solving a problem that specifies the actions to be executed and the order they should take place

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

pseudocode

A

an informal language similar to English used to describe algorithms

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

quotient

A

integer part of the result of dividing two ints

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

remainder

A

the left over of dividing two ints

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

value

A

one of the basic units of data that a program manipulates

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

variable

A

a name that refers to a value

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

type

A

a category of value

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

operator precident

A

() -> ** -> *, /, %, // -> +, -, if operators at equal level of precedent work left to right

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

function definition

A

a statment that creates a new function, giving its name, parameters and the statements it executes

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

header

A

first line of a function, gives name and parameters

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

body

A

sequence of statments to be executed

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

argument

A

value provided in function call, assigned to the corresponding parameter

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

parameter

A

a variable used inside a function only set by an argument value

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

return variable

A

the result of a variable, if function call used as expression this becomes the value of the expression

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

program control structures

A

for and while loop + if statments

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