Computing Flashcards

(51 cards)

1
Q

How is sequential code executed ?

A

Line by line

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

What type of data does an integer variable hold?

A

Whole numbers

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

What is the name given to the type of programming construct that allows the program to respond to different input conditions ?

A

Selection

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

Python uses banks of ELIF statements but what do other programming languages use to represent multiple possible conditions in a program?

A

Select case statements

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

Which type of program requires the use of a count controlled loop?

A

One where we know how many executions of the loop are required

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

Which type of program requires the use of a condition controlled loop?

A

One where we want the loop code to continue executing until a condition is met or not met

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

What are the two possible single values that a computer can represent?

A

1 and 0

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

What will happen if the condition in a WHILE loop is never met?

A

The program will not stop

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

What is ITERATION

A

Looping or repeating sections of a program

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

What is an identifier whose value is fixed and cannot be changed within a program?

A

A constant

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

What is the name given to programming in binary ?

A

Machine code

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

What is the name given to the process of checking a while program to ensure that it is capable of being executed by the CPU?

A

Compiling

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

What does GUI stand for?

A

Graphical User Interface

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

What are sequential operations ?

A

Instructions that are executed In order

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

What are control operations ?

A

Instructions do not have to be carried out in order. It can be divided further into:
• Conditional operations
• Iterative operations

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

What are conditional operations ?

A

A control structure that checks if a condition is TRUE or FALSE and then executes an instruction based on the answer (IF…ELSE).

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

What are iterative operations ?

A

A control structure that repeats a set of instructions until a condition is met.

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

What is an algorithm?

A

An algorithm is a sequence of instructions (operations ) that can be executed (carried out ) to perform a particular task and then end.

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

What are the 2 main algorithmic operations ?

A
  • Sequential operations

* control operations

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

What is a variable

A

An identifier that points to a value that can change

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

What is a value?

A

A number string or character

22
Q

What is syntax ?

A

RULES of the language that must be followed to make the program work

23
Q

What are the 2 types of CONDITIONED LOOPS?

A

WHILE loop
and
REPEAT loop

24
Q

What is REPEAT loop?

A

Loop that is executed at least once and then check the condition had been met

25
What is WHILE loop
Loop that tests the condition first before executing the loop
26
What happens when we declare a variable?
We allocate memory space into RAM
27
What is the variable in the program referred to by?
It's IDENTIFIER
28
Can variable IDENTIFIERS have spaces?
NO
29
What is the joining of two or more strings called?
CONCATENATION
30
What is len() uses for?
To find the LENGTH of the STRING (including spaces )
31
What method can be used to replace one set of characters with another in Python ?
.replace()
32
What does debugging mean ?
Identifying and removing errors
33
When does a LOGICAL ERROR occur?
When the programmer writes a code which will run in a way that they DID NOT want to
34
Why should we test the program?
Ensure that bugs are fixed
35
What is the '=' sign in programming?
An ASSIGNMENT OPERATOR
36
What is opcode?
Specifies instructions that can be executed by a CPU in machine code
37
What is machine code?
Low level code represented in binary numbers
38
What is assembly language ?
A family of low level programming languages
39
What is the process of checking he whole program is correct and then converting it into low level code called?
Compiling
40
What are IDEs?
Integrated Development Environment is an application used to create software
41
What is the environment where the use can write code called?
SHELL
42
What is checking the program line by line called?
INTERPRETING
43
What is a string?
Sequence of characters
44
What is Boolean data?
Data that have two values TRUE or FALSE
45
What are control operations?
Instructions that do not have to be carried out in order
46
What are conditional operations ?
Structure that checks if a condition is TRUE or FALSE
47
What are ITERATIVE OPERATIONS ?
Structure that repeats set of instructions until condition is met
48
What is WHILE loops?
Iterative operation where condition is tested and repeated until condition becomes FALSE
49
What are SELECTIONS ?
Decisions or questions
50
What is compression software
Software that reduces the size of files so less disc space is taken
51
What is encryption software?
Software that scrambles (encrypts) data to stop third parties from accessing it. Encrypted data can be decrypted using a 'key'