You are on page 1of 63

Downloaded by garath.stephens from 108.171.128.

174 on 10/01/2018 11:58

Support Materials
Higher National Unit: Assessment
Support Pack

Computer Science: Graded Unit 2  H48Y 35


(Project-based)
SCQF level 8

Publication date: January 2015


Publication code: H48Y 35/ASP001

The information in this publication may be reproduced to support SQA qualifications. This
publication must not be reproduced for commercial or trade purposes. This material is
for use by teaching staff only.

Published by the Scottish Qualifications Authority,


The Optima Building, 58 Robertson Street, Glasgow G2 8DQ
Lowden, 24 Wester Shawfair, Dalkeith, Midlothian, EH22 1FD

www.sqa.org.uk

© Scottish Qualifications Authority 2015


Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

History of changes
Version Date Description Authorised by
Number

Security and confidentiality of Support Materials


This material is intended solely for the purpose of assessment of learners against
Unit standards in SQA approved centres and must not be released prior to
examination/practical test or distributed more widely for any other purpose.

Support materials are distributed only to SQA approved centres and may be
downloaded from the SQA’s secure website by authorised personnel. For added
security, SQA discourages the downloading of this material for; the maintenance of
paper-based libraries, stockpiling ahead of assessment events and saving to portable
storage devices and laptop computers.

The assessment and marking information in this publication can be used or adapted
by staff in approved SQA centres subject to the guidelines above. Adapted materials
must be verified prior to use and stored securely within the presenting centre.

In addition to a centre’s own security procedures, any suspected breach of the above
must be reported immediately to SQA’s Business Development and Customer
Support team marked ‘Security breach — Support Materials’.

Copyright
The information in this publication may be reproduced in support of SQA
qualifications. Where the publication includes materials from sources other than
SQA (secondary copyright), this material should only be reproduced for the
purposes of examination or assessment. If it needs to be reproduced for any other
purpose it is the centre’s responsibility to obtain the necessary copyright clearance.
SQA’s Support Materials team may be able to direct you to the secondary sources.

Every effort has been made to contact copyright holders and SQA apologises if any
have been overlooked.

Acknowledgements
SQA acknowledges the valuable contribution that Scotland’s colleges have made to
the development of Higher National qualifications.

Scottish Qualifications Authority 1


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Introduction
This pack must be used in conjunction with a copy of the Graded Unit specification
which details the standard of performance expected of the learner. A copy of the
Graded Unit specification can be obtained from SQA.

This pack supplements the instructions for designing the assessment task and
assessing learners for the Graded Unit specification. It aims to provide an example of
assessment that is valid, reliable and practicable. The assessment task(s) detailed in
this pack corresponds to the instructions for designing the assessment task outlined
in the Graded Unit specification.

Whilst the example provided is intended for guidance, it may also be used as an
assessment instrument, as long as the centre ensures the integrity and confidentiality
of the assessment in the first and subsequent years of use and between centres. It
may be used in a variety of ways including, for example:

 as an assessment instrument, in whole or in part


 to exemplify the standard of performance expected of learners achieving the
Graded Unit, ie as a benchmark
 to help you develop your own assessment for the Graded Unit
 to help you develop a valid and practicable assessment for the Graded Unit within
the subject area of the Group Award to which it contributes
 to give you new ideas
 as a staff development tool

It is important that you make sure that the Assessment Support Pack is used in a
context appropriate to the delivery of the Graded Unit and to the Group Award of
which it forms a part. Although the content of this pack has been prior verified as a
suitable Instrument of Assessment, you should note that using this pack does not
automatically guarantee successful external verification. It is still your responsibility to
make sure that all the appropriate internal quality assurance procedures are
satisfactorily completed. For example, a valid, effective and approved internal
verification system must be in use at your centre.

Recommended reading
Before using this material you might find it useful to look at some of our other
publications, in particular:

 Guide to Assessment
 Introduction to Assessment Arrangements for Schools and Colleges
 SQA’s Quality Framework: a guide for centres

Details of these and other SQA publications are available on our website. Most
publications can be downloaded free of charge from our website at: www.sqa.org.uk
on the ‘Publications, Sales and Downloads’ section. If you require a publication to be
sent to you, please telephone our Business Development and Customer Support

Scottish Qualifications Authority 2


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Team on 0303 333 0330 quoting the product code and, where a charge is applicable,
have a purchase order number or credit card details available.

Details of all HN Assessment Support Packs published after April 2004 are listed on
our website on the HN subject-specific pages. Your centre’s SQA or HN Co-ordinator
will have access to these HN Assessment Support Packs on SQA’s secure website.
Please approach them for copies. However, if you require a paper copy you can
obtain one from SQA’s Business Development and Customer Support Team,
Scottish Qualifications Authority, The Optima Building, 58 Robertson Street,
Glasgow, G2 8DQ (telephone: 0303 333 0330 or fax: 0845 213 5000).

Other related Units


This Graded Unit has been validated as part of the HND Computing: Software
Development at level 8 within the Scottish Credit and Qualifications Framework
(SCQF)1. Centres are required to develop the assessment instrument in accordance
with the validated Unit specification.

It is recommended that the learner should have completed, or be in the process of


completing, the following Units, which relate to the specific aims of the Group Award,
prior to undertaking this Graded Unit:

Unit Level Title


Number

H173 34 7 Developing Software: Introduction


H1F7 34 7 Professionalism and Ethics in Computing
H175 34 7 Computer Systems Fundamentals
H177 34 7 Troubleshooting Computing Problems
H178 34 7 Team Working in Computing
H16W 35 8 Relational Database Management Systems
H1J9 35 8 Software Development: Developing Websites for Multiplatform
Use
H16S 35 8 Managing a Web Server

1
The SCQF provides the national common framework for describing all relevant programmes of
learning qualifications in Scotland. The level a qualification is assigned within the framework is an
indication of how hard it is to achieve. There are 12 levels, from level 1 for Access 1 through to level
12 for doctorates. For further information on the level and credit rating see the Unit specification. For
further information on SCQF go to www.scqf.org.uk.
Scottish Qualifications Authority 3
HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Core Skills
The Unit specification will detail the Core Skills covered within the Unit.

Where Core Skills have been embedded in a Unit specification and an assessor
wishes to use an alternative method of assessment, s/he must ensure that the
assessment generates the necessary evidence as specified by the Evidence
Requirements in the Unit specification. It is recommended that the centre seek prior
verification for the alternative method to ensure that the Core Skill is still covered.

The Core Skill of Problem Solving at SCQF level 6 is embedded in this Graded Unit.

Scottish Qualifications Authority 4


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

How to generate evidence


Introduction
The Scottish Qualifications Authority’s system of assessment measures the evidence
of a learner’s attainment of knowledge, understanding and skills against defined
criteria. The assessment process must allow for evidence of each learner’s
performance to be generated and collected. This evidence must then be judged
against the standards set out in the Graded Unit specification. To achieve the Graded
Unit the learner must successfully meet the standards and there must be evidence to
prove this.

The Graded Unit specification defines the criteria you need to use to judge whether
or not the learner has met the standards. All Graded Units have the following:

Instructions for designing the task


These tell you what the learner actually has to do.

Recommended prior knowledge and/or skills


This section details the recommended knowledge and skills which the learner should
have completed or be in the process of completing prior to undertaking the Graded
Unit.

Assessment guidelines
This section should give guidance on how best to conduct the assessment to
generate the evidence required.

It is important to realise that it is up to the assessor to judge when and if the learner
has satisfactorily met the standards. This decision should be based on the quality
and correct quantity of evidence collected, set against the standards in the Graded
Unit.

The assessment instrument in this pack should not create any unnecessary barriers
to achievement for open/distance learning delivery and the additional support needs
of individual learners should be taken into account. You may need to adapt it so that
you can assess learners with additional support needs or learners who are
undertaking the Graded Unit on an open/distance learning basis. However, whilst
taking into account the needs of the learner concerned, the methods of assessment
you choose must still be valid, reliable and practicable. If you have any questions or
problems, or if you are in any doubt as to whether or not the alternative assessment
you have chosen is still valid, please contact the Business Development and
Customer Support Team on telephone 0303 333 0330.

Scottish Qualifications Authority 5


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

External verification — Guidance on best practice


In order to increase the likelihood of successful external verification it is strongly
recommended that:

a You read the guidance documents on SQA’s website.

b Centres have their question papers with marking instructions prior verified by
SQA. Centres are advised to put the materials through an internal verification
process before submission to SQA. Materials should be submitted not less than
eight weeks before their intended use to Qualifications Approval and Verification,
Scottish Qualifications Authority, The Optima Building, 58 Robertson Street,
Glasgow, G2 8DQ or by e-mail to: qav@sqa.org.uk

Scottish Qualifications Authority 6


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Assessment
The following information indicates how the assessment task is to be marked and
also shows the evidence which should be retained for external verification.

Practical assignment
This project-based Graded Unit is in the form of a practical assignment and will be
marked out of 100. Assessors will aggregate the marks achieved by the learner for
each stage to arrive at an overall mark for the project. Assessors will then assign a
grade to the learner for this Graded Unit based on the following grade boundaries.

 A = 70%–100%
 B = 60%–69%
 C = 50%–59%

