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

  • 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
  • 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
  • Good Essays

    Unit 3 research

    • 383 Words
    • 2 Pages

    A declarative language is a type of programming language where you describe what goal a task has, but without writing the code to accomplish the task. HTML, SQL and Prolog are all examples of declarative languages. Procedural programming is a list or set of instructions telling a computer what to do step by step and how to perform from the first code to the second code. Procedural programming languages include C, Go, Fortran, Pascal, and BASIC.…

    • 383 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Study Guide GB 310

    • 5424 Words
    • 22 Pages

    is a graphic description of a process, showing the sequence of process tasks, which is developed for a specific purpose and from a selected viewpoint…

    • 5424 Words
    • 22 Pages
    Good Essays
  • Powerful Essays

    Algorithms – A problem solving procedure requiring repetition in order to eliminate possible answers until only the correct one remains.…

    • 2465 Words
    • 10 Pages
    Powerful Essays
  • Powerful Essays

    Unitplan

    • 5013 Words
    • 21 Pages

    Romeo & Juliet Grade 10 Unit Plan 30822027 Professor: Drew Meikle LLED 314 A December 6, 2002 University of British Columbia |R&J |OBJECTIVES |ACTIVITIES |MATERIALS |EVALUATION | |Unit GR 10 | | | | | |LESSON #1 |Students: |Into to Shakespeare |-over-head |Journal scale (3) | | |-make connections btw | |-books | | | |Shakespearean times and | |-CD player |Clarity (1) | | |now | |-Renaissance music |Thoughtfulness (1) | | |-start Relationship | |-Example of “The Kiss” by |Creativity (1) | | |Journals | |Gustav Klimt | | |LESSON #2 |Students: |Insults & |-strip of paper with insults on|Journal scale (3) | | |-make Shakespearns |Social Offenses |them | | | |language fun | |-over-heads with social |Clarity (1) | | |-talk about social | |offenses |Thoughtfulness (1) | | |offenses | |-chalk |Creativity (1 | | | | |-journals | | |LESSON #3 |Students: |Language |- hand out for students |Assignment scale (5) | | |-creatively use |Extension | |Clarity (1) | | |Shakespearean language | | |Thoughtfulness (1) | | |with their own | | |Creativity (1) | | | | | |Content (1) | | | | | |Development (1) | |LESSON #4 |Students: |Character Web Posters |-overheads |Check Mark for completing | | |-to investigate different | |-synopsis of characters…

    • 5013 Words
    • 21 Pages
    Powerful 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
  • 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

    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

    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
  • 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

    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
  • 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