F453 Give Flashcards

1
Q

Give one example of the type of task for which an array processor is most suitable.

A

eg weather forecasting/ airflow stimulation around new aircraft.

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

Give the correct name for one method of sorting in used in Computing.

A

insertion sort / bubble sort

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

Give three benefits of a relational database over a flat files.

A

avoid data duplication/save storage, data consistency, data integrity, easier to change data, easier to change data format, data can be added easily, data security/easier to control access to data.

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

One stage of compilation is syntax analysis. Give two others.

A

lexical analysis, code generation.

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

Give the correct names for two special registers used in the processor. Do not use abbreviations.

A

program counter, memory address register, memory data register/memory buffer register, current instruction register,
index register, interrupt register, accumulator

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

Give the normalised version of the number = 00010 011.

A

01000 001

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

Give the name of three machine architectures.

A

Von Neumann architecture, parallel processor, array processor, vector processor.

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

Give the stages of a binary search for the word Hull in the list below.

1.Belfast 2.Chester 3.Epsom 4.Hull 5.Kendal 6.Luton 7.Neath 8. Oban 9.Staines

A

start at mid point ‘Kendal’, ‘Hull’ is less than Kendal so take first half of list &
discard the rest, repeated halving…
…until ‘Hull’ is found .

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

Give the result of merging the following data files:

File A: Ben, Charlie, Mic, Suzi, Yasmin
File B: Adam, Ben, George, Judi

A

Adam, Ben, Charlie, George, Judi, Mic, Suzi, Yasmin.

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

Give an example for the use of a global variable.

A

VAT rat.

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

Give an example for the use of a local variable.

A

loop counter.

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

Give two features of a Reduced Instruction Set Computer (RISC).

A

A limited number of instructions is available, an instruction performs a simple task, complex tasks can only be performed by combining a number of instructions…, so a task may take a number of machine cycles.

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

Give one example of a type of data structure whose size is always fixed.

A

Array.

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

Give one advantage of using a fixed size data structure.

A

Amount of storage is known/easier to program.

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

Give the names of two types of translators and explain the main differences between them.

A

Type: Compiler, Interpreter, Assembler.
Difference: (compiler & interpreter)
Compiler translates whole program as a unit (to
intermediate language), Compiler gives list of errors at end of compilation, Interpreter reports errors as they are found, Interpreter translates & runs 1 statement at a time.
(compiler or interpreter, & assembler), Compiler/interpreter uses high-level source code, Assembler uses low-level source code. Assembler gives list of errors at end.

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

Give the result of merging the following data files P & Q:

P: Banana, Grape, Melon, Pear
Q: Apple, Pear, Pineapple, Raspberry

A

Apple banana grape melon pear pineapple

raspberry.