Suggested evidence to be retained


All learner evidence to be retained.

All checklists to be completed and retained.

Scottish Qualifications Authority 7


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Conditions of assessment
The learner should be given a date for completion of the practical assignment.
However, the instructions for the assessment task should be distributed to allow the
learner sufficient time to assimilate the details and carry out the assessment task.
During the time between the distribution of the assessment task instructions and the
completion date, assessors may answer questions, provide clarification, guidance
and reasonable assistance.

The assessment task(s) should be marked as soon as possible after the completion
date for each stage. The final grading given should reflect the quality of the learner’s
evidence at the time of the completion date.

The evidence for the project is generated over time and involves three distinct stages,
where each stage has to be achieved before the next is undertaken. Thus any
re-assessment of stages must be undertaken before proceeding to the next stage.

If a learner fails the project overall or wishes to upgrade, then this must be done
using a substantially different project, ie all stages are undertaken using a new
significantly different project assessment task, assignment, case study, etc. In this
case, a learner’s grade will be based on the achievement in the re-assessment, if this
results in a higher grade.

The practical assignment will be based on the development of a solution for a real
client or on a scenario supplied by the centre. If the method selected by a centre is a
scenario given to a number of learners, then the centre must ensure the originality
and uniqueness of each learner submission, through a formal authentication
procedure.

If a learner is found to have plagiarised or to have gained an unfair advantage by


other means, the centre should have in place procedures for dealing with this,
including the authority to deem that the learner has failed the assessment. Learners
should provide references in the form of footnotes and/or bibliography for any
materials used and/or accessed which is not their own.

Each centre must ensure that the project is the authenticated work of the individual
learner. For example, centres may wish to informally question learners at various
stages on their knowledge and understanding of the project on which they have
embarked. Centres should ensure that where research, etc is carried out in other
establishments or under the supervision of others, that the learner does not receive
unreasonable assistance.

Remediation, re-assessment, reasonable assistance and other Project-based Graded


Unit processes are detailed in the SQA publication Guidance for the Implementation
of Graded Units in Higher National Certificates and Diplomas, to which reference
should be made.

Scottish Qualifications Authority 8


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Instructions for designing the assessment task


The assessment task is a project. The project undertaken by the learner must be a
complex task which involves:

 variables which are complex or unfamiliar


 relationships which need to be clarified
 a context which may be familiar or unfamiliar to the learner

The assessment task must require the learner to:

 analyse the task and decide on a course of action for undertaking the project
 identify the requirements for the project
 plan the solution for the project assignment
 organise work through to project completion
 develop the product to meet the solution
 track and document work undertaken through to project completion
 reflect on what has been done and draw conclusions for the future
 produce an evaluation with critical analysis to cover the product that has been
produced and an individual reflective analysis of their activities
 produce evidence of meeting the aims which this Group Award Graded Unit has
been designed to cover

Instructions for writing the Project Brief (assignment task)


‘Fleshed-out’ project briefs (eg case studies) should be provided to the learner. It is
recommended that, where possible, learners should be encouraged to find external
clients.

Each learner should undertake an individual project and it is envisaged that the
learner will carry out a project which encompasses all of the knowledge and skills
required to complete a small scale project for an external client (such as the
development of a commercially viable website or the development of a PC based
management system). The assessment should be based on the product, its
evaluation and the process. A learner must:

1 Interpret the needs of the brief.


2 Gather information to clarify the brief.
3 Decide upon and develop a design approach.
4 Carry out development.
5 Evaluate the product and their performance.

The Unit will be project based and allow the learner the flexibility to select from a
variety of different projects, eg the practical implementation of a software
development project (mobile app/web site/game/stand-alone application), designing
a network topology for a small to medium sized company, producing a
report/feasibility study on the implementation of IT systems for and organisation or
setting up a Service Desk.

Scottish Qualifications Authority 9


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Guidance on grading learners for a project-based Graded Unit


Learners who meet the minimum Evidence Requirements will have their achievement
graded as C (competent), A (highly competent), or B (somewhere between A and C).
Examples of grade related criteria for a project-based Graded Unit are given in the
table below:

Grade A (70% — 100%) Grade C (50% — 59%)


Is a seamless, coherent piece of work Is a co-ordinated piece of work which:
which:

 has sufficient evidence for all three  has sufficient evidence for all three
stages of the project produced to a stages of the project and is
high standard, and is quite clearly produced overall to an adequate
inter-related standard

 demonstrates an accurate and  demonstrates an acceptable


insightful interpretation of the interpretation of the project brief
project brief
 is highly focused and relevant to  is focused and relevant to the
the tasks associated with the tasks associated with the project
project brief brief

 is clear and well-structured  is satisfactorily structured and the


throughout and the language used language used is adequate in
is of a uniformly high standard in terms of level, accuracy and
terms of level, accuracy and technical content
technical content

 effectively consolidates and  consolidates and integrates


integrates the required knowledge knowledge and skills but this may
and skills lack some continuity and
consistency

 demonstrates the learner’s  has required additional support


ability to work autonomously and revision during the project
with minimum support or
revision

Scottish Qualifications Authority 10


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Assessment task
This assignment covers the three stages of your project

Stage 1 — Planning
Stage 2 — Developing
Stage 3 — Evaluating

You are required to develop a prototype application that can be based on one of the
following:

 a brief supplied by an external client


 a brief supplied by your assessor
 a brief based on your own idea which should be discussed with your assessor. If
this option is selected, the development must involve user analysis.

You are required to undertake an individual project based on a brief. This may
involve you developing a number of user cases for a larger system, developing a
relatively small application for an external client or developing a user oriented small
scale application such as a mobile app or web-based application. If you choose to
use a brief based on your own ideas, you should use user centred analysis to
interpret the needs and clarify the brief.

The project is an individual project and as such, you should be aware that you will
gain more marks for autonomous work and that unreasonable assistance from
assessors/supervisors/lecturers/clients and/or third parties will affect your grade.

You must achieve the minimum Evidence Requirements for each stage before
progressing to the next stage.

Scottish Qualifications Authority 11


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Evidence Requirements

The project consists of three stages: planning; developing; and evaluating. The
following table specifies the minimum evidence required to pass each stage.

NOTE: The learner must achieve all of the minimum evidence specified below for
each stage of the project in order to pass the Graded Unit.

Project stage Minimum Evidence Requirements


Stage 1 — The assessor’s role is as a facilitator and so to gain high marks the
Planning learner must demonstrate a high degree of autonomy in the planning
activities.
40% Maximum
Evidence, in the form of an Action Plan report containing the following:

 An analysis of the project assignment brief -— up to 30 marks

Which should include but not be restricted to the following:


— interpretation of the project assignment brief including any
information gathered to clarify the brief
— aims of the project assignment
— requirements: eg functional/non-functional/constraints
— identification of the key factors influencing the project
— identification of resources, and materials required and how they
will be accessed/obtained
— identification of information sources to be used
— undertaking the analysis using appropriate techniques

 Project plan — up to 10 marks

Production of a detailed formal plan to undertake the project


with realistic timescales and identifying:
— timescales/schedules for each stage and overall completion
— milestones and deliverables
— main tasks
— resources

The learner must achieve all of the minimum evidence specified above in
order to pass the Planning stage.

Scottish Qualifications Authority 12


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Project stage Minimum Evidence Requirements


Stage 2 — The assessor’s role is as a facilitator and so to gain high marks the
Developing learner must demonstrate a high degree of autonomy in the developing
activities.
40% Maximum
Evidence of the learner:

 Implementing the planned solution to the task and tracking the


implementation — up to 30 marks
 Testing the implemented solution tracking any changes and making
amendments where required — up to 8 marks
 Managing the project — up to 2 marks

The evidence may be recorded using appropriate techniques such


as software, logbooks (electronic, manual or both), work diaries,
reports, etc.

The learner must achieve all of the minimum evidence specified above in
order to pass the Developing stage.

Scottish Qualifications Authority 13


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Project stage Minimum Evidence Requirements


Stage 3 — The assessor’s role is as a facilitator and so to gain high marks the
Evaluating learner must demonstrate a high degree of autonomy in the evaluating
20% Maximum activities.

Evidence should be in the form of a report showing the evaluation of


the effectiveness of the approach/strategy taken, which includes all
stages of the activity up to 20 marks.

The evaluation report should include all of the following:

 an outline of the assignment and to what extent the solution met


the original requirements of the assignment brief
 an assessment of the strengths and weaknesses of the outputs of
the practical assignment
 recommendations for any future development of the solution and
reasons for these recommendations
 a summary of any modifications to the project plan, solution
design and/or implementation, that were made during the project.
Including reference to any unforeseen events and how they were
handled.
 Identification of any knowledge and skills which have been gained
or developed while carrying out the project assignment and how
the actions/process of carrying out the project could have been
improved

The learner must achieve all of the minimum evidence specified above
in order to pass the Evaluating stage.

Scottish Qualifications Authority 14


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Assessment task/exemplar
The Unit is project-based and allows the learner the flexibility to select from a variety
of different projects which are relevant to the Computer Science curriculum, eg
developing a website or implementing a web server or a database system.

