170 likes | 305 Views
This guide provides an in-depth understanding of the software development life cycle (SDLC), including analysis, design, implementation, testing, documentation, evaluation, and maintenance. We delve into essential programming concepts, such as pseudocode, structure diagrams, flowcharts, human-computer interaction (HCI), and program design principles. Key aspects of data types, control structures, operators, and error handling are thoroughly discussed to enhance readability, maintainability, and overall program quality. Documentation best practices for user and technical guides are also covered.
E N D
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 • Meaningful variable and procedure names • Internal commentary • Modularity • Blocks of code • Data flow between blocks • Parameter passing • Library (pre-defined functions)
Data types • Numeric • Text (alphanumeric) • Array
Statements Assignment of • constants • expressions • incremental expressions
Operators • Arithmetic • + , - , x , / • Comparison • = , < , > , <> • Logical • AND, OR, NOT, EOR (XOR)
Sequence The sequence is the order in which the instructions are carried out. Sometimes this is very important.
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
Control structures - Selection • Conditional (makes a selection/decision) • IF, THEN, ELSE • CASE OF • Simple condition • Complex condition
User Interface • screen layout • prompts to user • input validation
Errors • System • Syntax • Run time • Logical
Test data • Normal, typical • Invalid/exceptional • Extreme, on limits
Evaluation • compare with agreed specification • evidence
Documentation - User • Installation guide • User guide • Reference manual
Documentation - Technical • Specification • Analysis and design • Program listing (including version ID) • Internal commentary • Test history • Evaluation