0
0
Software Engineeringknowledge~30 mins

Software reengineering in Software Engineering - Mini Project: Build & Apply

Choose your learning style9 modes available
Understanding Software Reengineering
📖 Scenario: You work in a software company that has an old application. The company wants to improve it without starting from scratch. You will learn how to organize the steps to reengineer the software.
🎯 Goal: Build a clear step-by-step plan that shows the main phases of software reengineering. This plan will help your team understand what to do to improve the old software.
📋 What You'll Learn
Create a list called reengineering_phases with the main phases of software reengineering in order.
Add a variable called current_phase_index to track which phase the team is working on.
Use a for loop with variables index and phase to go through each phase and mark the current one.
Add a final statement that shows the project is ready to start reengineering.
💡 Why This Matters
🌍 Real World
Software reengineering helps companies improve old software systems by updating or restructuring them instead of building new ones from scratch.
💼 Career
Understanding software reengineering phases is important for software engineers, project managers, and quality assurance professionals involved in maintaining and improving legacy systems.
Progress0 / 4 steps
1
DATA SETUP: Create the list of software reengineering phases
Create a list called reengineering_phases with these exact phases in order: 'Inventory Analysis', 'Document Restructuring', 'Reverse Engineering', 'Program Restructuring', 'Forward Engineering'.
Software Engineering
Need a hint?

Use square brackets [] to create a list and separate each phase with commas.

2
CONFIGURATION: Add a variable to track the current phase
Add a variable called current_phase_index and set it to 0 to represent the first phase in the list.
Software Engineering
Need a hint?

Set current_phase_index to zero because list indexes start at zero.

3
CORE LOGIC: Loop through phases and mark the current one
Use a for loop with variables index and phase to go through reengineering_phases using enumerate(). Inside the loop, check if index equals current_phase_index. If yes, create a variable status with value '(current phase)', else set status to an empty string ''. This marks the current phase.
Software Engineering
Need a hint?

Use enumerate() to get both index and phase. Use an if statement to compare index and current_phase_index.

4
COMPLETION: Add a final statement to show readiness
Add a variable called project_ready and set it to True to indicate the software reengineering project is ready to start.
Software Engineering
Need a hint?

Use a simple assignment to set project_ready to True.