The assessment task should require the learner to:

 analyse the task and decide on a course of action for undertaking the project
 identify the requirements for the project
 plan the solution for the project
 organise work through to project completion
 develop the product to meet the solution
 track and document work undertaken through to project completion
 test the solution tracking any changes and making amendments where required
 reflect on what has been done and draw conclusions for the future
 critically evaluate the approach taken developing the project and draw
conclusions  the critical analysis should cover two areas:

1 product produced — Reflect on the product that has been produced, critically
evaluating the approach/strategy taken for all stages of activity.
2 individual reflective analysis — A learner should provide an evaluation of
their activities drawing conclusions to help future performance.

 produce evidence of meeting the aims which this Group Award Graded Unit has
been designed to cover

Scottish Qualifications Authority 15


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Instructions to learners

You are encouraged to find external clients. However, ‘fleshed-out’ project briefs (eg
case studies) will be provided by your assessor. An example is given below.

You are required to undertake an individual project and the context envisaged is that
you will carry out a project which encompasses all of the knowledge and skills which
would be required to complete a small scale project for an external client. The
assessment will be based on the product, its evaluation and the process. You must:

1 Interpret the needs of the brief.


2 Gather information to clarify the brief.
3 Decide upon and develop a design approach.
4 Carry out development.
5 Evaluate the product and your performance.

The Unit is project-based and allows the learners the flexibility to select from a variety
of different projects which are relevant to the Computer Science curriculum, eg
developing a website or implementing a web server or a database system.

The assessor will meet you regularly to discuss your progress through the stages.
These meetings will be treated by the assessor as a management review of your
activities, keeping track of the progress of the project comparing the actual with the
planned progress. This will allow the assessor to modify deliverable dates (with your
agreement) so that you manage to complete the work in the required time.

An assessor will take a ‘project’ approach to this Graded Unit, allowing you to deliver
a coherent piece of work. The project undertaken should provide you with the
opportunity to develop knowledge and skills gained in the other Units of study.

Any assistance from any third party not involved in the Graded Unit will affect your
grade and your chance of getting an A.

The project will be marked out of 100. Your assessor will mark each stage of the
project taking into account the criteria outlined. You can only progress to the next
stage if you have met the minimum Evidence Requirements of the previous stage. At
the end of each stage, there will be opportunities for remediation/re-assessment on
that particular stage. However, if you require remediation/re-assessment this may
lead to a lower grade. In particular, if you miss an Evidence Requirement you will
lose marks and have to remediate, leading to a lower grade.

Scottish Qualifications Authority 16


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

All allocated marks will be aggregated to arrive at an overall mark for the project.
Assessors will assign an overall grade to the learner for this Graded Unit based on
the following grade boundaries.

A = 70% — 100%
B = 60% — 69%
C = 50% — 59%

The total marks allocated for each stage are as follows:

 Planning  40%
 Developing  40%
 Evaluating  20%

You must achieve a minimum of:

 50% of total marks for the Planning stage


 50% of total marks for the Developing stage
 50% of total marks for the Evaluating stage

Scottish Qualifications Authority 17


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

HND Computer Science: Project Brief

Scotbooks is a specialist bookstore selling books of Scottish interest, particularly


those relating to traditional music and culture. After operating for many years from a
bricks and mortar store based in Glasgow, they have decided that the time has come
to set up an e-commerce website. They have specified that the following criteria must
be met:

 The website must be responsive, allowing it to operate successfully on a range of


platforms, including smartphones and mobile devices.
 It must be database driven and allow for straightforward addition, deletion and
editing of stock data to be carried out in-house.
 Server set-up and software installation must be carried out in-house
 Customers must be able to set up accounts, purchase goods and make payment
online.
 Where possible existing packaged solutions should be used, rather than those
calling for extensive development of bespoke code.
 Additional information about the various functions required can be obtained from
the managers responsible for the different departments of the company.

You have been asked to clarify the requirements, identify and implement a suitable
hardware and software platform, install and configure the software and set up a
prototype which the company can extend later.

Scottish Qualifications Authority 18


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Project Brief  Template

1 Planning: Action Plan

1.1 Analysis of the Project Assignment Brief

1.1.1 Problem analysis

In this section you should give your interpretation of the project assignment brief,
including any information gathered to clarify the brief. (6 marks)

1.1.2 Aims of the project assignment

(4 marks)

1.1.3 Requirements

eg functional/non-functional, constraints (4 marks)

1.1.4 Key factors

Identification of the key factors influencing the project. (4 marks)

1.1.5 Resources and materials

Here you should identify the resources required to carry out the project, eg
sources of information, procedures to be followed, people, equipment and other
physical resources. You should also specify how the required resources will be
accessed/obtained. (4 marks)

1.1.6 Information sources

Identification of the information sources to be used. (4 marks)

1.1.7 Analysis

You should undertake the analysis using appropriate techniques. The most important
thing here is to ensure that you and your client have a common understanding of
what you’re trying to achieve, ie what the client expects to receive is the same as
what you intend to deliver. (4 marks)

Your analysis might make use of the following techniques:

 research using both online and offline sources, eg vendor websites, product
manuals
 review of existing documentation
 interviews with staff involved

Scottish Qualifications Authority 19


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

1.2 Project Plan

You should produce a detailed formal plan to undertake the project.

This should have realistic timescales (2 marks) and should identify:

 Timescales/schedules for each stage and overall completion (2 marks)


 Milestones and deliverables (2 marks)
 Main tasks (2 marks)
 Resources (2 marks)

The project plan must include testing. Marks will be deducted for its omission.

If you are familiar with the use of Project Management software, you could use this.

Scottish Qualifications Authority 20


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

2 Developing

2.1 Implementing the planned solution

Here you must provide evidence of implementing the planned solution to the
task and tracking the implementation. This will involve the implementation of the
plan created in stage 1, reviewing or adjusting the plan if required.

The evidence may be recorded using appropriate techniques such as software,


logbooks (electronic, manual or both), work diaries, reports, etc.

This project involves setting up a responsive website which can operate


successfully on a range of platforms, including smartphones and mobile devices.

The website must be database driven and allow for straightforward addition,
deletion and editing of stock data to be carried out in-house.

Customers must be able to set up accounts, purchase goods and make payment
online.

Server set-up and software installation must be carried out in-house.

Where possible existing packaged solutions should be used, rather than those
calling for extensive development of bespoke code.

Evidence arising from this project should relate to material you have covered in
earlier Units, especially H16W 35: Relational Database Management Systems,
H1J9 35: Software Development: Developing Websites for Multiplatform Use
and H16S 35: Managing a Web Server.

You should produce a report of around 25 pages documenting the underpinning


processes:

 identify and implement a suitable hardware and software platform (10 marks)
 install and configure the software (6 marks)
 set up a prototype which the company can extend later (14 marks)

This might consist of an introductory page, several pages on each topic and a final
page. This should be fairly easy for you to produce, based on your teaching and
lab notes for the relevant topics.

2.2 Testing the implemented solution

You should test the implemented solution, tracking any changes and making
amendments where required. (8 marks)

Scottish Qualifications Authority 21


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

2.3 Managing the project

You should manage the project in line with the Project Plan drawn up earlier.
(2 marks)

3 Evaluation

You are required to produce an evaluation report showing the effectiveness of


the approach/strategy taken which includes all stages of the activity, ie analysis of
the activity, the planning and organisation of the activity and the outcome of the
activity.
The evaluation report should include the sections specified below.
3.1 Outline of the assignment

You should produce an outline of the assignment and to what extent the solution met
the original requirements of the assignment brief as noted below. (4 marks)

You should give a statement regarding the extent to which each of these objectives
has been achieved. If an objective has not been achieved, or has only been partially
achieved, you should give an explanation.

3.2 Strengths and weaknesses

You should give an assessment of the strengths and weaknesses of the outputs of
the practical assignment. (4 marks)

3.3 Recommendations

You should make recommendations for any future development of the solution and
give your reasons for these recommendations. (4 marks)

3.4 Modifications

You should give a summary of any modifications to the project plan, solution design
and/or implementation that were made during the project, including reference to any
unforeseen events and how they were handled. (4 marks)

3.5 Knowledge and skills

You should identify any knowledge and skills which have been gained or developed
while carrying out the project assignment and how the actions/process of carrying out
the project could have been improved. (4 marks)

Scottish Qualifications Authority 22


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Suggested solution and making an assessment decision

The suggested solution below should be used as a guideline rather than a completed
working project and as such contains samples of some of the minimum Evidence
Requirements. The scenario is based on a real software development project for an
external client but could equally well be applied to a case study.

The learner must achieve the minimum Evidence Requirements for the Planning
stage before progressing to the Development stage but the final mark for the
Planning stage should only be awarded once the solution plan is complete. The
Development stage must be completed before progressing to the Evaluation stage.

The following documentation from the client is used to illustrate some of the
documentation required for the Graded Unit.

Instrument of Assessment — Initial brief from client

Scotbooks is a specialist bookstore selling books of Scottish interest, particularly


