






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Unit 1: Programming Submission date 15/06/2021^ Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Phạm Văn Hiệp Student ID GCS Class GCS0904_NX Assessor name Thái Thị Thanh Thảo
Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature HIEP Grading grid P1 M1 D x
Chapter 1 - State your simple business problems to be solved
Definition: “ an algorithm is a series of instructions telling a computer how to transform a set of facts about the world into useful information. The facts are data, and the useful information is knowledge for people, instructions for machines or input for yet another algorithm. There are many common examples of algorithms, from sorting sets of numbers to finding routes through maps to displaying information on a screen.” [1] Figure 1: Algorithm Here is an example of the sum of two numbers [2]. The algorithm includes:
2nd iteration: (1 4 2 5 8) - > (1 4 2 5 8) (1 4 2 5 8) - > (1 2 4 5 8), Swap due to 4 > 2 (1 2 4 5 8) - > (1 2 4 5 8) (1 2 4 5 8) - > (1 2 4 5 8) Now, the sequence is sorted, but our algorithm doesn't recognize it immediately. The algorithm will need one more iteration to finish the sorted sequence as and when it goes from start to finish without any swaps being done. 3rd iteration: (1 2 4 5 8) - > (1 2 4 5 8) (1 2 4 5 8) - > (1 2 4 5 8) (1 2 4 5 8) - > (1 2 4 5 8) (1 2 4 5 8) - > (1 2 4 5 8) Algorithms are an integral part of programming. It helps increase performance help programs operate efficiently at high speed and save resources and most important of all is to help programmers better understand the program. Algorithms also can be used to find solutions for problems in life.
In this section, I want to analyze one issue is to create one system to manage student list. [5] First, we need to create a login system to the software to increase the security of student information so that teachers and students can easily access the system. The system will help teachers add, edit and delete easily, while students do not.
Next, we need to analyze what we need the student list management system for. The student roster includes student ID, name, date of birth, grade level, gender, ethnicity, and address, along with the number of days attended or absent. We will further verify that if a student has been absent from school for more than 14 days, that student will be automatically removed from that class list. Chapter 2 - Analyze the problem and design the solutions by the use of suitable methods
Login system is described by the following algorithm:
Figure 5: Diagram References [1] Jory Denny, October 16, 2020 10.00pm AEDT, what is an algorithm? How computers know what to do with data, Available at: https://theconversation.com/what-is-an-algorithm-how-computers-knowwhat- todo-with-data- 146665. (06/2021) [2] Draw a flowchart to calculate the sum of two numbers, Available at: https://www.sarthaks.com/133405/draw-a-flowchart-to-calculate-sum-of-two- numbers. (06/2021) [3], [4] Nguyễn Văn Hiếu, 2021, Available at: https://nguyenvanhieu.vn/thuat-toan-sap-xep-bubble-sort. (06/2021) [5] ngocmt, March 27, 2017, References in: https://fditech.vn/phan-mem-quan-ly-truong-hoc-va- cacchucnang-co-ban-p6c9 33. (06/2021)