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 over 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
Biology Revision - Y10 Mock
Tom Mitchell
Prueba de Aptitud Académica - Lenguaje
Teresa Nadal
GCSE AQA Biology - Unit 3
James Jolliffe
Mind Maps with GoConqr
croconnor
AQA GCSE Physics Unit 2
Gabi Germain
2_PSBD HIDDEN QUS By amajad ali
Ps Test
1PR101 2.test - Část 16.
Nikola Truong