those relating to traditional music and culture. After operating for many years from a
bricks and mortar store based in Glasgow, they have decided that the time has come
to set up an e-commerce website. They have specified that the following criteria must
be met:

 The website must be responsive, allowing it to operate successfully on a range of


platforms, including smartphones and mobile devices.
 It must be database driven and allow for straightforward addition, deletion and
editing of stock data to be carried out in-house.
 Server set-up and software installation must be carried out in-house.
 Customers must be able to set up accounts, purchase goods and make
payments online.
 Where possible existing packaged solutions should be used, rather than those
calling for extensive development of bespoke code.
 Additional information about the various functions required can be obtained from
the managers responsible for the different departments of the company.

You have been asked to clarify the requirements, identify and implement a suitable
hardware and software platform, install and configure the software and set up a
prototype which the company can extend later.

Scottish Qualifications Authority 23


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Assessors should complete the learner record checklist (overleaf) for each learner.

The following information is given for guidance only, as solutions will vary depending
on the project selected by the learner.

1 Planning

1.1 Analysis of the project assignment brief

A maximum of 30 marks should be allocated between the components as follows:

 Interpretation of the project assignment brief including any information gathered


to clarify the brief. (6 marks)
 Aims of the project assignment. (4 marks)
 Requirements: eg functional/non-functional/constraints. (4 marks)
 Identification of the key factors influencing the project. (4 marks)
 Identification of resources and materials required and how they will be
accessed/obtained. (4 marks)
 Identification of information sources to be used. (4 marks)
 Undertaking the analysis using appropriate techniques. (4 marks)

1.2 Project Plan

A maximum of 10 marks should be allocated between the components as follows:

 Timescales/schedules for each stage and overall completion (2 marks) 


timescales must be realistic. (2 marks)
 Milestones and deliverables. (2 marks)
 Main tasks. (2 marks)
 Resources. (2 marks)

Scottish Qualifications Authority 24


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

2 Developing

A maximum of 40 marks should be allocated between the components as follows:

 Implementing the planned solution to the task and tracking the implementation.
(30 marks)
 Testing the implemented solution tracking any changes and making amendments
where required. (8 marks)
 Managing the project. (2 marks)

3 Evaluating

A maximum of 20 marks should be allocated between the components as follows:

 An outline of the assignment and to what extent the solution met the original
requirements of the assignment brief. (4 marks)
 An assessment of the strengths and weaknesses of the outputs of the practical
assignment. (4 marks)
 Recommendations for any future development of the solution and reasons for
these recommendations. Any relevant references should be included. (4 marks)
 A summary of any modifications to the project plan, solution design and/or
implementation, that were made during the project. Including reference to any
unforeseen events and how they were handled. (4 marks)
 Identification of any knowledge and skills which have been gained or developed
while carrying out the project assignment and how the actions/process of
carrying out the project could have been improved. (4 marks)

Scottish Qualifications Authority 25


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Sample Solution

HND Computer Science  Graded Unit 2 (Project-based)

Learner’s Name: Robert Nesbitt Date: 13 June 2015

This sample solution exemplifies the work of a learner who would be awarded an A grade. It
should not be regarded as a definitive ‘correct’ solution. The notes in italics give the rationale
for the marks awarded and offer suggestions on why marks might be deducted.

1 Planning: Action Plan

1.1 Analysis of the Project Assignment

The initial brief from the client is as follows:

Scotbooks is a specialist bookstore selling books of Scottish interest, particularly


those relating to traditional music and culture. After operating for many years from a
bricks and mortar store based in Glasgow, they have decided that the time has come
to set up an e-commerce website. They have specified that the following criteria must
be met:

 The website must be responsive, allowing it to operate successfully on a range of


platforms, including smartphones and mobile devices.
 It must be database driven and allow for straightforward addition, deletion and
editing of stock data to be carried out in-house.
 Server set-up and software installation must be carried out in-house.
 Customers must be able to set up accounts, purchase goods and make
payments online.
 Where possible existing packaged solutions should be used, rather than those
calling for extensive development of bespoke code.
 Additional information about the various functions required can be obtained from
the managers responsible for the different departments of the company.

I have been asked to clarify the requirements, identify and implement a suitable
hardware and software platform, install and configure the software and set up a
prototype which the company can extend later.

Scottish Qualifications Authority 26


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

1.1.1 Problem Analysis

My analysis of the problem is as follows:

The website must be responsive, allowing it to operate successfully on a range of


platforms, including smartphones and mobile devices. If this is not accomplished the
website may look bad on mobile devices and may even be unusable.

To accomplish this, the chosen software must support responsive website design.
This is a relatively new area and many older approaches to web design do not
support it, so this will be an important factor in software selection.

It must be database driven and allow for straightforward addition, deletion and editing
of stock data to be carried out in-house. The requirement that the website be
database driven could be difficult to implement using traditional web development
approaches and suggests the use of a content management system (CMS) rather
than a web design package.

Server set-up and software installation must be carried out in-house. This suggests
that server setup and software installation should be relatively straightforward. It also
suggests that maintenance will need to be carried out in-house as a third-party
maintenance provider is unlikely to want to maintain systems that they have not
installed.

Customers must be able to set up accounts, purchase goods and make payments
online. This suggests that the software must support the setup of customer accounts
and link to payment gateways.

Where possible existing packaged solutions should be used, rather than those calling
for extensive development of bespoke code. Again, this points towards the use of a
content management system, rather than a traditional web design package.

This should be a fairly easy area for learners to gain marks as all the relevant information
can be obtained from or is implied by the project brief. The above example makes six
specific points, but learners may group these differently. There are six marks allocated for
this section. Six or more relevant points should be awarded full marks, with one mark
deducted for every point omitted. More marks should be awarded if a learner ‘demonstrates
an accurate and insightful interpretation of the project brief’ as opposed to ‘demonstrates an
acceptable interpretation of the project brief’.

Scottish Qualifications Authority 27


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

1.1.2 Aims of the project assignment

The aims of the project assignment are as follows:


 clarify the requirements
 identify and implement a suitable hardware and software platform
 install and configure the software
 set up a prototype which the company can extend later

Again, this should be a fairly easy area for learners to gain marks as all the relevant
information can be obtained from the project brief. The above example lists four specific
aims, but learners may group these differently. There are four marks allocated for this
section. Four or more relevant aims should be awarded full marks, with one mark deducted
for every aim omitted.

1.1.3 Requirements

The implemented solution must meet the requirements noted below:

Functional Requirements

The solution must meet the following functional requirements:

 The website must be responsive.


 The system must allow for straightforward addition, deletion and editing of stock
data to be carried out in-house.
 Customers must be able to set up accounts, purchase goods and make
payments online.

Non-functional Requirements

The solution must meet the following non-functional requirements:

 The site must be database driven.


 Server set-up and software installation must be carried out in-house.

Constraints

The solution is subject to the following constraints:

 Where possible existing packaged solutions should be used, rather than those
calling for extensive development of bespoke code.

Scottish Qualifications Authority 28


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

There are four marks allocated for this section. Four or more relevant requirements should
be awarded full marks, with one mark deducted for every omission. All three categories of
requirements (functional, non-functional and constraints) should be included. A mark should
be deducted for the omission of any category. It should be noted that the distinction between
non-functional requirements and constraints is not absolute, so learners should be granted a
bit of leeway in assigning requirements to these categories.

1.1.4 Key factors

The key factors are as follows:

 The website must be responsive, allowing it to operate successfully on a range of


platforms, including smartphones and mobile devices.
 It must be database-driven and allow for straightforward addition, deletion and
editing of stock data to be carried out in-house.
 Server set-up and software installation must be carried out in-house
 Customers must be able to set up accounts, purchase goods and make
payments online.

There are four marks allocated for this section. Four or more relevant factors should be
awarded full marks, with one mark deducted for every factor omitted.

1.1.5 Resources and materials

Sources of information

Information regarding hardware and software can be obtained online. A detailed list
of sources is given in section 1.1.6.

Procedures

Procedures to be followed for purchasing, computer use (Acceptable Use Policy),


network administration, etc can be found in the company’s Procedure Manual,
available from Human Resources.

Staffing

A Consultant will need to be allocated full-time to the project to investigate


requirements and design the network. A Computer Technician will be required on an
ad hoc basis. On completion of the project a Trainer will be required to teach staff
how to use the new hardware and software effectively. Since these are short-term
requirements contract staff will be sourced via Human Resources.

Scottish Qualifications Authority 29


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Equipment

Client and server operating computers and software will require to be sourced in line
with the recommendations made by the Consultant. These will be purchased in line
with the company’s purchasing procedures.

Software and services

Client and server operating systems and applications software will require to be
purchased in line with the recommendations made by the Consultant. An internet
service will also be required, along with ancillary services such as e-mail and online
backup. These will be purchased in line with the company’s purchasing procedures.

Other physical resources

Existing office accommodation will require to be upgraded to provide ergonomic staff


workstations in line with current Health and Safety regulations. The accommodation
will require adequate power supplies for all equipment and environmental controls
such as heating, air-conditioning and dust and humidity levels. Any required
equipment will be purchased in line with the company’s purchasing procedures.

