Programming Flashcards

1
Q

Sequence

A

Set of instructions that follow on one from another

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

Selection

A

Decision within a computer system based on the result of an event

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

Iteration

A

Repetition of a block of statements within a computer program

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

Nesting

A

One programming construct included within another

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

Runtime Error

A

Error when your program is actually running. Could cause program to crash

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

Type Error

A

Data type is not correct

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

Subroutine

A

Self-contained block of code that performs a specific task

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

Function

A

A type of subroutine that processes data and returns a result back to the main program.

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

Procedure

A

A subroutine that performs a specific task

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

Algorithm

A

A set of instructions designed to perform a task or solve a problem

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

Pseudocode

A

A simple way of describing a set of programming instructions in a manner that resembles a programming language.

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

Variable

A

Named memory location

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

Identifier

A

Name given to a variable

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

Constant

A

Value that does not change
Usually identified in all caps

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

Global variable

A

A global variable can be accessed and changed throughout the whole program

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

Array

A

Data structure that holds related data

17
Q

ASCII Value of ‘A’

A

65

18
Q

ASCII Value of ‘a’

A

97

19
Q

ASCII Value of space

A

32

20
Q

Audit Trails

A
  • Log of what’s been done and who did it
  • Used to check what has happened
  • Aids in being able to restore a system to previous state if needed
21
Q

Code Reviews

A
  • Checks of source code by other experienced programmers
  • Helps identify vulnerabilities, bad programming practice
  • Checks efficiency of code