Search Header Logo
H466 Paper 1 Revision

H466 Paper 1 Revision

Assessment

Presentation

Computers

University

Hard

Created by

Shahbaz Farooq

Used 2+ times

FREE Resource

10 Slides • 86 Questions

1

H446 Paper 1 Revision

By Shahbaz Farooq

2

Networking:

(b) The internet structure: • The TCP/IP Stack

Some text here about the topic of discussion

3

Multiple Choice

What does TCP stand for?

1

Transfer Control Protocol

2

Transmission Control Protocol

3

Transfer Character Protocol

4

Transmission Character Protocol

4

Multiple Choice

What is not incuded in a packet?

1

Sender IP address

2

Checksum

3

Router ID

4

Packet number

5

Multiple Choice

Which protocol is used to send packets

1

IP

2

FTP

3

SMTP

4

TCP

6

Multiple Choice

What is name of the protocol that matches domain names to IP addresses?

1

SMTP

2

TCP

3

IP

4

DNS

7

Multiple Choice

What kind of address is made up of hex pairs and stored on each device's NIC?

1

MAC

2

TCP

3

IP

4

DNS

8

Multiple Choice

Which of the TCP/IP model layers is responsible for breaking down the message into packets?

1

Network

2

Application

3

Transport

4

Internet

9

Multiple Choice

What is a protocol?
1
Any peripheral device
2
A person that uses a client
3
Rules for networks and communications
4
A circuitboard with the components to send/receive data

10

media

11

media

12

General Knowledge Round CPU

13

Multiple Choice

An object that has more than one form is referred to as...
1
Inheritance
2
Interface
3
Abstract
4
Polymorphism

14

Multiple Choice

Von Neumann advantage...
1
Only one data bus so less complex for the control unit to manage
2
The separation of data and instructions and two buses means that processes can be carried out in parallel.

15

Multiple Choice

Harvard disadvantage..
1
This architecture can only process one instruction / item of data at a time.
2
More complex architecture and so is more expensive and takes longer to manufacture

16

Multiple Choice

This type of instruction set will have a large amount of known instructions (for example 80-100) and these will be complex in nature (i.e. each instruction may represent several steps)
1
CISC
2
RISC

17

Multiple Choice

RISC Processors This type of instruction set has a much smaller amount of known instructions (for example 30-40).
1
As a result, in RISC, more instructions are required to perform a task.
2
As a result, in RISC, less instructions are required to perform a task.

18

Multiple Choice

Parallel processing is... 
1
is a single integrated circuit that contains multiple core processing units, more commonly known as cores.
2
a mode of operation in which a process is split into parts, which are executed simultaneously on different processors attached to the same computer.

19

Multiple Choice

All the instructions that any particular CPU can use are known as the 
1
Instruction set
2
Keyword set
3
Word set
4
Character set

20

Multiple Choice

The Accumulator is a type of what?
1
Register
2
Buffer
3
RAM
4
Cache

21

Multiple Choice

Clock speed is measured in
1
Hertz
2
Words
3
Bits Per Second
4
Metres Per Second

22

Multiple Choice

Von Neumann processors have seperate areas of memory for data and the programs that use them
1
True
2
False

23

Multiple Choice

What is the purpose of the Memory Data Register (MDR)?
1
Holds the location of where the data is to be stored / read from
2
Holds memory
3
Holds instructions
4
It does nothing

24

Multiple Choice

Translate Assembly Language code into Machine Code
1
Assembler
2
Compiler
3
Translator
4
Interpreter

25

Multiple Choice

Translate entire source code all in one go into Machine Code
1
Compiler
2
Assembler
3
Translator 
4
Interpreter

26

Multiple Choice

Translate and execute source code –Line by Line, Statement by Statement.
1
Interpretor
2
Translator
3
Compiler
4
Assembler 

27

Multiple Choice

Uses mnemonics
1
Interpreter
2
Translator
3
Compiler
4
Assembly Langauge

28

Multiple Choice

Question image
What is the purpose of the CPU's registers?
1
These are used to permanently store data and instructions
2
These are used to temporarily store data and instructions.
3
They are used to keep track of the CPU speed.
4
They are used to check the CPU's processing power

29

Multiple Choice

What is the purpose of the Program Counter (PC) register?
1
This is used to hold the instruction that needs to be carried out.
2
This is used to save information.
3
This is used to hold the location of the data.
4
This is used to store the memory address of the next instruction.

