






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!







ASSIGNMENT 1 FRONT SHEET
Learning Outcomes and Assessment Criteria Pass Merit Distinction LO1 Define basic algorithms to carry out an operation and outline the process of programming an application P1 Provide a definition of what an algorithm is and outline the process in building an application. M1 Determine the steps taken from writing code to execution. D1 Examine the implementation of an algorithm in a suitable language. Evaluate the relationship between the written algorithm and the code variant.
P a g e | 1
1. Algorithm definition 1.1 Definition: To solve any given, it is a requisition to create an algorithm or algorithms for the machine to process the provided tasks. So what is an algorithm? According to the oxford dictionary, an algorithm is A process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer. According to the Cambridge dictionary, an algorithm is a set of mathematical instructions or rules that, especially if given to a computer, will help to calculate an answer to a problem. According to Wikipedia, in mathematics and computer science, an algorithm is a finite sequence of well- defined, computer-implementable instructions, typically to solve a class of specific problems or to perform a computation. To sum up, an algorithm is a set of guidelines for the computer or a system to process any command given. It could be linear or conditional. 1.2 Example: For example, a user needs to identify what is the highest number in those sets of 2. The machine requires two defined-type variables to act as storage for those numbers for later references. Then it would ask for the input of a set of numbers chosen for comparison. Next, the machine would compare 2 numbers and print out the result for noticing the user.
P a g e | 3
Cambridge dictionary, algorithm entry, accessed 3 October 2021.
Oxford dictionary, algorithm entry, accessed 3 October 2021.