Insha's Programming
Insha's Programming
Computing
Unit(s)
Assignment title
Student’s name
Is the Pass/Merit/Distinction
grade awarded justified by the
Y/N
assessor’s comments on the
student work?
• Constructive?
• Agreeing actions?
Remedial action
taken
Give details:
Assessor Date
signature
Internal Verifier
signature
Date
Programme
Leader signature
Date
(if required)
Higher Nationals - Summative Assignment Feedback Form
Student
Name/ID
Unit Title
Assignment Assessor
Number
Date Received
1st submission
Submission Date
Date Received
2nd submission
Re-submission
Date
Assessor Feedback:
LO1. Define basic algorithms to carry out an operation and outline the process of
programming an application.
Resubmission Feedback:
* Please note that grade decisions are provisional. They are only confirmed
once internal and external moderation has taken place and grades decisions
have been agreed at the assessment board.
Assignment Feedback
Action Plan
Summative feedback
Student Date
signature
Pearson Higher Nationals in
Computing
Assignment 01
General Guidelines
1. A Cover page or title page – You should always attach a title page to
your assignment. Use the previous page as your cover sheet and
make sure all the details are accurately filled.
5. Allow 1” for top, bottom, right margins and 1.25” for the left margin
of each page.
1. The font size should be 12 point and should be in the style of Time
New Roman.
3. Ensure that all the headings are consistent in terms of the font size and
font style.
Important Points:
3. Ensure that you give yourself enough time to complete the assignment
by the due date.
4. Excuses of any nature will not be accepted for failure to hand in the
work on time.
5. You must take responsibility for managing your own time effectively.
6. If you are unable to hand in your assignment on time and have valid
reasons such as illness, you may apply (in writing) for an extension.
I hereby, declare that I know what plagiarism entails, namely to use another’s work and to present it
as my own without attributing the sources in the correct way. I further
understand what it means to copy another’s work.
Unit Tutor
Issue Date
Submission Date
Submission Format
3. Presentation
With the submitted system student should do a presentation to demonstrate the
system that was developed. Time allocated is 10 to 15 min. Student may use 5 to 10
PowerPoint slides while doing the presentation, but live demonstration of the system
is required. Evaluator will also check the ability to modify and debug the system using
the IDE.
Activity 1
A. The Fibonacci numbers are the numbers in the following integer sequence.
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ……..
Fn = F n-1 + F n-2
Activity 2
Grifindo Toys is a small-scale Toy building company which is located in United Kingdom (UK)
and currently they have 50 employees working at their headquarters. They are looking for a
simple payroll system to calculate the salaries of their employees and you are hired as a
freelance software developer to build their payroll system.
Grifindo Toys Payroll System mainly contains five components and the specifications for the
components are follows,
1. Employee Component.
Admin should be able to register employee details to the system (including
monthly salary, overtime rates-hourly, allowances).
Admin should be able to update all employee details in the system (Update and
Delete including monthly salary, overtime rates-hourly, allowances).
Admin should be able to view individual employee details, view all employees
details, search employees.
2. Salary Component
Admin should be able to input the date range to calculate the salary. Salary cycle
begin date and the end date should be given to calculate the monthly salary.
Salary cycle begin date and end date will be defined in the settings component
and if the user enters something else the system should display an error message.
The admin should be able to enter the no of leaves an employee has taken with
number of absent days, no of holidays for the given date range. If an employee
has worked any overtime hours the admin should be able to enter that also when
calculating the Base pay value.
Base Pay need to calculate based on the following points,
All the calculated No-pay-value, Base-pay-value and Gross pay value should
record in the database under each employee for each month. This component
should generate reports such as monthly salary report for an employee, overall
salary summary for couple of months for an employee, No-pay-value, base-pay-
value, and gross pay value of all the employees for a given month range.
3. Settings Component
This component should allow the admin to change parameter values such as
Activity 3
Write the complete pseudocode for the salary component of the above system (report
generation is not needed). Use the visual studio IDE (using C#.net) to implement the
above three components. Ideally there should be three separate classes for the above
three components and the developer can decide the methods which need to include in
those classes. Design the suitable database structure for keeping the data of the above
system.
Analyze the features of an Integrated Development Environment (IDE) and explain how
those features help in application development. Evaluate the use of the Visual StudioIDE
for your application development contrasted with not using an IDE.
Activity 4
2.1 Design and build a small GUI system for the above scenario and it should be a complete
functional system with all the functions which has described in the above scenario with the
database structure which has designed in activity 3.
2.2 Examine debugging process and the features available in Visual studio
IDE for debugging your code more easily. Evaluate how you used the
debugging process to develop more secure, robust application with
examples.
2.3 Explain and outline the coding standards you have used in your
application development. Critically evaluate why a coding standard is
necessary for the team as well as for the individual.
Activity 2
Grifindo Toys is a small-scale Toy building company which is located in United Kingdom (UK)
and currently they have 50 employees working at their headquarters. They are looking for a
simple payroll system to calculate the salaries of their employees and you are hired as a
freelance software developer to build their payroll system.
Grifindo Toys Payroll System mainly contains five components and the specifications for the
components are follows,
4. Employee Component.
Admin should be able to register employee details to the system (including
monthly salary, overtime rates-hourly, allowances).
Admin should be able to update all employee details in the system (Update and
Delete including monthly salary, overtime rates-hourly, allowances).
Admin should be able to view individual employee details, view all employees
details, search employees.
5. Salary Component
Admin should be able to input the date range to calculate the salary. Salary cycle
begin date and the end date should be given to calculate the monthly salary.
Salary cycle begin date and end date will be defined in the settings component
and if the user enters something else the system should display an error message.
The admin should be able to enter the no of leaves an employee has taken with
number of absent days, no of holidays for the given date range. If an employee
has worked any overtime hours the admin should be able to enter that also when
calculating the Base pay value.
All the calculated No-pay-value, Base-pay-value and Gross pay value should
record in the database under each employee for each month. This component
should generate reports such as monthly salary report for an employee, overall
salary summary for couple of months for an employee, No-pay-value, base-pay-
value, and gross pay value of all the employees for a given month range.
6. Settings Component
This component should allow the admin to change parameter values such as
Activity 3
Write the complete pseudocode for the salary component of the above system (report
generation is not needed). Use the visual studio IDE (using C#.net) to implement the
above three components. Ideally there should be three separate classes for the above
three components and the developer can decide the methods which need to include in
those classes. Design the suitable database structure for keeping the data of the above
system.
Analyze the features of an Integrated Development Environment (IDE) and explain how
those features help in application development. Evaluate the use of the Visual StudioIDE
for your application development contrasted with not using an IDE.
Activity 4
2.4 Design and build a small GUI system for the above scenario and it should be a complete
functional system with all the functions which has described in the above scenario with the
database structure which has designed in activity 3.
2.5 Examine debugging process and the features available in Visual studio
IDE for debugging your code more easily. Evaluate how you used the
debugging process to develop more secure, robust application with
examples.
2.6 Explain and outline the coding standards you have used in your
application development. Critically evaluate why a coding standard is
necessary for the team as well as for the individual.
Grading Rubric
Acknowledgement
Fathima Insha
Contents
Acknowledgement…………………………………………………………………………...1
4
1.1 Define what an algorithm is and outline the characteristics of a good
algorithm.
Develop algorithms for linear search and binary search using Pseudo
code………………..19 1.2 Describe the steps involved in the process of
writing and executing a program. Take an array of 10 or more elements and
dry run the above two algorithms. Show the outputs at
the end of each iteration and the final output……………………..
………………………..29
1.3 Define what Big-O notation is and explain its role in evaluating
efficiencies of algorithms. Write the Python program code for the above two
algorithms and critically
evaluate their efficiencies using Big-O
notation……………………………………………34
them…………………………………………………………………………………………39
2.2 Write small snippets of code as example for the above three
programming paradigms
4.1 Design and build a small system to calculate vehicle hire amounts and
record them in a database for customer billing and management reporting
for Ayubo drive. This includes the completing the database design started
in 3.2 and implementing one or more GUIs for vehicle, vehicle type, and
package add/edit/delete functions. It essentially requires an interface for
hire calculation and recording function described above. Generating
customer reports and customer invoices are not required for this course
work………………………77 4.2 What is debugging an application? Explain the
features available in Visual studio
IDE for debugging your code more easily. Evaluate how you used the
debugging process to develop more secure, robust application with
examples………………………………..110
4.3 Explain the coding standards you have used in your application
development. Critically evaluate why a coding standard is necessary for the
team as well as for the individual…...115
List of references…………………………………………………………………………...119
Figure of contents
Figure 1 How Linear search works…………………………………………………………
25
Figure 14 Before
update…………………………………………………………………….64
Figure 15 After update……………………………………………………………………...64
Figure 16 The Before Delete Package
Table……………………………………………….66
Figure 17 The after delete package
table………………………………………………….66 Figure 18 Insert values to
vehicle registration……………………………………………..67