






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A front sheet for an assignment in the BTEC Level 5 HND Diploma in Computing program. The assignment focuses on understanding algorithms, specifically the Linear Search algorithm, and implementing it in a program. an overview of algorithms, a problem statement, a flowchart of the Linear Search algorithm, and instructions for creating and running the program. It also explains the concept of Software Development Life Cycle and the compilation process for a compiled programming language.
Typology: Assignments
1 / 12
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 20/04/20 22 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Le Anh Minh Student ID GCD Class GCD1002 Assessor name Hoang Nhu Vinh 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 Grading grid P1 M1 D
Grade: Assessor Signature: Date: Lecturer Signature:
An algorithm is simply a set of steps used to complete a specific task. They're the building blocks for programming, and they allow things like computers, smartphones, and websites to function and make decisions. An algorithm will use the input information to perform the required output, using simple formulas in order to solve the problem. The algorithm can be likened to a standard cooking recipe. Using the necessary ingredients, follow the standard processing steps one after the other and complete the dish. Not all cooking methods are standard recipes, just like algorithms, to be an algorithm requires the following characteristics:
The problem of finding information in a variable is very common in many applications. For example, library management application, student management, ... to easily find information of a specific object in a large list of information objects.
Here is flowchart of LinearSearch algorithm:
a) Create Array (InputArr): First, to describe how the program solves the problem, we will create an array "arr" to implement the algorithm. b) LinearSearch: Next we will write the LinearSearch algorithm to perform the ID search (the value of the element set in the array). LinearSearch uses a loop (for or while, ..) to compare the value of each element with the element you want to find, if it matches, the result is the element being compared.
a) Create and assign values to arrays We input 5 elements: N = 5. Element = {1,3,5,2,4}. b) Searching result:
Software Development Life Cycle is the application of standard business practices to building software applications. It’s typically divided into six to eight steps: Planning, Requirements, Design, Build, Document, Test, Deploy, Maintain. Some project managers will combine, split, or omit steps, depending on the project’s scope. These are the core components recommended for all software development projects.
The following illustrates the programming process for a compiled programming language. A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file). Another specialized program, called a linker, combines this object file with other previously compiled object files (in particular run-time modules) to create an executable file. So, for a compiled language the conversion from source code to machine executable code takes place before the program is run. This is a very different process from what takes place for an interpreted programming language. This is somewhat simplified as many modern programs that are created using compiled languages makes use of dynamic linked libraries or shared libraries. Therefore, the executable file may require these dynamic linked libraries (Windows) or shared libraries (Linux, Unix) to run.