Preview

Algorithm

Satisfactory Essays
Open Document
Open Document
506 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Algorithm
INFORMATION TECHNOLOGY ASSIGNMENT
ON ALGORITHM

Done by
Densil Hamilton

INTRODUCTION

This Assignment was done to show the methods of algorithm. It outlines the meaning of algorithm and steps to be carried out to complete a give problem. Examples were also shown for the methods of representing algorithm.
What is an Algorithm?

An algorithm consists of a set of explicit and unambiguous finite steps which, when carried out for a given set of initial conditions, produce the corresponding output and terminate in finite time. (How to Solve it by Computer, RG Dromey, Prentice Hall UK, 1982)
This is done by a series of steps:

1. Input: there are zero or more quantities which are externally supplied;

2. Output: at least one quantity is produced;

3. Definiteness: each instruction must be clear and unambiguous; 4. Finiteness: if we trace out the instructions of an algorithm, then for all cases the algorithm will terminate after a finite number of steps; 5. Effectiveness: every instruction must be sufficiently basic that a person using only pencil and paper can in principle carry it out. It is not enough that each operation is definite, but it must also be feasible.

WAYS OF REPRESENTING ALGORITHMS

Two ways of represent an algorithm are:
Flowcharts
Pseudo Code

FLOWCHARTS

This is a diagrammatic representation of the sequence of steps needed to perform a task. They show the sequence of operations, movements, decisions and storage activities within a system. It is a diagram that is made up of boxes, diamonds and other shapes, connected by arrows that each shape represents a step in the process, and the arrows show the order in which they occur.

PSEUDO CODE

This is essentially English with some defined rules of structure and some keywords that make it appear a bit like program code.

Advantages and Disadvantages of Representing Methods

FLOWCHART
An advantage of a Flowchart is: it is easy to understand by

You May Also Find These Documents Helpful

  • Powerful Essays

    According to Valacich, George, & Hoffer, (2012), "A data-flow diagram is a tool analyst used to show the flow of data in an information system. It allows a model to show how data flows through the information system, the relationships among data flows, and how data come to be stored at specific locations." Data flow diagrams are one of many techniques used to increase software development and productivity which ultimately has an enormous impact on the quality of the system development…

    • 4411 Words
    • 18 Pages
    Powerful Essays
  • Satisfactory Essays

    Cis 207 Week 2/3 Quiz

    • 383 Words
    • 2 Pages

    * C. Follows the instructions as they appear in the program, whether they are right or wrong…

    • 383 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    pt1420 exam review

    • 738 Words
    • 3 Pages

    What is a diagram that graphically depicts the steps that take place in a program? Flowchart…

    • 738 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Unit 3 research

    • 383 Words
    • 2 Pages

    In a procedural language you tell the computer each step to perform. The computer performs those steps and, if they are well written, you will end up with our desired…

    • 383 Words
    • 2 Pages
    Good Essays
  • Good Essays

    The Process and design identifies the processes and the roles that are involved. Processes represent the operations performed by the system. Entities represent all the information sources of the system. We represent the entities and the processes in the data flow diagrams, DFD. While designing the DFD’s we increase the level of detail with each level. At each level the process divides into sub-processes until indivisible sub-processes are reached. Here is an example.…

    • 637 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Psychology Key Terms

    • 540 Words
    • 3 Pages

    algorithms - An algorithm is a set of instructions for solving a problem or completing a process…

    • 540 Words
    • 3 Pages
    Good Essays
  • Better Essays

    The first step of design is to identify the processes and the entities. Processes represent the operations performed by the system. Entities represent all the information sources of the system. We represent the entities and the processes in the data flow diagrams, DFD. While designing the DFD’s we increase the level of detail with each level. At each level the process divides into sub-processes until indivisible sub-processes are reached. Here is an example.…

    • 1167 Words
    • 5 Pages
    Better Essays
  • Powerful Essays

    In this process map, the rectangle represents a process, the parallelogram (diamond) represents a decision, the oval symbol represents the start and end of a terminal and the paper symbol represents the document. In this process map the sequential tasks that are necessary to perform the project are represented and it is done from the team’s perspective. The note (information) to explain about the task also becomes useful for greater understanding of the whole process. As…

    • 2790 Words
    • 12 Pages
    Powerful Essays
  • Good Essays

    The first technique is diagramming, which is "the use of flow charts and diagrams to represent the steps in a business process" (http://netg.phoenix.edu/websvm/training.asp). The second technique involves annotating the steps required without the use of diagramming tools. This technique is referred to as the textual approach. There are numerous diagrammatic mapping applications available on the market. Within these diagramming tools, different types of flow charts are available. Some of the flow charts available include Activity-Flow, Data-Flow, Role, State-Transition, Role-Activity, and IDEF0 (http://netg.phoenix.edu/websvm/training.asp). Each diagram relates to a particular activity within the company (i.e., activities, data, roles, work status, role-activity and…

    • 828 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Rubiks Cube

    • 1433 Words
    • 6 Pages

    B. What is a algorithm? A algorithm is a set of rules to be followed in calculation or other problem-solving operations.…

    • 1433 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Recursion

    • 676 Words
    • 3 Pages

    1. Base case Solve small problem directly 2. Recursive step Simplify problem into smaller subproblem(s) Recursively apply algorithm to subproblem(s) Calculate overall solution…

    • 676 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Process Flowchart

    • 735 Words
    • 3 Pages

    Need birthed this process. Time is a major consideration of the design. Time management skills improved aided by this process. I needed a system to ensure work completion on time. Time also affects the process depending on how much time is available to work on activities. "Many people spend their days in a frenzy of activity, but achieve very little because they are not concentrating on…

    • 735 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Tora Software

    • 1258 Words
    • 6 Pages

    3. All the details needed to use an algorithm are given directly on the screen, thus precluding the…

    • 1258 Words
    • 6 Pages
    Better Essays
  • Better Essays

    Ans. Flowcharts provide the visual representation of a concept and make it clear. A flow chart serves as a blueprint of the program. Flowcharts helps a programmer organize his/her thoughts in a logical order and their presentation. Program development without graphics may be less effective. In big projects it gets difficult to keep things together. Flowcharts provide flexibility, so that you can make changes and restructure the project as you move further and, according to requirement. Flowcharts act as a guide during the analysis and program development phase. Moreover they are also helpful in debugging process.…

    • 1328 Words
    • 6 Pages
    Better Essays
  • Satisfactory Essays

    End users(administrator, manager, staff) can perform ordering, editing ,checking and management function insider the RAMsystem. End user can use food ordering function and food editing function only bill had been created by user. Only manager can manage the duty roaster. No one can edit the database or checks the password database execpt the administrator.…

    • 427 Words
    • 2 Pages
    Satisfactory Essays