Erstellt von Alondra Nicol
vor mehr als 6 Jahre
|
||
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 |
Möchten Sie mit GoConqr kostenlos Ihre eigenen Karteikarten erstellen? Mehr erfahren.