There are four marks allocated for this section. Four or more relevant resources should be
awarded full marks, with one mark deducted for every resource omitted. It is essential that
learners specify how resources will be obtained.

1.1.6 Information sources


Information will be obtained from the following sources:

Hardware manufacturer websites:

Dell: http://www.dell.co.uk/
Acer: http://www.acer.co.uk/ac/en/GB/content/home

Software supplier websites:

Microsoft: http://www.microsoft.com/en-gb/default.aspx
Ubuntu: http://www.ubuntu.com/
WordPress: http://wordpress.org/
Apache: http://www.apache.org/

MySQL : http://www.mysql.com/
BookStore: http://themeforest.net

Online retailers:

Dabs: http://www.dabs.com/
PC World: http://www.pcworld.co.uk/gbuk/index.html
Amazon: http://www.amazon.co.uk/

Scottish Qualifications Authority 30


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Technical support websites:

Microsoft: http://support.microsoft.com/?ln=en-gb
Ubuntu: http://www.ubuntu.com/support
Apache: http://httpd.apache.org/support.html
MySQL: http://www.mysql.com/support/
BookStore: http://crunchpress.ticksy.com/?envato_item_id=5243193

Reference books:

Official Ubuntu Server Book


Apache Server Reference Manual
Building Web Apps with WordPress
MYSQL Administrator’s Bible

There are four marks allocated for this section. Four or more relevant sources should be
awarded full marks, with one mark deducted for every source omitted.

1.1.7 Analysis

Research was carried out using the following resources and techniques:

 Online sources: vendor websites (Dell, Acer, Microsoft, Ubuntu,


WordPress, Apache, MySQL, BookStore, etc), downloadable manuals
(TP-Link, Linksys, etc)
 Offline sources: Windows 8, Windows Server 2008, Ubuntu, MySQL and
Apache manuals and textbooks.
 Review of existing documentation: job descriptions, procedure manuals, etc
 Interviews with staff involved: department managers

There are four marks allocated for this section. One mark for each resource/technique used.

Scottish Qualifications Authority 31


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

1.2 Project Plan

The project will consist of three phases as detailed below. It is scheduled to begin
31st August and finish on 9th October 2015, a total of 30 days.

Phase 1: Problem Analysis

This phase is divided into three sub-phases:

1 Investigate Hardware requirements


2 Investigate Software requirements
3 Investigate Implementation requirements

Phase 2: Developing

Development of the network design is divided into four sub-phases, each of which
consists of a number of tasks:

1 Select hardware
2 Select software
3 Install hardware and software
4 Implement prototype

Phase 3: Evaluation

This phase consists of three tasks:

1 Evaluate hardware selection and installation


2 Evaluate software selection and installation
3 Evaluate prototype implementation

The timeline and Gantt chart for the project are as follows:

Week 1 Selection and installation of hardware


Week 2 Selection of software
Week 3 Installation of software
Week 4 Construction and testing of prototype
Week 5 Construction and testing of prototype
Week 6 Evaluation

Reproduced with permission from Gantt Project

Scottish Qualifications Authority 32


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Timescales are as shown on the Timeline and Gantt chart.

Milestones are the end of each phase shown on the Gantt chart.

Deliverables are the documentation produced at the end of each phase or sub-
phase.

Tasks are shown as blue bars on the Gantt chart.

The Resources required to complete the project are as follows:

 Personnel: one Consultant for 30 days, one Computer Technician on an ad hoc


basis. The Technician does not need to be allocated to the project on a full-time
basis and can be sourced from the technician pool as required.
 Computing Facilities: a modern PC with at least a 22” monitor for the use of the
Consultant. It must have an internet connection and run a current client operating
system such as Windows or Linux. Applications software must include an
Office Suite and a Project Management package.
 Accommodation: a comfortable, ergonomically-designed office with sufficient
space for small-group meetings.

Ten marks are allocated for production of a formal project plan. The marks are distributed as
follows:

 Timescales/schedules for each stage and overall completion (2 marks)  timescales


must be realistic (2 marks)
 Milestones and deliverables (2 marks)
 Main tasks (2 marks)
 Resources (2 marks)

Omission of any of these would lead to a loss of marks.

The Project Plan must include Testing. Marks will be deducted if this is omitted.

Scottish Qualifications Authority 33


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

2 Developing

2.1 Implementing the planned solution

30 marks are allocated for this section. These should be split as follows:

 identify and implement a suitable hardware and software platform (10 marks)
 install and configure the software (6 marks)
 set up a prototype which the company can extend later (14 marks)

Omission of any part will lead to the loss of the relevant marks.

2.1.1 Identify a suitable hardware and software platform (10 marks)

Hardware Requirements

The recommended server is the PowerEdge R415.

This system has been tested by Canonical and is certified to work correctly with
Ubuntu 14.04 LTS using the following components:

Processor: AMD Opteron Processor 4184


BIOS: Dell 1.10.0
Video: Matrox Electronics Systems Ltd MGA G200eW WPCM450
Network: Broadcom NetXtreme II BCM5716 Gigabit Ethernet
Storage: SanDisk Cruzer, Seagate ST3750330NS, Western Digital ATA WDC
WD1602ABKS-1, Western Digital WDC WD1602ABKS-18N8A0
Storage Controller: Advanced Micro Devices, Inc [AMD/ATI] SB700/SB800 IDE

Cheaper suppliers, such as Acer, were considered, but it was felt that a system from
a known high-quality supplier was preferable and that it was important that it should
be certified to work correctly with the Ubuntu server software.

Scottish Qualifications Authority 34


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Software Requirements
Operating System
When it comes to web hosting platforms there are two major options available,
Windows and Linux. A Windows-based system can run either the open-source
Apache web server or Microsoft’s own Internet Information Services (IIS) server
and supports the MySQL database, Microsoft SQL Server and Microsoft Access.
Linux is a bit more limited as it supports only Apache and MySQL  it is not
possible to run IIS, SQL Server or Access.

For various reasons, we decided to opt for a Linux platform. This is a much cheaper
option as the software is free and makes fewer demands on the hardware. It is often
claimed that Linux hosting is faster. This may not always be true, but when running
PHP and MySQL based applications it’s around 20% faster and is more reliable.

Both Linux hosting and Windows hosting can be hacked if the servers haven’t
been properly configured. However, Linux is more secure, largely because there are
more Windows viruses about than Linux viruses.

We opted to use the Ubuntu distribution of Linux, one of the most popular choices
at present. Other popular distributions include Red Hat, SUSE, Debian and
CentOS.

Ubuntu is a Debian-based Linux operating system, with Unity as its default


desktop environment. It is a free, open-source product, suitable for both desktop and
server use and runs on a variety of processors, including Intel/AMD, ARM and
Power PC. Development of Ubuntu is led by Canonical, a company based on the
Isle of Man. As the software itself is free, Canonical earns money by selling
technical support and other related services.
Ubuntu is made up of many software packages, most of which are free, but it can
also run proprietary software.
Ubuntu comes with a wide range of software installed including LibreOffice,
Firefox, Empathy, Transmission and a few games. Additional software can be
downloaded and installed using the Ubuntu Software Center or other APT-based
package management tools. Programs in the Software Center are generally free, but
there are also paid products. Ubuntu can also run many programs designed for
Microsoft Windows through Wine or using a Virtual Machine (such as VirtualBox
or VMware Workstation).
For security reasons, the sudo tool is used to assign temporary privileges for
performing administrative tasks, allowing the root account to remain locked and
preventing inexperienced users from accidentally making undesirable changes or
opening security holes.

Scottish Qualifications Authority 35


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Ubuntu can close its own network ports using its own firewall software. The default
character encoding is UTF-8 which supports a range of non-Roman scripts.
Web Server
Having selected a Linux platform, Apache is the obvious choice of web server,
although there are alternatives available. Apache played a significant role in the
initial growth of the World Wide Web. Development began in early 1995, based on
the earlier NCSA HTTPd server. Apache soon became the dominant web server,
and has remained the most popular HTTP server in use since April 1996. In 2009, it
became the first web server to serve more than 100 million websites. As of June
2013, Apache was estimated to serve 54.2% of all active websites and 53.3% of the
top servers across all domains.

Apache is developed and maintained by an open community of developers under


the auspices of the Apache Software Foundation. Although most commonly used on
a Unix-like system, it is available for a range of operating systems, including Unix,
FreeBSD, Linux, Solaris, Novell NetWare, OS X, Microsoft Windows and
OS/2. Apache is open-source software and is released under the Apache
License.

Apache supports a variety of features, ranging from server-side programming


language support to authentication schemes. Supported languages include Perl,
Python, Tcl, and PHP and there is a range of authentication modules available.
Other features include Secure Sockets Layer and Transport Layer Security support,
a proxy module, a URL rewriter, custom log files and filtering support.

An external extension module, mod_gzip, is used to compress web pages served


over HTTP. ModSecurity is an open source intrusion detection and prevention engine
for web applications. Apache logs can be analysed through a web browser using
free tools such as AWStats/W3Perl or Visitors. Virtual hosting allows a single
Apache installation to serve many different websites.

