Unit 2.2. Programming Fundamentals Flashcards

(32 cards)

1
Q

Variable

A

A named value in which data can be stored by a computer program

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

Constant

A

A named value accessed by the computer program, but is fixed and cannot be changed

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

Operator

A

Operators compare or modify values in computer code.

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

Input

A

Data/information entered into the program by a user.

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

Output

A

Data/information that the program produces.

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

Assignment

A

The process of placing a value into a variable

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

Sequence

A

Following through a set of steps in a particular order

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

Selection

A

Taking different paths through the code depending on a condition. (e.g. if statements)

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

Iteration

A

Repeating a set of steps several times. (e.g. while loops)

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

Count Controlled Loop

A

Using a counter to loop through one or more lines of code until they have been run a certain number of times

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

Condition Controlled Loop

A

Using a counter to loop through one or more lines of code until a certain condition is met (e.g. until password is correct)

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

Arithmetic Operator

A

An operator which uses maths to modify numbers

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

Boolean Operator

A

An operator which uses logical criteria to compare two values

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

Integer

A

a whole number without a decimal point or fraction

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

Float number

A

A number which may include a decimal point

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

Boolean value

A

A value which can be only TRUE or FALSE

17
Q

Character

A

A single symbol

18
Q

String

A

A number of characters together, usually to form a word or sentence

19
Q

Casting

A

The process of forcing a value into a certain format (e.g. a number into float)

20
Q

String Manipulation

A

A broad term for a number of ways to change or modify strings

21
Q

Concatenation

A

The process of joining two or more strings together.

22
Q

Slicing

A

The process of splitting a string into two or more parts

23
Q

File Handling

A

Ways in which computer code can interact with files on the computer’s disk (e.g. writing, reading)

24
Q

Record

A

A single row or related information in a database table

25
Table
A group of records and fields stored together in a database
26
Field
A part of a record in the database which stores specific information (e.g. name)
27
SQL
Structured Query Language is a language designed to be used with databases
28
Array
A set of data items stored together with a single name, which are accessed by the program
29
Sub program
a smaller part of the program that performs a specific task
30
Function
a subprogram that performs a specific task and always returns a specific value when run
31
Procedure
a subprogram that performs a specific task but doesn't always return a value
32
Random Number
a number generated by the computer at random