1 / 17

Programming

Programming. A project cycle. Analysis Design Implementation Testing Documentation Evaluation Maintenance. Analysis and design. Pseudo – code Structure diagram Flow chart HCI Screen layout Prompts to user Input validation. Program design. Maintainability Readability

rania
Download Presentation

Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Programming

  2. A project cycle • Analysis • Design • Implementation • Testing • Documentation • Evaluation • Maintenance

  3. Analysis and design • Pseudo – code • Structure diagram • Flow chart • HCI • Screen layout • Prompts to user • Input validation

  4. Program design • Maintainability • Readability • Meaningful variable and procedure names • Internal commentary • Modularity • Blocks of code • Data flow between blocks • Parameter passing • Library (pre-defined functions)

  5. Data types • Numeric • Text (alphanumeric) • Array

  6. Statements Assignment of • constants • expressions • incremental expressions

  7. Operators • Arithmetic • + , - , x , / • Comparison • = , < , > , <> • Logical • AND, OR, NOT, EOR (XOR)

  8. Sequence The sequence is the order in which the instructions are carried out. Sometimes this is very important.

  9. Control structures - Repetition • Fixed loop (a known number of times) • FOR / NEXT • Nested loop (a loop inside a loop) • Conditional loop ( it depends!) • REPEAT / UNTIL

  10. Control structures - Selection • Conditional (makes a selection/decision) • IF, THEN, ELSE • CASE OF • Simple condition • Complex condition

  11. User Interface • screen layout • prompts to user • input validation

  12. Errors • System • Syntax • Run time • Logical

  13. Test data • Normal, typical • Invalid/exceptional • Extreme, on limits

  14. Evaluation • compare with agreed specification • evidence

  15. Documentation - User • Installation guide • User guide • Reference manual

  16. Documentation - Technical • Specification • Analysis and design • Program listing (including version ID) • Internal commentary • Test history • Evaluation

  17. ProgrammingEnd of presentation

More Related