30

Multiple Choice

What is the Mnemonic code for the STORE instruction in LMC?
1
STO
2
LDA
3
STA
4
BRA

31

Multiple Choice

What does the BRA loop do in LMC?
1
This will keep looping the program until you stop it.
2
This will loop the program until a certain condition is met.
3
This will loop the program until the accumulator is 0.
4
This will loop the program until the accumulator is negative

32

Multiple Choice

What does the following instruction do in LMC: 
A DAT 5
1
Creates a memory location called B
2
Creates a memory location labelled 5 which stores the letter A
3
Create a memory location labelled A which stores the number 5
4
Creates a memory location labelled C

33

Structure and function of the processor

Some text here about the topic of discussion

34

Fill in the Blanks

Type answer...

35

Fill in the Blanks

Type answer...

36

Fill in the Blanks

Type answer...

37

Fill in the Blanks

Type answer...

38

Fill in the Blanks

Type answer...

39

Fill in the Blanks

Type answer...

40

Fill in the Blanks

Type answer...

41

Fill in the Blanks

Type answer...

42

Fill in the Blanks

Type answer...

43

Fill in the Blanks

Type answer...

44

Open Ended

Explain the process of what happens within the CPU when the instruction STA 17 is executed (it has already been fetched and decoded). You can assume that the value held in the accumulator is 5. [6 marks]

45

(c) Assembly language (including following and writing simple programs with the Little Man Computer instruction set).

Some text here about the topic of discussion

46

Fill in the Blanks

Type answer...

47

Fill in the Blanks

Type answer...

48

Fill in the Blanks

Type answer...

49

Fill in the Blanks

Type answer...

50

Fill in the Blanks

Type answer...

51

Fill in the Blanks

Type answer...

52

Fill in the Blanks

Type answer...

53

Fill in the Blanks

Type answer...

54

Fill in the Blanks

Type answer...

55

Fill in the Blanks

Type answer...

56

Fill in the Blanks

Type answer...

57

Multiple Choice

Which of these is the correct way to store the value of the accumulator in box 20?

1

20 STA

2

20 STO

3

STA 20

4

STO 20

58

Open Ended

Write down what you think the following program will do:


INP

STA 50

INP

ADD 50

OUT

HLT

59

Data Types :​

(f) Convert positive integers between Binary Hexadecimal and denary

(g) Representation and normalisation of floating point numbers in binary

(j) How character sets (ASCII and UNICODE) are used to represent text

Some text here about the topic of discussion

60

Fill in the Blanks

Type answer...

61

Fill in the Blanks

Type answer...

62

Multiple Choice

Calculate the binary addition:
01100000
01101001
Use binary addition rules + whiteboards!
1
11001001
2
11101001
3
11001011
4
1010101111

63

Multiple Choice

Calculate the binary addition:
01101111
01101111
Use binary addition rules + whiteboards!
1
11011110
2
11011111
3
11111110
4
11111110

64

Multiple Choice

Calculate the binary addition:
00111011
00110011
Use binary addition rules + whiteboards!
1
01101111
2
01111110
3
01101110
4
11111110

65

Multiple Choice

1 1 0 1 1 - 1 0 1 1

1

11000

2

01010

3

11111

4

1 0 0 0 0

66

Multiple Choice

1011101 - 111100

1

100001

2

011110

3

111000

4

010110

67

Multiple Choice

In fixed-point binary representation, which of the following numbers represent 101000.011?

1

40.5

2

40.125

3

40.375

4

40.5625

68

Multiple Choice

What decimal number does this normalised floating-point binary represent?

Mantissa ----- Exponent

0 . 1 0 1 0 ----- 0 1 0

1

2.5

2

0.625

3

-2.5

4

10.25

69

(d) Translators: Interpreters, compilers and assemblers (e) Stages of compilation (lexical analysis, syntax analysis, code generation and optimisation)

Some text here about the topic of discussion

70

Multiple Select

Converts high-level code to low-level:

1

Interpreter

2

Compiler

3

Assembler

71

Multiple Select

Creates an executable file

1

Interpreter

2

Compiler

3

Assembler

72

Multiple Select

Must be installed for the code to run on another machine

1

Interpreter

2

Compiler

3

Assembler

73

Multiple Select