Apache also features configurable error messages, DBMS-based authentication


databases and content negotiation. It is supported by several graphical user
interfaces (GUIs) and offers password authentication and digital certificate
authentication. Since the source code is freely available, anyone can adapt the
server for specific needs, and there is a large public library of Apache add-ons.

Scottish Qualifications Authority 36


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Database
Having chosen a Linux hosting platform, MySQL is the obvious choice of
database. MySQL is the world's second most widely used open-source relational
database management system (RDBMS). (The most widely used is SQLite, which is
used in every iPhone and Android device and with the Chrome and Firefox
browsers.) SQL stands for Structured Query Language.

The MySQL source code is available under the terms of the GNU General Public
License, as well as under a variety of proprietary agreements. MySQL  was originally
owned by Swedish company MySQL AB, but is now owned by Oracle Corporation.

MySQL is widely used in web applications and is a central component of LAMP


open source web application software stack. LAMP is an acronym for ‘Linux,
Apache, MySQL, Perl/PHP/Python’. Applications which use MySQL databases
include Moodle, Joomla, WordPress and Drupal. MySQL is also used in many
high-profile websites, including Wikipedia, Google, Facebook, Twitter, Flickr,
and YouTube.

Content Management System


WordPress, Joomla and Drupal are currently the three most popular content
management systems (CMS). All three are open source and built on PHP + MySQL ,
but they vary significantly in terms of features, capability, flexibility and ease of use.

Drupal is one of the oldest CMS systems  it was first released in early 2001. It is a
fully-fledged, enterprise grade CMS, recommended for large projects where stability,
scalability and power take priority over ease of use and aesthetics. Drupal is
extremely powerful and developer-friendly, making it a popular choice for feature rich,
data-intensive websites. Its advantages include the fact that it is stable, scalable,
extremely flexible, developer-friendly and has strong SEO capabilities.

Disadvantages include a steep learning curve, lack of free plugins (modules) and
lack of themes.

Joomla is a fork of an earlier CMS known as Mambo. It is user-friendly and has a


strong developer community. Joomla has strong content management capabilities
and offers a wide range of extensions, known as components, plugins, templates,
modules and languages, each of which differs in function, power and capability.
However, there is some learning involved and it lacks SEO capability. It also has
limited facilities for restricting user access to specific pages.

It is estimated that more than 68 million sites use WordPress, making it the world’s
most popular CMS. It is used by nearly a quarter of the top 10 million websites.
Advantages include support for multiple authors and a huge range of themes and
plugins. It is user friendly, has strong SEO capabilities and can easily be customised
using HTML/CSS. Due to its popularity, WordPress sites are often targeted by
hackers, so it is essential that steps be taken to enhance security.

Scottish Qualifications Authority 37


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Updates are frequent, so there can sometimes be incompatibilities with older plugins.

At the end of the day we decided to opt for WordPress, largely due to the pact that
there were several excellent themes available for creating bookstore websites. The
theme selected was BookStore, a clean, responsive WooCommerce powered
WordPress store theme suitable for book stores, libraries, book shops, digital
products, e-books, software apps or can be used to create affiliate sites linking to
store like Amazon and B&N.

It is compatible with all modern mobile devices. Its main features include:
 Fully Responsive
 WooCommerce Ready
 Multilingual Support using WPML
 Multiple Blog Styles
 Multiple Portfolio Layouts
 Google Fonts
 Shortcode System
 Page Builder
 Slider Manager
 Social Share for Posts
 Well commented code
 Layered PSD Included
 HTML 5 & CSS 3
 Thumbnail Options (Static Image, Slider, Video)

Ten marks are available. Two marks each should be awarded for:
 Hardware
 Operating System
 Web Server
 Database
 Content Management System
Any omission will lead to a loss of marks.

Note: Some flexibility should be included to allow marks to be allocated to learners


showing ability to manipulate and develop code which provides a better solution to a
given task.

Scottish Qualifications Authority 38


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

2.1.2 Install and configure the software (6 marks)

Operating System

Ubuntu can easily be installed from a DVD or a USB drive. In this case it was
installed from a DVD. The initial screen asks whether you want to try Ubuntu from a
DVD or install it. The Install option was selected.

Copyright Ubuntu covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

Canonical (the suppliers of Ubuntu) suggest that you should take the following
steps prior to installation:
 plug your computer into a power source
 make sure you have enough space on your computer to install Ubuntu
 select Download updates while installing and Install this third-party software now
 stay connected to the internet so you can get the latest updates while you install
Ubuntu
 if you are not connected to the internet you can connect to a wireless network
during installation

Copyright Ubuntu covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)
Scottish Qualifications Authority 39
HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

The next screen asks whether you’d like to install Ubuntu alongside another
operating system, delete your existing operating system and replace it with Ubuntu,
or choose the Something else option. Install Ubuntu alongside Windows 7 was
chosen.

Copyright Ubuntu covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

We can now verify that we have chosen the way in which we would like to install
Ubuntu. The installation process was started by clicking the Install Now button.
Ubuntu needs about 4.5 GB to install, so we added a few extra GB to allow for files.

Copyright Ubuntu covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

Scottish Qualifications Authority 40


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

As we were connected to the internet, our location was selected automatically.

Copyright Ubuntu covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

Next we selected the preferred keyboard layout (UK English).

Copyright Ubuntu covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

We were then asked to enter a Username and Password:

Copyright Ubuntu covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)
Scottish Qualifications Authority 41
HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Once the system had installed a restart was required.

Copyright Ubuntu covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

Scottish Qualifications Authority 42


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Web Server and Database

The Apache Web Server and MySQL database were installed using a LAMP stack,
a group of open source software that can be installed together to enable a server to
host dynamic websites and web applications. The term is an acronym which
represents the Linux operating system, with the Apache web server. The site data
is stored in a MySQL database and dynamic content is processed by PHP.

We installed the stack on the server where we had just installed Ubuntu 14.04. In
order to do this we had to set up a separate non-root user account on the server.

Apache was installed using Ubuntu’s package manager, apt:

sudo apt-get update


sudo apt-get install apache2

Since we were using a sudo command, these operations were executed with root
privileges. We were asked to provide a user password, after which the web server
was installed. We verified this by visiting the server’s public IP address in a web
browser.

We saw the default Ubuntu 14.04 Apache web page, which is there for
informational and testing purposes.

Copyright Apache covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

We were now able to install MySQL , again using apt. We also installed some other
‘helper’ packages that would assist us in getting our components to communicate
with each other:

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

Scottish Qualifications Authority 43


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

When the installation was complete, we had to run some additional commands to get
our MySQL environment set up securely.

First, we had to tell MySQL to create its database directory structure where it will
store its information by typing:

sudo mysql_install_db

Next we ran a simple security script to remove some dangerous defaults and lock
down access to our database system. We started the interactive script by running:

sudo mysql_secure_installation

We were asked to enter the password for the MySQL root account and offered the
opportunity to change it, which we declined. For the rest of the questions, we simply
hit the ‘ENTER’ key through each prompt to accept the default values. This removed
some sample users and databases, disabled remote root logins, and loaded these
new rules so that MySQL immediately respected the changes made.

The database system was now set up so we could move on to installing PHP. PHP is
the component of our setup that will process code to display dynamic content. It can
run scripts, connect to our MySQL databases to get information, and hand the
processed content over to our web server to display.

We can once again use the apt system to install our components. We included some
helper packages as well:

sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt

This installed PHP without any problems. We now wanted to modify the way that
Apache serves files when a directory is requested. Currently, if a user requests a
directory from the server, Apache will first look for a file called index.html. We
wanted to tell our web server to prefer PHP files, so we made Apache look for
an index.php file first by typing this command to open the dir.conf file in a text editor
with root privileges:

sudo nano /etc/apache2/mods-enabled/dir.conf

It looked like this:

<IfModule mod_dir.c>
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
</IfModule>

Scottish Qualifications Authority 44


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

We wanted to move the PHP index file highlighted above to the first position after
the DirectoryIndex specification, like this:

<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
</IfModule>

When we were finished, we saved and closed the file by pressing ‘CTRL+X’. We had
to to confirm the save by typing ‘Y’ and then hitting ‘ENTER’ to confirm the file save
location. After this, we needed to restart the Apache web server in order for our
changes to be recognised by typing:

sudo service apache2 restart

Our LAMP stack was now installed and configured. We now needed to test out our
PHP by creating a very basic PHP script which we called info.php.

In order for Apache to find the file and serve it correctly, it must be saved to a very
specific directory, which is called the ‘web root’. In Ubuntu 14.04, this directory is
located at /var/www/html/. We created the file at that location by typing:

sudo nano /var/www/html/info.php

This opened a blank file. We put the following valid PHP code inside the file, then
saved and closed the file.

<?php
phpinfo();
?>

This let us test whether our web server can correctly display content generated by a
PHP script. To try this out, we visited this page in our web browser:

PHP Version 5.5.9-1 ubuntu4

Copyright PHP covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

Scottish Qualifications Authority 45


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

