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 etwa 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
LEK 1
Peter M
Kommunikationssoziologie teil 2 grimm
Victoria N.
Ökologie
vere2400
Vetie Tierhaltung und -hygiene Quiz 2012
Elisabeth Tauscher
Vetie Chirurgie 2018
Johanna Müller
Vetie Para Morphologie
Kristin E