A2 Homework Week 8
A2 Homework Week 8
[2]
[2]
Explain why the Harvard architecture is suitable for a device like this.
[2]
(i) One example of an interrupt would be removing an external hard disk drive from a computer.
State why this would need to interrupt the current fetch-decode-execute cycle of the CPU.
[1]
[2]
2(a) Charlie owns a veterinary surgery in her local town. She has purchased a new computer for her business so she
can complete her accounts, write letters to her customers and keep a record of her customers’ personal and
appointment details.
State one additional type of application software Charlie could install and give an example of what she might use
it for.
[2]
Explain two other pieces of utility software that Charlie should install on her computer.
[4]
(c) * Charlie will use database management software to store customers’ personal and appointment details. Charlie
is considering both open source and closed source database software.
Compare the differences between open source software and closed source software and recommend which type
of database software Charlie should use.
• Cost
• Usability
• Extensibility
• Security
• Support available
[1]
(i) Complete the table below to show the 4 layers in the TCP/IP stack.
Application
Link
[2]
[2]
[2]
(b) Arnold has a router. It will receive data packets from other computers on Arnold’s network or the internet and
then route them on to the next step.
The scheduling algorithm Arnold’s router uses is First Come First Served.
[1]
(ii) Explain why First Come First Served is a suitable scheduling algorithm for Arnold’s router.
[2]
[4]
(b) Ruhail will make use of an Integrated Development Environment (IDE).
[1]
Explain two benefits of using reusable components when writing program code.
[4]
The numbers before they have been sorted can be seen here.
89 25 75 37 45
Trudi will use a bubble sort to put these numbers into order from smallest to largest.
Show the first pass of the bubble sort. You should clearly show each comparison made.
[4]
01 procedure bubbleSort(numbers)
02 do
03 sorted = true
04 for count = 0 to numbers.length -2
05 if numbers[count] > numbers[count+1] then
06 temp = numbers[count+1]
07 numbers[count+1] = numbers[count]
08 numbers[count] = temp
09 sorted = false
10 endif
11 next count
12
[1]
(ii) Identify the name of the parameter used in the procedure bubbleSort.
[1]
(iii) Describe the purpose of the temp variable in the procedure bubbleSort.
[2]
(iv) Describe the purpose of the sorted variable in the procedure bubbleSort.
[2]
01 procedure generate(number)
02 a = 0
03 while number > 0
04 if number MOD 2 == 0 then
05 a = a + 2
06 print(a)
07 number = number – 2
08 else
09 a = a + 1
10 print(a)
11 number = number – 1
12 endif
13 endwhile
14 endprocedure
[2]
(b) State the values printed by the procedure generate when number = 8.
[1]
(c) State the values printed by the procedure generate when number = 7.
[1]
1 a 1 mark per bullet up to a maximum of 2 2 (AO1.2) Answer must cover paging and
marks, e.g: (2) segmentation for 2 marks.
b i 1 mark per bullet up to a maximum of 2 2 (AO1.1) Accept unit instead of blocks (BP1)
marks, e.g: (1)
(AO1.2) Examiner’s Comments
Uses separate memory blocks for (1) Some candidates were vague in their
instructions and data response and were not clear that Harvard
Has separate buses (data and has separate memory blocks. Candidates
address) for data and instructions must be specific in their response.
Has fixed memory sizes for data and
Instructions
Instruction memory may be ROM
c i 1 mark for any of the following points, e.g: 1 (AO2.1) Allow other suitable alternative answers.
(1)
GUI will need to remove open file Examiner’s Comments
manager windows Very few candidates achieved a mark here.
OS will need to remove open Many mentioned that the CPU would be
files/release locks busy but were not specific enough to gain
Inform the CPU to cease transferring the mark. In questions of this type,
files examples need to be specific to the
question.
Total 9
2 a 1 mark per bullet up to a maximum of 2 2 (AO1.1) 1 Mark for a suitable package and 1 mark
marks, e.g: (1) for a relevant example for that package.
(AO2.1)
Word Processing (1) Do not allow:
Writing letters to customers
Spreadsheets Non-business software (E.g. games)
Completing accounts Brand names (e.g Word/ Excel)
Presentation Software Database software
Create\Show business plans
DTP Examiner’s Comments
Creating marketing literature This question was generally answered
Graphics Package well. Several candidates wrote brand
Editing photographs of names which was not an acceptable
procedures/marketing photos answer. Some candidates gave an
example of a utility which was required for
Question 2 (b).
b 1 mark per bullet up to a maximum of 2 4 (AO1.1) 1 Mark for a suitable utility and 1 mark for a
marks, e.g: (2) relevant example for that utility.
(AO1.2)
Disk Defragmentation… (2) Do not accept task manager
…To keep optimal r/w speed for her
HDD Accept:
File management…
…To allow easy access to her file Compression Software …
system … to make the file size smaller
Disk Drivers… Backup Software …
… To allow her to use new peripheral … to make copies of files
devices
System Clean-up… Examiner’s Comments
… to keep her system free of This question was generally answered well
redundant files although many candidates achieved 2
Anti-Virus/Malware… rather than 4 marks. Commonly, two
… to find and remove/quarantine utilities were correctly identified but the
viruses/malware (A worms/trojans etc) explanation to accompany the utility was
too vague. Candidates were required to
give examples of how the utilities could be
used with the given scenario.
Closed Source
Application:
Cost
Open Source
Closed Source
Usability
Open Source
Closed Source
Security
Open Source
Closed Source
Support Available
Open Source
Evaluation:
Open Source
Closed Source
Examiner’s Comments
Candidates were assessed on the quality
of their extended response in this question.
Most of the candidates were clear on the
basic difference between open and closed
source software but did not link this in with
the scenario. Mid-level responses were
common with few candidates having a
balanced discussion with coverage of all
four of the required sections.
Total 15
3 a A set of rules (for communication) 1 (AO1.1) Do not accept instructions instead of rules
(1)
Examiner’s Comments
This question was answered well.
Total 5
Stored in ROM
Tests hardware/components (are Accept loads up instead of boots up (BP3)
working)
Boots up the operating system Examiner’s Comments
This was generally answered well,
although some candidates were vague in
their response. The concept of the BIOS
booting up the Operating System was
missed by some, but most candidates
mentioned the BIOS checking that the
hardware is operational (POST).
Exemplar 1
Total 5
5 a 1 mark per bullet up to a maximum of 2 4 Award 1 mark for stating a construct and
marks for each construct (4 marks in total), (AO1.2) then 1 mark for a suitable example that is
e.g.: (2) relevant to the context.
(AO2.1)
Sequence… (2) Award a maximum of two marks for each
…e.g. display payment details once a programming construct.
room has been selected
…e.g. send confirmation email after Examiner’s Comments
successfully entering payment details Most candidates had factual knowledge of
Selection… the specification point that lists sequence,
…e.g. if payment details are successful iteration and branching as types of
then send confirmation email programming construct. However, many
…e.g. if a valid date has been entered candidates found it more difficult to
then display a list of available rooms demonstrate computational thinking skills
Iteration…. to logically break down the problem given
….e.g. repeat code until a date has in the stem of the question to give relevant
been entered examples.
….e.g. repeat code until a room has
been selected Several candidates did confuse
programming constructs with either
computational thinking concepts such as
abstraction and decomposition or with
other elements of programming such as
procedures, functions or classes.
c 1 mark per bullet up to a maximum of 2 4 Award a maximum of two marks for each
marks for each advantage (4 marks in (AO1.1) advantage.
total), e.g.: (2)
(AO1.2) Allow other suitable examples.
Saves times (1) as code does not need (2)
to be rewritten (1) Examiner’s Comments
Code may already be tested (1) which Many candidates did not give a clear
will therefore save explanation for a point made, and there
development//debugging time (1) were a number of ‘cheaper’ or ‘quicker’
More efficient code (1) which will use type responses that had no qualification for
less memory//be easier to maintain (1) what was being alluded to as ‘cheaper’ or
May require less technical knowledge ‘quicker’.
(1) as code can used rather than
written (1) Exemplar 1
Total 9
6 a 1 mark for each correct row up to a 4 Marks should be awarded for correct
maximum of 4 marks. (AO2.1) swapping of adjacent items that are out of
(4) order. Therefore if the previous step is
incorrect but the candidate has followed
through with the correct answer then marks
89 25 75 37 45 should be awarded.
25 89 75 37 45 1 mark
25 75 89 37 45 1 mark Examiner’s Comments
25 75 37 89 45 1 mark There were a number of responses that
25 75 37 45 89 1 mark included clear diagrams illustrating the first
pass of a bubble sort on the given data.
Very few candidates confused bubble sort
with other types of sorting algorithm so
most achieved full marks for this question.
Total 10
Total 4