The Software Development Life Cycle (SDLC) is a systematic process for designing, developing, and testing software, consisting of five stages: Analysis (understanding client requirements through purpose, functional requirements table with inputs/processes/outputs, and assumptions), Design (creating algorithms using pseudo code or flowcharts, defining variables with data types, and designing user interfaces with wireframes), Implementation (writing code and debugging three types of errors: syntax, runtime, and logic), Testing, and Maintenance. The key principle is that design must precede coding to ensure high-quality software meets client needs efficiently.
Deep Dive
Voraussetzung
- Keine Daten verfügbar.
Nächste Schritte
- Keine Daten verfügbar.
Deep Dive
LESSON 1 SESSON 1 Computational Thinking and Programming Logic (COMPUTING)Hinzugefügt:
Welcome back everyone.
Today we are going to take a deep look at the program development cycle also known as the software development life cycle or SDLC.
This week we are going to explore each stage in detail with worked examples.
Have your exercise book ready. Let's go.
By the end of this session, you'll be able to define the software development life cycle to bracket SDLC and explain its purpose.
describe what happens at the analysis stage and produce a functional requirements.
Then describe what happens at the design stage and produce a design for a given problem.
Then describe what happens at the implementation stage and identify types of errors and then apply the SDLC stages to a real life Ghanaian problem.
Let's do a quick recap of week 13.
We learned about algorithms.
That's a stepbystep instructions to solve a problem.
Pseudo code algorithm written in plain English and flowcharts which is visual representation of an algorithm.
The software development life cycle or SDLC is a systematic process used by software development teams to design, develop and test software.
Its goal is to produce high quality software that meets the client's needs at the lowest cost in the shortest possible time.
The whole process begins when a client that's the person or organization who needs the software gives the development team a problem.
Gives the development team a problem specification.
This is a description of what they need.
the software to do.
Now look at the table on your screen.
There are five stages.
Analysis, design, implementation, testing and maintenance.
Stage one is analysis.
This is where a member of the development team, usually called a systems analyst, communicates with a client to understand the problem.
Three things are established at this stage.
First, the purpose.
What would the program be used for?
Second, the functional requirements.
What are the inputs, processes, and outputs?
You recognize this as the IPO framework from week 13.
Third, the assumptions.
What conditions are assumed to be true?
For example, if a program asks for a person's age, an assumption might be might be that the user will always enter a valid number.
The functional requirements are recorded in a table with three columns.
Inputs, processes, and outputs.
Let's look at a worked example for the analysis stage.
The problem specification is write a program to output the product of three numbers imputed by the user.
First we write the purpose a clear description of what the program will do.
Then we complete the functional requirements table.
The inputs are three numbers.
The process is multiplying the three numbers.
The output is the product.
Finally, we state our assumptions that all numbers entered will be valid numbers.
Notice how clear and precise this is.
The analysis stage sets the foundation for everything that follows.
Now let's apply the analysis stage to Kofi and Ausius problem.
The problem specification is coffee wants to write a program that calculates the total revenue from selling one item.
Look at the functional requirements table on your screen.
We have three inputs.
Item name, price per unit, and unit sold.
The process is calculating total revenue by multiplying price per unit by units sold.
The outputs are the item name and the total revenue.
And we state two assumptions.
What the price will always that the price will always be a positive number and that the units sold will always be a whole number greater than zero.
This is a complete analysis stage document.
Here is your first pause and try.
Pause the video now.
Complete the analysis stage for this problem.
A program is needed to calculate the output.
Sorry, a a program is needed to calculate and output the area of a circle.
The user enters the radius in centm and pi is taken as 3.14.
Write the purpose.
Complete the functional requirements table and state at least one assumption.
Use the work example on the previous slides to guide you.
Pause now and press play when you are ready.
Welcome back.
Here is the sample answer.
The purpose clearly describes what the program does.
The functional requirements table has one input radius one process area equals 3.14 multiplied by radius squared and one output area. The assumption state that the radius will be positive and that pi is taken as 3.14.
How did yours compare?
If your word is slightly different but the logic is the same, that's perfectly fine.
The key is that the purpose is clear.
The table is complete and the assumptions are stated.
Stay two is design.
Using everything established at the analysis stage, programmers now plan how to build the software.
Three things are produced at the design stage.
First, an algorithm written as pseudo code or drawn as a flowchart.
You learn both of these in week 13.
Second, a list of the variables and data types that will be needed.
Third, a user interface design, often shown as wireframe.
A wireframe is a simple sketch of what the user will see on screen.
The key principle of the design stage is this.
Design comes before coding.
Never write code without a plan.
Look at the wireframe on your screen. It shows a simple input form.
This is drawn before any code is written.
Let's look at the design stage for Kofi's program.
First the algorithm written in pseudo code.
We enter the item name, price per unit and unit sold.
We calculate total revenue by multiplying price per unit by unit sold.
Then we output both the item name and the total revenue.
Second, the variables list.
Notice that we now specify the data type for each variable.
Item name is a string that means text.
Price per unit is a float that means a decimal number.
Unit sold is an integer, a whole number and total revenue is also a float.
Specifying data types is an important part of the design stage.
It helps the programmer when they move to the implementation stage.
Stage three is implementation.
This is where the algorithm is translated into actual code using a programming language.
In this course, we use Python which we will study in detail in weeks 19 and 20. During coding, debugging may be required.
This means finding and fixing errors in the code.
There are three types of errors you need to know.
A syntax error is a mistake in the spelling or a grammar of the code like writing prompts instead of print.
A runtime a runtime error occurs when the program crashes during execution.
For example, if the program tries to divide by zero, a logic error is when the program runs without crashing but gives the wrong answer. For example, using the wrong formula to calculate the area of a circle.
All three types of errors can be found and fixed during implementation stage.
Look at example on your screen. Figure 14.3.
A correct program and the program with a syntax error each with corresponding outputs. Here is your second pause and try. Pause the video now. Study the pseudo code for Kofi's circle area program.
Answer the three questions.
First, what type of error is present?
Second, what is the correct formula?
Rewrite step two correctly.
Third, complete the design stage by writing the variables list for this program.
Think carefully about the error type.
Is it a syntax error, a runtime error, or a a logic error?
Pause now and press play when you are ready.
Welcome back.
Here are the answers. Here are the answers.
The error in the pseudo code is a logic error.
The program would run without crashing but it would give the wrong answer because addition was used instead of multiplication.
The correct formula is 3.14 multiplied by radius multiplied by radius.
The correct step is let area = 3.14 * radius * radius.
For the variables list, we have two variables radius and area both of data type floats because they can be decimal numbers.
Did you identify the error type correctly?
The distinction between syntax, runtime, and logic errors is important.
Make sure you understand all three.
Here's your challenge tax for session one. Pause the video.
Complete the full analysis and design stages for this problem.
A program is required to calculate a wall area of a room given its length, breadth and height.
I have given you the formula as a hint.
Your response should include a purpose statement, a functional requirements table, at least one assumption, a pseudo code algorithm, and a variables list with data types.
This brings together everything from today's session.
Pause now and press play when you are ready.
Here's the full answer.
The purpose clearly describes the program.
The functional requirements table has three inputs, one process and one output.
The assumption states that all measurements will be positive numbers.
The pseudo code follows the IPO structure.
Three inputs, one process, one output.
And the variables list has four variables.
All of data type floats because they can be decimal numbers.
If you completed all five parts correctly, excellent work.
If you missed any part, review it carefully before session two.
Excellent work today.
Let's recap what we covered.
The analysis stage produces a purpose statement, a functional requirements table, and assumptions.
The design stage produces a pseudo code algorithm, variables list, and a wireframe.
The implementation stage is where code is written and errors are debugged.
And we learn three types of errors.
Syntax, runtime, and logic.
Use the selfch check on your screen.
For your take-home task, complete the full analysis and design stages for the students average mark problem.
We will build on this in session two when we cover testing and maintenance.
See you there.
Thank you.
Have a great day. Bye-bye.
Ähnliche Videos
Agentforce NOW AMA: Build with React and Salesforce Multi-Framework
SalesforceDevs
490 views•2026-05-28
How agent o11y differs from traditional o11y — Phil Hetzel, Braintrust
aiDotEngineer
450 views•2026-05-28
WEB TECHNOLOGIES UNIT-2 | Degree 4th sem BCOM Computers web technologies unit-2 full explanation💯✅
LearnwithSahera
1K views•2026-05-29
More tests are always better? How to use AI to identify tests that bring little value
Alliance4Qualification
335 views•2026-05-29
Search Algorithms Explained in 60 Seconds! 🤖💨
samarthtuliofficial
218 views•2026-06-01
People of Game of Thrones using JavaScript DOM
AltCampus
296 views•2026-05-30
Introduction to Problem Solving Part - 1 | Lecture 1 | Intermediate DSA
ascensionix
107 views•2026-05-29
🚀 BCS613C Compiler Design | Module 1 to 5 Schema Evaluation 🔥 | VTU 6th Sem 💯 #VTU #bcs613c #exam
Pranavaa-y4y
104 views•2026-06-02











