Algorithms and Software Development

Beschreibung

CIIC 3011 Karteikarten am Algorithms and Software Development , erstellt von Alondra Nicol am 15/03/2018.
Alondra Nicol
Karteikarten von Alondra Nicol, aktualisiert more than 1 year ago
Alondra Nicol
Erstellt von Alondra Nicol vor mehr als 6 Jahre
5
0

Zusammenfassung der Ressource

Frage Antworten
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
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Variables
Alondra Nicol
Ingeniería de requerimientos
Catalina Paz
Patents
Miguel Torres
Patents
BP BP
Spielst du Fußball?
Nadja Blust
Grundlagen der Online-Zusammenarbeit
Dozent
Unsere Erde - Sonnensystem, Klima, Erdschichten etc.
Laura Overhoff
Vetie Mibi Klausur 2018
Jessica Nachtwey
Vetie Immunologie 168-196
verena be
AVO 2015 Vetie
Schmolli Schmoll
Vetie Spezielle Patho 2018
Fioras Hu