This page gives information about the server from the perspective of PHP. It is useful
for debugging and to ensure that settings are being applied correctly. Since this was
successful, then our PHP was working as expected.

Content Management System (WordPress)



Create a MySQL Database and User for WordPress 

WordPress uses a relational database to manage and store site and user
information. We already had MySQL installed, which can provide this functionality,
but we needed to make a database and a user for WordPress to work with. To get
started, we logged into the MySQL root (administrative) account by issuing this
command:

mysql -u root -p

We were prompted for the password set for the MySQL root account when we
installed the software. You will then be given a MySQL command prompt.

First, we had to create a separate database that WordPress could control. We used
WordPress because it is descriptive and simple. We entered this command to
create the database:

CREATE DATABASE wordpress;

Next, we had to create a separate MySQL user account for use exclusively to
operate on our new database. We called the new account wordpressuser and
assigned it an initial password of password as follows:

CREATE USER wordpressuser@localhost IDENTIFIED BY 'password';

We now had a database and a user account, each made specifically for WordPress .
However, these two components have no relationship yet. The user has no access to
the database. We fixed this by granting our user account access to our database with
this command:

GRANT ALL PRIVILEGES ON wordpress.* TO wordpressuser@localhost;

Now the user had access to the database. We needed to flush the privileges so that
the current instance of MySQL knows about the recent privilege changes we’d
made:

FLUSH PRIVILEGES;

We could then exit from the MySQL prompt by typing:

exit
Scottish Qualifications Authority 46
HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

This took us back to our regular command prompt.

Download WordPress 

Next, we had to download the actual WordPress files from the project’s website.
The most recent stable version of their software to the same URL, so we can obtain
the most up-to-date version of WordPress by typing this:

cd ~
wget http://wordpress.org/latest.tar.gz

This downloaded a compressed file containing the archived directory contents of the
WordPress files to our home directory. We could then extract the files to rebuild the
WordPress directory we needed by typing:

tar xzvf latest.tar.gz

This created a directory called wordpress in our home directory.

While we were downloading things, we also obtained a few more packages that we
needed. We got these directly from Ubuntu’s default repositories after we updated
our local package index:

sudo apt-get update


sudo apt-get install php5-gd libssh2-php

This would allow you to work with images and to install plugins and update portions
of your site using our SSH login credentials.

Configure WordPress 

Most of the configuration would be done through a web interface later on. However,
we did need to do some work from the command line before we could get this up and
running. We started by moving into the WordPress directory that you just unpacked:

cd ~/wordpress

A sample configuration file that mostly matches the configuration we needed was
included by default. However, we needed to copy it to the default configuration file
location to get WordPress to recognise the file. We did that by typing:

cp wp-config-sample.php wp-config.php

Now that we have a configuration file to work with, let’s open it in a text editor:

nano wp-config.php

Scottish Qualifications Authority 47


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

This file was almost entirely suitable for our needs already. The only modifications we
needed to make was to the parameters that hold our database information.
We needed to find the settings for DB_NAME, DB_USER and DB_PASSWORD in
order for WordPress to correctly connect and authenticate to the database we
created. We filled in the values of these parameters with the information for the
database we created:

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');

/** MySQL database username */


define('DB_USER', 'wordpressuser');

/** MySQL database password */


define('DB_PASSWORD', 'password');

These were the only values we needed to change before saving and closing the file.

Copy files to the document root

Once we had our application configured, we needed to copy it into Apache’s


document root, where it can be served to visitors of our website. This was done using
the rsync command which preserves permissions and has good data integrity
features.

The location of the document root was /var/www/html/. We transferred our


WordPress files there by typing:

sudo rsync -avP ~/wordpress/ /var/www/html/

We then moved into the document root to make some final permissions changes:

cd /var/www/html

We needed to change the ownership of our files for increased security. We wanted to
give user ownership to the regular, non-root user (with sudo privileges) that we
planned on using to interact with our site. We used the same account that we set up
during the initial server setup guide, which we called demo.

We gave group ownership to our web server process, www-data. This allows
Apache to interact with the content as necessary. We assigned these ownership
values by typing:

sudo chown -R demo:www-data *

While we were dealing with ownership and permissions, we also looked into
assigning correct ownership on our uploads directory. This allows us to upload
images and other content to our site. Currently, the permissions are too restrictive.
First, we manually created the uploads directory beneath the wp-content directory at
our document root. This would be the parent directory of our content:
Scottish Qualifications Authority 48
HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

mkdir /var/www/html/wp-content/uploads
We now had a directory to house uploaded files, however the permissions were still
too restrictive. We needed to allow the web server itself to write to this directory. We
did this by assigning group ownership of this directory to our web server, like this:

sudo chown -R :www-data /var/www/html/wp-content/uploads

This allows the web server to create files and directories under this directory, which
will permit us to upload content to the server.

Complete Installation through the Web Interface

Now that we had our files in place and the software configured, we could complete
the installation through the web interface. In our web browser, we navigated to our
server’s domain name, where we could see the WordPress initial configuration
page, where we could create an initial administrator account:

Copyright WordPress covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

Scottish Qualifications Authority 49


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

We filled out the information for the site and the administrative account we wished to
make. When we were finished, we clicked on the install button at the bottom.
WordPress confirmed the installation, and then asked us to log in with the account
we had just created:

Copyright WordPress covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

We hit the button at the bottom and then filled out our account information:

Copyright WordPress covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

We were then presented with the WordPress dashboard:

Copyright WordPress covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

That was the installation of WordPress completed.


Scottish Qualifications Authority 50
HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

BookStore Theme

The next step was to install the BookStore theme. As we had already downloaded
the theme, we could do this from the Themes > Install Themes section in the
WordPress dashboard. We clicked on the Upload link at the top of the page:

Copyright WordPress covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

Then we clicked the Choose File button, selected the archive of the theme from the
local computer and pressed the Install Now button.

WordPress uploaded and extracted the theme. All we needed to do next was press
the Activate link under the message for successful theme installation. We were then
able to go to our site to see the newly activated theme.

Copyright WordPress covered by Creative Commons CC-BY-SA version 3.0 UK licences


