Professional Documents
Culture Documents
Introduction to Programming
Assignment title:
Search and sort
Summer 2024
Important notes
• Please refer to the Assignment Presentation Requirements for advice on how
to set out your assignment. These can be found on the NCC Education
website. Hover over ‘About Us’ on the main menu and then navigate to
‘Policies and Procedures’ then scroll to the ‘Student Support’ area.
• You must read the NCC Education document Academic Misconduct Policy
and ensure that you acknowledge all the sources that you use in your work.
These documents are available on the NCC Education website. Hover over
‘About Us’ on the main menu and then navigate to ‘Policies and Procedures’
then scroll to the ‘Student Support’ area.
• You must complete the Statement and Confirmation of Own Work. The form
is available on the NCC Education website. Hover over ‘About Us’ on the
main menu and then navigate to ‘Policies and Procedures’ then scroll to the
‘Student Support’ area.
• Please note, word count is not applicable on this assignment as the
artefact to be produced is a programming code (with a word document
containing screenshots of the results, a filled-out object definition
sheet and a test log)
• You must submit a paper copy and digital copy (on disk or similarly
acceptable medium). Media containing viruses, or media that cannot be run
directly, will result in a fail grade being awarded for this assessment.
• All electronic media will be checked for plagiarism.
Background information
For each task, you must test the programming code you create.
The evidence you must produce is a working VB program and a Word document
containing the following:
It would be a good idea to use the Windows Snipping tool to assemble this Word
document.
You do not have to provide any general commentary on your work in a separate word-
processed document, but you do have to provide short comments on the code to explain
what each function or segment of code does.
You do not have to provide any history of what debugging you may have done.
It is very important that the program code is clear, the outputs are designed to be
easy to understand and your Word document is well presented.
Page 6 of 7
Introduction to Programming © NCC Education Limited 2024
Introduction
Scenario
A program needs to be written that demonstrates how different searching and sorting
algorithms work.
The program needs to be able to handle two numbers that are the same.
• Plan your program before starting. You will need to think about how the user will
make their choices.
• You will need to consider how you are going to decide and output each step of the
process of searching and sorting.
• You will need to consider how to make the system robust against invalid data, for
example when the user inputs TEN (10) non-integer values.
Page 6 of 7
Introduction to Programming © NCC Education Limited 2024
Total – 100 Marks
• to allow the user to select the searching or sorting algorithm they want to use.
• to allow the user to select either a random set of data (TEN (10) integers between 0
and 20 inclusive) or to import the data from an external text file.
• to display each step of the algorithm
• to display either the index of the data when found or displaying a message that the
data is not found when a searching algorithm is selected.
Page 6 of 7
Introduction to Programming © NCC Education Limited 2024
Task 4 Testing and evaluation
b) Testing – 12 marks
• Complete the testing by documenting it in the Test Log and screenshots of tests
provided as evidence of testing.
• Make sure you test all of the different algorithms with a range of different data; for
example, searching for the smallest number in the list, searching for the largest
number in the list, searching for data that is not in the list, searching for the first
number in the list and searching for the last number in the list.
• Make sure you test the validation rules so that the program is robust.
c) Evaluation – 7 marks
Mark distribution
Guidance
The assessment of your project will depend in part upon the quality of the documentation
that you have produced.
Submission requirements
You are required to submit a publishable copy of the compiled system together with
installation notes.
This publishable copy, which includes a setup file, should be on an appropriate medium
(CD, USB flash drive, etc.).
Candidate checklist
Please use the following checklist to ensure that your work is ready for submission.
Page 6 of 7
Introduction to Programming © NCC Education Limited 2024
Object Definition Sheet
Non-default properties at design time
Event procedures that have to be written
No. Type Property Value Event procedure
Page 6 of 7
Introduction to Programming © NCC Education Limited 2024
Test Log Template
Page 6 of 7
Introduction to Programming © NCC Education Limited 2024