Converts low level code to machine code

1

Interpreter

2

Compiler

3

Assembler

74

Multiple Select

Provides quicker debugging

1

Interpreter

2

Compiler

75

Multiple Select

Does not provide the source code to the user

1

Interpreter

2

Compiler

76

Multiple Choice

The correct order of the stages of compilation is:

1

Lexical Analysis, Syntax Analysis, Code Generation, Code Optimisation

2

Lexical Analysis, Syntax Analysis, Code Optimisation, Code Generation

3

Syntax Analysis, Lexical Analysis, Code Optimisation, Code Generation

4

Syntax Analysis, Lexical Analysis, Code Generation, Code Optimisation

77

Multiple Choice

Removing whitespace is in:

1

Lexical Analysis

2

Syntax Analysis

3

Code Generation

4

Code Optimisation

78

Multiple Choice

Token creation is in:

1

Lexical Analysis

2

Syntax Analysis

3

Code Generation

4

Code Optimisation

79

Multiple Choice

Symbol table is created in:

1

Lexical Analysis

2

Syntax Analysis

3

Code Generation

4

Code Optimisation

80

Multiple Choice

The code is checked against the rules in:

1

Lexical Analysis

2

Syntax Analysis

3

Code Generation

4

Code Optimisation

81

Multiple Choice

The syntax tree is created in:

1

Lexical Analysis

2

Syntax Analysis

3

Code Generation

4

Code Optimisation

82

Multiple Choice

The user will first be alerted to errors found in:

1

Lexical Analysis

2

Syntax Analysis

3

Code Generation

4

Code Optimisation

83

Multiple Choice

The syntax tree is converted into object code in:

1

Lexical Analysis

2

Syntax Analysis

3

Code Generation

4

Code Optimisation

84

Multiple Choice

Redundant code is removed in:

1

Lexical Analysis

2

Syntax Analysis

3

Code Generation

4

Code Optimisation

85

Multiple Choice

The code is improved to run as fast as possible in:

1

Lexical Analysis

2

Syntax Analysis

3

Code Generation

4

Code Optimisation

86

Multiple Choice

At the linking stage...

1

Code from the linked library is copied into the program

2

Code from the linked library is removed from the program

87

(d) Scheduling: round robin, first come first served, multilevel feedback queues, shortest job first and shortest remaining time

Some text here about the topic of discussion

88

Multiple Choice

In this, the process that comes first will be executed first and next process starts only after the previous gets fully executed.

1

First-come, first-serve

2

Shortest-job-first scheduling

3

Round-robin scheduling

4

Priority scheduling

5

Multilevel Queue scheduling

89

Multiple Choice

This is scheduling policy that selects for execution the waiting process with the smallest execution time.

1

First-come, first-serve

2

Shortest-job first scheduling

3

Round-robin scheduling

4

Priority scheduling

5

Multilevel queue scheduling

90

Multiple Choice

It is a CPU Scheduling algorithm where each process is assigned a fixed time slot in a cyclic way.

1

First-come, first-serve

2

Shortest-job-first scheduling

3

Round-robin scheduling

4

Priority scheduling

5

Multilevel queue scheduling

91

Multiple Choice

Allocating time on the processor to individual processes is known as...
1
CPU Scheduling
2
CPU Timing
3
CPU Clocking
4
CPU Sorting

92

Multiple Choice

The problem with round robin, SJF and STR is what?

1

They don't take into account priority

2

They all take too long

3

Short jobs will not be completed

93

Multiple Choice

Which of these is NOT an aim of the CPU scheduler

1

To maximise CPU time

2

Process as many jobs as possible

3

To complete jobs in at least 30 seconds

94

Multiple Choice

Which of these is a benefit of FCFS

1

Simple to implement

2

It considers priority

3

Long jobs will get completed eventually

95

Multiple Choice

Which algorithm is being described.."Long jobs might never get completed as short processes will always ‘jump the queue"

1

Round robin

2

FCFS

3

STR

96

Multiple Choice

If a CPU has the following:

Process A = 3 cycles

Process B = 2 cycles

Process C = 5 cycles


Which would implement 'B' the quickest?

1

Round robin (1 cycle time slice)

2

FCFS

3

STR

H446 Paper 1 Revision

By Shahbaz Farooq

Show answer

Auto Play

Slide 1 / 96

SLIDE