Algorithms and Software Development

Description

CIIC 3011 Flashcards on Algorithms and Software Development , created by Alondra Nicol on 15/03/2018.
Alondra Nicol
Flashcards by Alondra Nicol, updated more than 1 year ago
Alondra Nicol
Created by Alondra Nicol about 6 years ago
5
0

Resource summary

Question Answer
Analyze the problem Try to understand the problem as much as possible
Determine the Specifications Describe what the program will do. Define the inputs and outputs and the relationship in between them.
Create a Design Pseudocodes, flowcharts Formulate overall structure of the program How it will work
Implement the Design Translate design into a computer language. Steps will be written as computer statements.
Test/ Debug Try if the program works as expected. Find errors and bugs in order to fix them (debugging). You should try everything that could make your program crash.
Maintain the Program Make improvements to the program. A program is never finished.
Pseudocodes A high-level description of a program that uses syntax similar to common programming languages. Concentrates on the algorithm.
Algorithms are step-by-step procedures that do some calculation or computation. Are precise sequence of instructions.
Buildings of Algorithms Sequence, repetition (loop), selection (branching)
Selection implemented with conditional expressions: -if -if, then -chained expressions
If executes a block of code if a Boolean expression is True. Must use colon and indentation
If-else The first option is executed if the Boolean expression is true and second option is executed if the Boolean expression is false. Same level of indentation.
Repetition is a method by which you repeat a set of instructions (iteration)
While Basic method of iteration
Accumulator variable sum
Flowcharts diagram made up of boxes, diamonds, and other shapes, connected by arrows - each shape represents a step in the process, and the arrows show the order in which they occur.
Process rectangle
Input/Output __ /__/ obtain or output data
Decision diamond a question -True or false -Yes or no
Connector Circle allows flowchart to be drawn without intersecting lines or without a reverse flow
Predesign process rectangle with divisions invoke a subroutine or an interrupt program
Terminal pill-like finishes or starts
Flow lines Show directions
Show full summary Hide full summary

Similar

Variables
Alondra Nicol
Ingeniería de requerimientos
Catalina Paz
Patents
Miguel Torres
Patents
BP BP
Plant Structure and Photosynthesis
mckenziedev
AS AQA Geography- Rivers
Hannah Goodenough
All Edexcel GCSE PE key terms
Millie Berrett
Key Biology Definitions/Terms
jane zulu
Market & Technology Dynamics
Tris Stindt
W.B. Yeats
Éimear Buggy