(https://creativecommons.org/licenses/by-sa/3.0/)

Six marks are available. These should be allocated as follows:

 Operating System (1 mark)


 Web Server (1 mark)
 Database/PHP (2 marks)
 Content Management System (1 mark)
 Theme (1 mark)

Any omission will lead to a loss of marks.

Scottish Qualifications Authority 51


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

2.1.3 Set up a prototype which the company can extend later (14 marks)

Note: Basic data analysis should be carried out prior to developing the prototype.
Evidence might include an entity relationship diagram and entity descriptions. It is
difficult to be too prescriptive as some factors such as data storage formats may
depend on the packages selected.

Entity-Relationship Diagram

Entity Descriptions
Customer Book
Field Format Field Format
AccountNo Text ISBN Text
Title Text Author1 Text
Surname Text Author2 Text
Forenames Text Title Text
Street Text Description Text
Town Text Cover Hard/Soft
County Text Price Currency
Postcode Text SalePrice Currency
Telephone QuantityInStock Numeric
… …

Four marks should be awarded for data analysis: two marks for ERD showing correct
cardinality of relationships, two marks for accurate entity descriptions.

Scottish Qualifications Authority 52


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

The prototype has been set up at http://scotbooks.org.uk. This site is password


protected. The password is leabhar.

The top half of the home page shows a revolving slider of books:

Book covers reproduced with kind permission by Nigel Gatherer and Taigh na Tend Music Publishers.

The bottom half shows top-selling books and featured books:

Book covers reproduced with kind permission by Nigel Gatherer and Taigh na Tend Music Publishers.

Books can be purchased by clicking anywhere the basket icon is shown.

Scottish Qualifications Authority 53


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Some site administration menu items are still shown as further work remains to be
carried out by staff. These can be removed on the final version of the site.

The site meets the specified requirements as follows:


 The website must be responsive, allowing it to operate successfully on a range of
platforms, including smartphones and mobile devices.

The site adapts automatically to the screen size of any device and has been
tested on desktops, laptops, smartphones, and tablets.

 It must be database driven and allow for straightforward addition, deletion and
editing of stock data to be carried out in-house.

The site is driven by a MySQL database and allows addition, deletion and
editing of stock data from the Products area of the Dashboard in WP-Admin
mode.

 Server set-up and software installation must be carried out in-house.

Server set-up and software installation were carried out in-house.

 Customers must be able to set up accounts, purchase goods and make payment
online.
Customers can set up accounts, purchase goods and make payment online.
The log-in page gives new customers the opportunity to register and provide
details of their e-mail, billing and delivery addresses. The e-mail address is used
as a username for subsequent login. On checkout customers are given the
opportunity to select a payment method. Purchases can also be made as a guest,
without logging in.

 Where possible existing packaged solutions should be used, rather than those
calling for extensive development of bespoke code.

The site is built entirely from packaged solutions using LAMP, WordPress and
the BookStore theme. No bespoke code was required.

Ten marks are available. Two marks should be awarded for each requirement met
successfully. Any omission will lead to a loss of marks.

Note: all images and descriptions of books shown on the prototype website are used
by kind permission of the copyright holders:
Scotland’s Music (https://www.scotlandsmusic.com/)
and
Nigel Gatherer (http://www.nigelgatherer.com/).

Scottish Qualifications Authority 54


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

2.2 Testing the implemented solution

Each component of the solution was tested to ensure that it had been installed
correctly and was functioning as required:

Component Comments
Ubuntu Everything OK
Apache Everything OK
MySQL/PHP Everything OK
WordPress with the BookStore theme Everything OK

The prototype website was tested to ensure that it functioned correctly and met all of
the required criteria:

Criterion Comments
The website must be responsive, The website was responsive and tested
allowing it to operate successfully on a to function correctly on desktops, laptops,
range of platforms, including tablets and smartphones.
smartphones and mobile devices.
It must be database driven and allow for The website was driven by a MySQL
straightforward addition, deletion and database and addition, deletion and
editing of stock data to be carried out editing of stock data could be carried out
in-house. easily from the WP-admin Dashboard.
Customers must be able to set up Customers could to set up accounts,
accounts, purchase goods and make purchase goods and make payment
payment online. online.
Where possible existing packaged The site was constructed using packaged
solutions should be used, rather than solutions: Ubuntu, LAMP and
those calling for extensive development WordPress with the BookStore
of bespoke code. e-commerce theme.

Eight marks are allocated for this section. One mark should be given for testing each of the
individual components and one mark for the testing of each criterion met by the prototype
website. Evidence of testing might include test plans, test logs, etc. Any omissions will lead
to loss of marks.

2.3 Managing the project

The project was managed in accordance with the Project Plan given earlier. There
were only minor deviations from the planned schedule, so no amendments to the
Project Plan were required.

Two marks are allocated for this section. Learners should indicate how the project was
managed and what remedial action was taken in the case of any deviations from the plan.
Learners would be expected to mention any deviations and how these impacted on the
project. Any omissions will lead to loss of marks.

Scottish Qualifications Authority 55


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

3 Evaluation

3.1 Outline of the assignment

The initial brief from the client was as follows:

Scotbooks is a specialist bookstore selling books of Scottish interest, particularly


those relating to traditional music and culture. After operating for many years from a
bricks and mortar store based in Glasgow, they have decided that the time has come
to set up an e-commerce website. They have specified that the following criteria must
be met:

 The website must be responsive, allowing it to operate successfully on a range of


platforms, including smartphones and mobile devices.
 It must be database driven and allow for straightforward addition, deletion and
editing of stock data to be carried out in-house.
 Server set-up and software installation must be carried out in-house
 Customers must be able to set up accounts, purchase goods and make payment
online.
 Where possible existing packaged solutions should be used, rather than those
calling for extensive development of bespoke code.
 Additional information about the various functions required can be obtained from
the managers responsible for the different departments of the company.

I was asked to clarify the requirements, identify and implement a suitable hardware
and software platform, install and configure the software and set up a prototype
which the company can extend later.

This involved selecting and installing appropriate hardware and software


components.

All the specified requirements were met.

Four marks are allocated for this section. Any omissions will lead to loss of marks. One mark
should be awarded for each requirement met, to a maximum of four.

3.2 Strengths and weaknesses

Strengths

 All of the specified requirements have been met.


 The website is fast, responsive and user-friendly

Scottish Qualifications Authority 56


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Weaknesses

 Installing the Web Server locally may be problematic as it gives external users (or
potential hackers) a route into the main company network.
 There is no systematic provision for updating operating system or applications
software. This is also a potential security flaw as it could lead to the continued
use of outdated versions of software with known vulnerabilities.

Four marks are allocated for this section. Any omissions will lead to loss of marks. One mark
should be awarded for every strength or weakness listed. To gain full marks there must be a
total of four strengths and weaknesses but there need not be the same number of each.

3.3 Recommendations

 The Web Server should be moved outside the main network, possibly to a
Demilitarized Zone (DMZ). This would enhance security and make it harder for
hackers to access the network.
 Systematic provision should be made for updating software, possibly by using
automatic updates where available, eg WordPress can be updated
automatically. This would reduce security risks due to continued use of outdated
versions of software. Consideration should be given to the automated distribution
of system and applications software updates.
 Consideration should be given to enhancing backup facilities by adding
cloud-based backup, possibly using a backup service such as Livedrive.
 Other security improvements should also be considered, eg the implementation
of strong authentication for users and the encryption of transmitted data. This
would make it harder for unauthorised users to gain access to the system or view
data during transmission.
Four marks are allocated for this section. Any omissions will lead to loss of marks. One
mark should be awarded for every recommendation listed and justified. References
supporting recommendations should be included where relevant. Recommendations
which are not justified should not be awarded a mark.

3.4 Modifications
No major modifications were made during the project. Where timescales did slip the
slippage was slight and made up during the same week, for example, the installation
and configuration of software did not follow the detailed day-by-day programme
precisely, but all the hardware was selected within the allocated week. There were no
major unforeseen problems.

Four marks are allocated for this section. It is difficult to be specific about the allocation of
marks as circumstances are likely to vary widely between projects  some will proceed
smoothly, with little or no modification or unforeseen circumstances while others may require
major modifications. As long as learners specify what modifications were made (or not) and
what unforeseen circumstances arose (or not) they should be awarded the marks. If no
modifications were made or problems occurred, then learners should provide a good
explanation of why they think none were required in order to gain marks. This would avoid
them simply stating that none were required.

Scottish Qualifications Authority 57


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

3.5 Knowledge and skills


Completing this project allowed me to apply the knowledge I gained from previous
Units and to gain additional practical experience in putting theory to use.
Unit No Unit Title Comments
H1J9 35 Software Development: Developing 2. Design a website for specified
Websites for Multiplatform Use devices using the principles of
software planning and design.
3. Use appropriate tools and
techniques to optimise websites
developed for specified devices.
H16S 35 Managing a Web Server 1. Analyse and evaluate the
requirements for running a web
server.
2. Install and configure a web server.
3. Perform web server maintenance.
4. Implement web server security.
H16W 35 Relational Database Management No specific Outcomes are addressed
Systems but learners are required to install and
manage a database system as a basis
for a database-driven website.

The actions/process of carrying out the project could have been improved if I had
been involved in discussions with users about the requirements for the system, rather
than simply being presented with them. I believe that I could have improved the
system design in several areas if this had been the case.

Four marks are allocated for this section. Three of these should be awarded for discussion of
knowledge and skills applied and one for describing the actions/process of carrying out the
project.

This is the end of the Sample Solution.

Scottish Qualifications Authority 58


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Assessment checklists

Graded Unit assessment: learner record

HND Computer Science: Graded Unit 2 — H48Y 35

SCQF level 8
Learner’s Learner’s Learner’s
Surname: Forename: ID:

Class: Group: Submission


Date:

1 Planning

Item Present Possible Actual Comments


(Y/N) Mark Mark
1.1 Analysis of the project assignment brief 30%
 Interpretation of project assignment brief 6%
 Aims of the project assignment 4%
 Requirements 4%
 Identification of key factors 4%
 Identification of resources/materials 4%
 Identification of information sources 4%
 Analysis using appropriate techniques 4%
1.2 Project Plan 10%
 Timescales (realistic)/schedules 4%
 Milestones and deliverables 2%
 Main tasks 2%
 Resources 2%
TOTAL MARK FOR PLANNING SECTION 40%

Learners must achieve all of the minimum evidence specified above in order to pass the
Planning stage. They must complete the Planning stage and have this signed off by the
assessor before proceeding to the Developing stage. Marks should be deducted for
unreasonable assistance from any third party.

2 Developing

Item Present Possible Actual Comments


(Y/N) Mark Mark
Implementing the planned solution 30%
Testing the implemented solution 8%
Managing the project 2%
TOTAL MARK FOR DEVELOPING SECTION 40%

Candidates must achieve all of the minimum evidence specified above in order to pass the
Developing stage. They must complete the Developing stage and have this signed off by the
assessor before proceeding to the Evaluating stage. Marks should be deducted for
unreasonable assistance from any third party.

Scottish Qualifications Authority 59


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

3 Evaluating

Item Present Possible Actual Comments


(Y/N) Mark Mark
Outline of the assignment 4%
Analysis of strengths/weaknesses of outputs 4%
Recommendations for future development 4%
Modifications 4%
Knowledge and skills 4%
TOTAL MARK FOR EVALUATING SECTION 20%

OVERALL GRADE FOR PROJECT (A/B/C)

Learners must achieve all of the minimum evidence specified above in order to pass the Evaluating
stage. Marks should be deducted for unreasonable assistance from any third party.

Scottish Qualifications Authority 60


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015
Downloaded by garath.stephens from 108.171.128.174 on 10/01/2018 11:58

Graded Unit assessment: class record


Computer Science: Graded Unit 2 (SCQF level 8)
Class Group

Learner’s Learner’s Learner’s ID Stages Overall


surname forename 1 2 3 achievement*
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

* Mark as appropriate

Scottish Qualifications Authority 61


HN Assessment Support Pack/H48Y 35/ASP001 V1
Computer Science: Graded Unit 2 January 2015

You might also like