Problem Solving and Programming Techniques Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Sequence

A

Instructions happening one after the other

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

Iteration

A

A selection of code that can be repeated

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

Iteration: Count controlled

A

Code repeated a set of number times

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

Iteration: Condition Controlled

A

Code repeated based on the evaluation of a Boolean expression

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

Selection

A

Instructions that evaluate a Boolean expression and then branch code to one or more alternative path

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

Recursion

A

A function that can call itself

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

Global Variable

A

A variable that can be used anywhere in the program

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

Local Variable

A

A variable which is defined and can only be used within one part of the program

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

Modularity

A

A solution is broken down into small self-contained chunks

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

Functions

A

Code written to perform a task which returns a value

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

Procedures

A

Code written to perform a task which can take parameters

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

Parameters

A

Data structures passed into a procedure or function when called

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

Parameter Passing

A

Process of providing a procedure, function or module with values at the point when you call it

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

Parameter Passing: By Value

A

A local copy of the data is used which is discarded when the subprogram exits

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

Parameter Passing: By Reference

A

The location in memory of the data is used

17
Q

IDE

A

Software that performs the various stages of software design

18
Q

Debugging

A

Process of removing syntactical, semantic and run-time errors from computer code