Section 3 - Design, Testing and Translators Flashcards

Keywords/Key terms

1
Q

Describe what is meant by structured programming

A

Structured programming means breaking down the main program into smaller, manageable modules.

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

Give an advantage of using structured programming when developing a program

A

Coding is easier as objectives are smaller and simpler

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

Define the term authentication

A

A means of confirming the identity of a user before they can access a program or part of a program

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

Define the term input validation

A

Checking data meets certain criteria before passing it into the program or database

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

Explain what is meant by the time efficiency of an algorithm

A

Time efficiency is a measure of how quickly an algorithm completes a task. The quicker an algorithm completes a task, the better its time efficiency.

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

Give two types of translator that can turn high-level languages into machine code

A

An interpreter and a compiler

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

Give two reasons why some programmers still use low-level languages

A

They may need to have a greater control over the program in order to make a program with lower memory use.
They may be trying to maintain old code or hardware.

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

Why might programmers prefer to use assembly language over machine code?

A

Assembly languages are more readable for humans than machine code.

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

Give two differences between high-level and low-level languages

A

One instruction of high-level code represents many instructions of machine code
Code written in a high-level language is easy for other programmers to understand and modify.

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

Which type of translator is used to translate assembly languages into machine code?

A

Assembler

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