Professional Documents
Culture Documents
Computer Science 2
Computer Science 2
Computerised systems can be used to monitor patients’ vital signs (temperature, heart rate, blood pressure and
breathing). They can then alert medical professionals to any significant changes.
[1]
(ii) Explain why a real-time operating system would be suitable for Intensive Care Units.
[2]
(i) Explain why the first come, first served scheduling method may not be efficient.
[2]
[2]
[4]
[3]
(c) Paging may be used in memory management.
Describe paging.
[3]
[1]
[4]
[3]
[3]
[2]
[2]
[2]
[4]
Fetch _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Decode _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Execute _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[3]
Producing CGI requires lots of processing power and so the company has a large number of high-performance
computers.
Explain why See And Believe would use a distributed operating system.
[3]
8 A programmer spends her spare time contributing to an open source application that converts video files from a
range of formats to one which uses lossy compression.
The coding team are looking at writing a new closed source version of the application that converts audio and
image files in addition to video. They intend to sell copies of the program when it is complete. They investigate
three programming languages they could use, including:
* Discuss the benefits and drawbacks of the three options above and justify which option you would recommend.
Discuss what measures can be taken to improve Dan’s computer’s performance. You should explain what these
measures are, why they improve the performance and justify whether you would recommend them.
[9]
Identify the type of operating system that the photo frame is most likely to use.
11 The electricity company decides to trial smart meters. These can be connected to a computer so the user can
download and analyse records of their electricity usage.
(i) In order to be able to access all the functionality of the meter, the computer needs a device driver. Describe
what is meant by the term ‘device driver’.
[2]
(ii) In order to transfer data, the meter and computer need an established set of rules for how they will
communicate.
State the term used for a set of rules for communication between two devices.
[1]
State the type of application that the user might use to analyse the data once downloaded.
[1]
Describe how a desktop operating system is loaded when a personal computer is first switched on.
[2]
State a utility that might be supplied with a desktop operating system to help with system maintenance.
[1]
(c) * One of the key functions of an operating system in a personal computer is to manage system resources
such as memory and CPU time. Discuss the different approaches a desktop operating system can take to
managing these system resources and the relative advantages of each approach.
[9]
Linux is a popular open source operating system and Windows is a popular closed source operating system.
[3]
15(a) Julie is a university student. She is considering buying a laptop to help with her studies both at home and
university. Her friend has told her she will need to choose an operating system to run on her laptop.
[2]
[2]
(c) Julie’s friend has told her she should buy a laptop with a solid-state drive that uses flash technology rather than a
magnetic hard drive.
Explain two reasons why Julie would use flash technology to store her files.
[4]
(d) State the name of one utility that Julie could install on her laptop.
[1]
[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]
[2]
(d) One role of an operating system is the Interrupt Service Handler. This allows processes being executed by the
CPU to be interrupted.
(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]
Total 3
Total 14
Total 5
Total 12
5 Pre-tested 4
Saves time / ready for use / pre-written
Written by an expert Allow error free as BOD instead of pre-
Written in a different language tested
Examiner's Comments
Total 4
Total 3
7 Any 2 from: 3
Examiner's Comments
Allow multiple computers / resources…
(AO1.1) Few candidates gained full marks on this
To be treated as one / work on the question. Many candidates described
same problem (AO1.1) general characteristics of a network
operating system rather than a distributed
1 from: operating system. Fewer appropriately
related their explanation to the scenario.
Meaning all the computers can work on
producing the same special effect.
(AO2.1)
Total 3
8 Mark Band 3–High Level (7-9 marks) 9 AO1: Knowledge and Understanding
The candidate demonstrates a thorough The following is indicative of possible that
knowledge and understanding of a wide candidates may refer to but is not
range of the technical issues the coding prescriptive or exhaustive:
team might have considered; the material Java
is generally accurate and detailed. The One version needs be written and can be
candidate is able to apply their knowledge used on any device / OS combination that
and understanding directly and consistently has the Java Virtual Machine rather than
to the context provided and come to a well having to write multiple versions.
argued conclusion. Evidence / examples Code running on a VM tends to be slower
will be explicitly relevant to the explanation. than compiled.
The candidate provides a thorough C++
discussion which is well-balanced. Multiple versions of the code will need to
Evaluative comments are consistently be maintained for different architectures…
relevant and well-considered. …however there may be minimal
differences between them, and then just
There is a well-developed line of reasoning need compiling with different compilers.
which is clear and logically structured. The
information presented is relevant and Program will run quicker than alternatives.
substantiated.
JavaScript
Mark Band 2 –Mid Level (4-6 marks) As interpreted likely to be by far the
The candidate demonstrates reasonable slowest option.
knowledge and understanding of the Will run in any browser.
technical issues the coding team might
have considered; the material is generally AO2: Application
accurate but at times underdeveloped. The The selected knowledge / examples should
candidate is able to apply their knowledge be directly related to the specific question.
and understanding directly to the context The following is indicative of possible
provided although one or two opportunities factors / evidence that candidates may
are missed. A reasoned conclusion is refer to but is not prescriptive or
drawn. Evidence / examples are for the exhaustive:
most part implicitly relevant to the
explanation The candidate provides a Java
reasonable discussion, the majority of Multiple devices can include devices other
which is focused. Evaluative comments are than PCs (i.e. phones, tablets).
for the most part appropriate, although one People with unusual operating systems or
or two opportunities for development are architectures would have access to the
missed. application.
There is a line of reasoning presented with It makes commercial sense to sell to as
some structure. The information presented wide an audience as possible.
is in the most part relevant and supported The speed reduction compared to
by some evidence. compiled code will likely be noticeable with
such a processor intensive task.
Mark Band 1-Low Level (1-3 marks) As running on a VM coders will have
The candidate demonstrates a basic limited (if any) access to some of the low
knowledge of the technical issues the level features (e.g. access to the GPU)
coding team might have considered with which can optimise the program.
limited understanding shown; the material Intermediate code is used helping protect
JavaScript
Most people have web browsers so by far
most compatible option (don't even need
VM).
The slow speed may be frustrating…
…though as no user interaction is needed
this may be a trade off worth making.
Source code is visible (though can be
obfuscated) meaning it can easily be
copied and amended.
AO3: Evaluation
Candidate has used the points above to
justify their choice of language.
Examiner's Comments
Total 9
Examiner’s Comments
Candidates were assessed on the quality
of their extended response in this question.
Most candidates could cite some methods
for improving performance but not all
managed to then appropriately apply these
to the question. Many candidates did
recommend one or more measures
although some cases needed to include
justification. This resulted in some very
Total 9
Total 1
11 i - A program/software 2
- That controls a piece of hardware AO1.1
- Providing an interface/bridge between (2)
the device and (operating) system
(1 per -, max 2) Examiner’s Comments
ii Protocol(s) 1 cao
AO1.1
(1) Examiner’s Comments
Total 4
There is a line of reasoning presented with Interrupts are signals sent to the processor
some structure. The information presented asking for attention.
is in the most part relevant and supported
by some evidence. AO3
There may be spelling errors or errors of With segmentation only the exact space
grammar in the response but they are not needed is used per program, however as
obtrusive. programs are loaded and removed from
memory there may be wasted space
between programs. Programmers often
need to specify segments.
Mark Band 1-Low Level (1-3 marks) The fixed size of pages make it easier to
The candidate demonstrates a basic allocate pages and work out their position.
knowledge of how OSs manage system Space inside a page may be ‘wasted’ as
resources The candidate makes a limited program is unlikely to take up exact
attempt to apply acquired knowledge and number of pages, however all pages can
understanding to the context provided be used with no wasted space between
The candidate provides a limited them. Programmer need not worry about
discussion which is narrow in focus. the pages.
Judgments if made are weak and
unsubstantiated. The information is basic In practice both are used in conjunction
and communicated in an unstructured way. (e.g. segmentation on top of paging).
The information is supported by limited
evidence and the relationship to the Some scheduling algorithms (e.g. SJF,
evidence may not be clear. STR) can cause starvation (i.e. certain jobs
There are likely to be spelling errors and/or never get processed).
errors of grammar, which will disrupt the More complicated scheduling algorithms
flow of the response take up lots of processor time for the
scheduling itself, taking away processing
0 marks time from the actual jobs that need
No attempt to answer the question or processing.
response is not worthy of credit. Interrupts mean that the processor only
has to worry about being needed when told
(as opposed to having to constantly check
i.e. polling).
Examiner’s Comments
Total 12
Total 9
Total 3
c 1 mark for stating an initial reason and 1 4 Maximum of 2 marks for each reason.
mark for suitable expansion for each (4 AO2.1
marks total), e.g.: (4) Expansion points must be relevant to the
scenario stated in the question.
Faster read/write times…
… allows Julie to complete her work Accept reliable for durable on BP3
quicker
More portable/durable…
… allows Julie to be mobile between
home and university
Lower power consumption…
… Allows Julie to use all through the
day without recharge
Quieter running …
… Allows Julie to use her laptop during
lectures without disturbing
people/lecturer
Total 9
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
c 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.
d 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 10