Programming (Intro) Flashcards

1
Q

Define data

A

Data is a collection of facts such as values, measurements, readings or descriptions

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

Define character

A

a single number, letter or special character

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

Define field

A

a number of characters. E.g. a number of persons (120)

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

Define record

A

Records group related fields together E.g. a student record contains the student’s name and surname and the course

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

Define file

A

A collection of related records such as an employees file that contains records of all the employees employed by a specific company.

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

Define table

A

A structure made up of rows and columns

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

Define database

A

consists of a number of related files or tables

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

Define data warehouse

A

largest structure used to collect and store data for processing, analysis and reporting. May consist of several databases.

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

Define variable

A

refer to a position or location in the memory of the computer where a value can be stored.

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

Give the seven structures in the data hierarchy

A
  1. character; 2. field; 3. record; 4. file; 5; table; 6. database; 7. data warehouse
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is camel casing?

A

When you name a variable that contains more than one word e.g. Name of employee - empName

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

what are the names of numeric variables?

A

Integers and Real Numbers

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

What is an integer?

A

contains a whole number that is positive, negative or zero.

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

What is a real number

A

A positive or negative number that contains a decimal

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

Name the non-numeric variables

A

Character; String; Boolean value

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

Explain a string variable

A

consists of two or more characters and must be enclosed in quotes

17
Q

A Boolean value

A

can only be a true (non-zero value) or false value (0)

18
Q

What is the difference between a variable and a constant?

A

All the rules for variables apply to constants, however, constants have a fixed value throughout the program whereas variables vary

19
Q

What is a constant?

A

a data type for which the value will not change - direct opposite of a variable

20
Q

Explain “operator”

A

an operator is a symbol used within an expression or equation that tells the computer how to process the data

21
Q

Explain “operands”

A

the values used in equations

22
Q

Define algorithm

A

a set of instructions in a specific sequence to solve a problem. Must be unambiguous and precise

23
Q

Explain input

A

data that must be processed to produce meaningful output

24
Q

Explain output (information)

A

processed data

25
Q

Explain the relationship between an algorithm and pseudocode

A

Algorithm - steps to solve the problem | Pseudocode is the way in which these steps are expressed

26
Q

Explain desk checking

A

Checking the logic in the algorithm for accuracy

27
Q

Explain pseudocode

A

A way in which the algorithm steps are written so that they can be followed easily and understood.

28
Q
A