#SoftwareEngineering #Course #HowToProgram #HowToCode #HowToBeEngineer
Hello everyone. My name is Furkan Gözükara, and I am a Computer Engineer Ph.D. Assistant Professor at the Software Engineering department.
In this course, we will learn what is the true meaning of being a Software Engineer rather than being a web developer / freelancer developer / software developer / developer / coder / programmer, etc.
Software Engineering Full Course Playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffslgxMVyXhnHiSn_EWTvx1G-
GitHub repository of the course : https://github.com/FurkanGozukara/Software-Engineering-CSE307-2020
Discord channel link of the course : https://discord.gg/6Mrb8MwteQ
How to use Discord : https://youtu.be/AEwPtYiLvsQ
This course does not require you to have any knowledge about programming in any programming language.
However, if you want to start learning programming or develop your other Software Engineering related skills you can watch our below full courses:
[1] Introduction to Programming Full Course with C# playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffskoSXySh0MdiayPJsBZ7m2o
[2] Object Oriented Programming Full Course with C# playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffsnH3XJb66FDIHh1yHwWC26I
[3] Artificial Intelligence (AI) and Machine Learning (ML) Full Course with C# Examples playlist: https://www.youtube.com/playlist?list=PL_pbwdIyffskVschrADCL6KEnL_nqDtgD
[4] Software Engineering Full Course playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffslgxMVyXhnHiSn_EWTvx1G-
[5] Security of Information Systems Full Course playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffslM_o92NwkaUzD7C6Fekx26
[6] (Turkish) Bilgisayar Becerileri Tam Ders playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffsmyE2e909ea1MXLcMb8MenG
Lecture 2 : Software Processes
* Software process models
* Process activities
* Coping with change
* The Rational Unified Process
-- The RUP is a prescriptive, well-defined system development
process, often used to develop systems based on object and/or
component-based technologies
-- It is based on sound software engineering principles such as
taking an iterative, requirements-driven, and architecture-centric
approach to software development
-- An example of a modern software process.
All of the Subtitles of Lecture 2:
* The software process
* Software process descriptions
* Plan-driven and agile processes
* Software process models
* The waterfall model
* Waterfall model phases
* Waterfall model problems
* Incremental development
* Incremental development benefits
* Incremental development problems
* Reuse-oriented software engineering
* Types of software component
* Process activities
* Software specification
* The requirements engineering process
* Software design and implementation
* A general model of the design process
* Design activities
* Software validation
* Stages of te
Hello everyone. My name is Furkan Gözükara, and I am a Computer Engineer Ph.D. Assistant Professor at the Software Engineering department.
In this course, we will learn what is the true meaning of being a Software Engineer rather than being a web developer / freelancer developer / software developer / developer / coder / programmer, etc.
Software Engineering Full Course Playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffslgxMVyXhnHiSn_EWTvx1G-
GitHub repository of the course : https://github.com/FurkanGozukara/Software-Engineering-CSE307-2020
Discord channel link of the course : https://discord.gg/6Mrb8MwteQ
How to use Discord : https://youtu.be/AEwPtYiLvsQ
This course does not require you to have any knowledge about programming in any programming language.
However, if you want to start learning programming or develop your other Software Engineering related skills you can watch our below full courses:
[1] Introduction to Programming Full Course with C# playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffskoSXySh0MdiayPJsBZ7m2o
[2] Object Oriented Programming Full Course with C# playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffsnH3XJb66FDIHh1yHwWC26I
[3] Artificial Intelligence (AI) and Machine Learning (ML) Full Course with C# Examples playlist: https://www.youtube.com/playlist?list=PL_pbwdIyffskVschrADCL6KEnL_nqDtgD
[4] Software Engineering Full Course playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffslgxMVyXhnHiSn_EWTvx1G-
[5] Security of Information Systems Full Course playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffslM_o92NwkaUzD7C6Fekx26
[6] (Turkish) Bilgisayar Becerileri Tam Ders playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffsmyE2e909ea1MXLcMb8MenG
Lecture 2 : Software Processes
* Software process models
* Process activities
* Coping with change
* The Rational Unified Process
-- The RUP is a prescriptive, well-defined system development
process, often used to develop systems based on object and/or
component-based technologies
-- It is based on sound software engineering principles such as
taking an iterative, requirements-driven, and architecture-centric
approach to software development
-- An example of a modern software process.
All of the Subtitles of Lecture 2:
* The software process
* Software process descriptions
* Plan-driven and agile processes
* Software process models
* The waterfall model
* Waterfall model phases
* Waterfall model problems
* Incremental development
* Incremental development benefits
* Incremental development problems
* Reuse-oriented software engineering
* Types of software component
* Process activities
* Software specification
* The requirements engineering process
* Software design and implementation
* A general model of the design process
* Design activities
* Software validation
* Stages of te
Category
📚
LearningTranscript
00:00:00Hello dear students, welcome to the lecture 2 of Software Engineering course.
00:00:05Today's topic is Software Processes, Part 1. Let's start.
00:00:11The topics covered today are
00:00:15Software Process Models
00:00:18Process Activities
00:00:23Coping with Change
00:00:26The Rational Unified Process
00:00:31The RUP is a prescriptive, well-defined system development process, often used to develop
00:00:37systems based on object and or component-based technologies. It is based on sound software
00:00:42engineering principles such as taking an iterative, requirements-driven, and architecture-centric
00:00:48approach to software development. An example of a modern software process.
00:00:53Okay, the software process.
00:00:57A structured set of activities required to develop a software system.
00:01:03Many different software processes but all involve
00:01:11Specification, defining what the system should do, design and implementation, defining the
00:01:17organization of the system and implementing the system, validation, checking that it does
00:01:21what the customer wants, evolution, changing the system in response to changing customer needs.
00:01:47A software process model is an abstract representation of a process.
00:01:52It presents a description of a process from some particular perspective.
00:02:06Software Process Descriptions
00:02:11When we describe and discuss processes, we usually talk about the activities in these processes such
00:02:17as specifying a data model, designing a user interface, etc.
00:02:21And the ordering of these activities.
00:02:32Process Descriptions
00:02:33Process Descriptions may also include
00:02:37Products, which are the outcomes of a process activity, roles, which reflect the responsibilities
00:02:43of the people involved in the process, pre- and post-conditions, which are statements that
00:02:48are true before and after a process activity has been enacted or a product produced.
00:02:58Plan Driven and Agile Processes
00:03:02Plan Driven processes are processes where all of the process activities are planned in advance
00:03:08and progress is measured against this plan.
00:03:13In Agile Processes, planning is incremental and it is easier to change the process to reflect
00:03:19changing customer requirements.
00:03:24In Practice, most practical processes include elements of both plan-driven and Agile approaches.
00:03:31There are no right or wrong software processes.
00:03:34So you can either follow plan-driven processes or Agile processes.
00:03:39It is up to you based on what you need to achieve, what you need to program or code or
00:03:49construct.
00:03:53Software Process Models
00:03:55So there are several process models.
00:03:59The Waterfall Model
00:04:03Plan Driven Model
00:04:04Separate and Distinct Phases of Specification and Development
00:04:10Incremental Development
00:04:16Specification, Development and Validation are interleaved.
00:04:20May be Plan Driven or Agile
00:04:24Reuse Oriented Software Engineering
00:04:29The system is assembled from existing components.
00:04:33May be Plan Driven or Agile
00:04:41In Practice, most large systems are developed using a process that incorporates elements from all of these models.
00:04:51So let's check out the waterfall model.
00:04:56Requirements definition, system and software design, implementation and unit testing, integration and system testing, operation and maintenance.
00:05:05So let's check out the waterfall model.
00:05:12So let's check out the waterfall model.
00:05:27So let's check out the waterfall model.
00:05:40There are separate identified phases in the waterfall model.
00:05:48Requirements analysis and definition, system and software design, implementation and unit testing, integration and system testing, operation and maintenance.
00:05:56So let's read one by one.
00:06:00Requirements analysis and definition, system and software design, implementation and unit testing, integration and system testing, operation and maintenance.
00:06:26The main drawback of the waterfall model is the difficulty of accommodating change after the process is underway.
00:06:33In principle, a phase has to be complete before moving on to the next phase.
00:06:40So it is not very agile for waterfall model because you plan and design everything before starting to constructing your
00:06:52software and there are some more problems.
00:06:59Waterfall model problems.
00:07:03Inflexible partitioning of the project into distinct stages makes it difficult to respond to changing customer requirements.
00:07:14Therefore, this model is only appropriate when the requirements are well understood and changes will be fairly limited during the
00:07:21design process.
00:07:32The waterfall model is mostly used for large systems engineering projects where a system is developed at several sites.
00:07:40In those circumstances, the plan driven nature of the waterfall model helps coordinate the work.
00:07:46What can we give an example for such project?
00:07:51Perhaps a project of NASA may be like this because they are huge projects.
00:07:58Huge number of engineers working on such projects.
00:08:01They have huge budgets.
00:08:03So everything can be planned and designed before even starting the project and they may be separated to several sites.
00:08:14So maybe, I don't know how they are working, but a project of NASA may be like that.
00:08:21For example, a mission to Mars may be like this.
00:08:32Incremental development.
00:08:33Outline description.
00:08:36Outline description.
00:08:36You just first outline a description and then you start developing and incrementally improve your development.
00:08:47Concurrent activities.
00:08:49They are happening at the same time.
00:08:52Specification development and validation.
00:08:54So these three feedback each other continuously.
00:08:58And then as you get close to be done, you can publish initial version.
00:09:08You can publish intermediate versions.
00:09:11And finally after the validation, you can publish the final version.
00:09:16You see these two are also feedback having.
00:09:21These and these and this is the final version.
00:09:26Okay.
00:09:30Incremental development benefits.
00:09:35The cost of accommodating changing customer requirements is reduced.
00:09:40The amount of analysis and documentation that has to be redone is much less than is required
00:09:45with the waterfall model.
00:09:51It is easier to get customer feedback on the development work that has been done.
00:09:56Customers can comment on demonstrations of the software and see how much has been implemented.
00:10:02For example, can you have this in NASA project?
00:10:05No, because you can't even test the device.
00:10:11No, because let's say you are coding the software of the air spacecraft navigation system.
00:10:24And it can be only tested when it is actually going to the Mars.
00:10:31You can test it on the Earth.
00:10:34Of course, they are probably developing artificial simulation platforms and simulations.
00:10:56However, the real test and the real feedback can only be get when the space aircraft is on the way,
00:11:06on its way to the Mars.
00:11:08So you see the difference of incremental development and the waterfall development.
00:11:23More rapid delivery and deployment of useful software to the customer is possible.
00:11:28Customers are able to use and gain value from the software earlier than is possible with a waterfall process.
00:11:35For example, you can apply this to an e-commerce website.
00:11:41You can publish initial version.
00:11:43The customers start using it.
00:11:45And as the customers see the missing parts, they can feedback you and you can improve them.
00:11:52However, you cannot use this strategy in health critical systems.
00:11:59For example, let's say you are purchasing an MR device and a MIR device and you can't just use it
00:12:11on a,
00:12:12you can't just use health critical system, unfinished health critical system on humans.
00:12:18Because it may kill humans, it may badly hurt humans.
00:12:24So you see for each type of job, you can use different types of software development.
00:12:31You can publish an initial version and unfinished version of a game.
00:12:36Because it wouldn't hurt anyone in case of errors or bugs or problems.
00:12:41Okay.
00:12:42There are many startup projects which uses agile development, incremental development.
00:12:47They publish the first as beta and then they start generating some money and they continue developing the games.
00:13:01Incremental development problems.
00:13:07The process is not visible.
00:13:09Managers need regular deliverables to measure progress.
00:13:13If systems are developed quickly, it is not cost effective to produce documents that reflect every version of the system.
00:13:23System structure tends to degrade as new increments are added.
00:13:27Unless time and money is spent on refactoring to improve the software, regular change tends to corrupt its structure.
00:13:34Incorporating further software changes becomes increasingly difficult and costly.
00:13:39Yes, this is so true.
00:13:42Because as you plan and design in the development phase, you may make some huge changes to your structure.
00:13:55And as you make changes to your initial structure, it corrupts its structure.
00:14:02This is so true.
00:14:03Negative side of the incremental development.
00:14:12Reuse oriented software engineering.
00:14:18Based on systematic reuse where systems are integrated from existing components or cuts commercial off the shelf systems.
00:14:31Process stages component analysis, requirements modification, system design with reuse, development and integration.
00:14:44Reuse is now the standard approach for building many types of business system.
00:14:49This is true because you shouldn't try to invent the wheel again and again.
00:14:55You should use as much as possible what is already there, what is already done and what is already checked
00:15:02and verified.
00:15:04Open software libraries and frameworks are great source of tools to use in your projects.
00:15:17Reuse oriented software engineering.
00:15:20Requirements specification, component analysis, requirements modification, system design with reuse, development and integration, system validation.
00:15:34Type of software component.
00:15:38Web services that are developed according to service standards and which are available for remote invocation.
00:15:45Collections of objects that are developed as a package to be integrated with a component framework such as .NET or
00:15:51J2EE.
00:15:52Standalone software systems that are configured for use in a particular environment.
00:16:00Process activities.
00:16:08Real software processes are interleaved sequences of technical, collaborative and managerial activities with the overall goal of specifying, designing, implementing
00:16:18and testing a software system.
00:16:20The four basic process activities of specification, development, validation and evolution are organized differently in different development processes.
00:16:28In the waterfall model, they are organized in sequence, whereas in incremental development, they are interleaved.
00:16:36Okay, software specification.
00:16:43The process of establishing what services are required and the constraints on the system's operation and development.
00:16:51Okay, requirements engineering process.
00:16:57Yes.
00:16:58Feasibility study.
00:17:00Is it technically and financially feasible to build the system?
00:17:04This is so important.
00:17:06You shouldn't try to build systems.
00:17:09They are unfeasible.
00:17:12They are not just possible or financially and economically, they are impossible to achieve.
00:17:24Requirements elicitation and analysis.
00:17:28What do the system stakeholders require or expect from the system?
00:17:33Requirements specification, defining the requirements in detail.
00:17:38Requirements validation, checking the validity of the requirements.
00:17:41So, you see, this is named as requirements engineering process.
00:17:46You are not just a coder.
00:17:49You are not just a programmer.
00:17:50If you want to be a software engineer, you need to have an idea, have a plan and have habits
00:17:59of an engineer.
00:18:01For example, just for requirements, you need to do every necessity check like this one.
00:18:10Feasibility study, requirements elicitation and analysis.
00:18:13Requirements specification, requirements validation and such.
00:18:17Okay.
00:18:18This will separate you from the regular coders, programmers, freelancers.
00:18:23Okay.
00:18:23As a software engineer.
00:18:32The requirements engineering process.
00:18:35Okay.
00:18:35Feasibility study.
00:18:37From feasible study, you generate feasibility report.
00:18:40Requirements elicitation and analysis.
00:18:43Based on that, you start requirement specification and system models.
00:18:50From requirement specification, you can feedback requirements elicitation and analysis.
00:18:55You can move to the next stage, user and system requirements.
00:18:59And from system models and user and system requirements, you can compose requirements documents.
00:19:05And from requirement specification, you can do requirements validation.
00:19:09And based on that feedback, you can modify requirements specification and requirement elicitation analysis.
00:19:15You see, these ones have feedback from the further process.
00:19:23And after all, done.
00:19:24You compose the requirements document.
00:19:33Software design and implementation.
00:19:38The process of converting the system specification into an executable system.
00:19:44Software design.
00:19:47Design a software structure that realizes the specification.
00:19:52Implementation.
00:19:55Translate this structure into an executable program.
00:20:01The activities of design and implementation are closely related and may be interleaved.
00:20:08So after you have done the requirements engineering process, you move to the software design and implementation process.
00:20:16In this one, there are software design implementation and you execute both processes at the same time in many cases.
00:20:41Okay.
00:20:42Interleaved.
00:20:44A general model of the software design process.
00:20:48There are design inputs which are platform information, requirement specification, data description.
00:20:52And there are design activities, architectural design, interface design, component design.
00:21:00And they both connect to the database design.
00:21:04And there is design outputs.
00:21:06System architectures, database specification, interface specification, component specification.
00:21:12Okay.
00:21:13So design activities.
00:21:17Let's read them carefully.
00:21:22Architectural design, where you identify the overall structure of the system, the principal components, sometimes called subsystems or modules, their
00:21:30relationships and how they are distributed.
00:21:33Interface design, where you define the interfaces between system components.
00:21:37Component design, where you take each system component and design how it will operate.
00:21:43Database design, where you design the system data structures and how these are to be represented in a database.
00:21:50So you see design has many different subsections.
00:21:55And you need to follow this code of practice to be a good software engineer.
00:22:02And there is software validation.
00:22:10Verification and validation, V and V, is intended to show that a system conforms to its specification and meets the
00:22:17requirements of the system customer.
00:22:19Involves checking and review processes and system testing.
00:22:23System testing involves executing the system with test cases that are derived from the specification of the real data to
00:22:30be processed by the system.
00:22:32Testing is the most commonly used V and V activity.
00:22:36For testing, there are usually, usually the companies and engineers programs another code, another software.
00:22:47So there are being test software, which provides inputs and expect some output.
00:22:54So whenever you make changes to your main software, you retest your main software with these testing procedures and see
00:23:06if there are any errors, if an unexpected error happened or not.
00:23:13Stages of testing.
00:23:15Stages of testing, component testing, system testing, acceptance testing.
00:23:18You see, if acceptance is not achieved, you go back to the component testing and system testing and acceptance testing
00:23:27again.
00:23:29Okay, testing stages.
00:23:30Yes.
00:23:34Development or component testing.
00:23:38Individual components are tested independently. Components may be functions or objects or coherent groupings of these entities.
00:23:47System testing.
00:23:50Testing.
00:23:51Testing.
00:23:51Testing of the system as a whole. Testing of emergent properties is particularly important.
00:23:59Okay, acceptance testing.
00:24:02Testing with customer data to check that the system meets the customer's need.
00:24:07The testing phase is in a plan-driven software process.
00:24:12You see, it is getting expanded.
00:24:15Requirements specification, system specification, system design, detailed design,
00:24:20module and unit code and test.
00:24:24There is acceptance test plan, system integration test plan, subsystem integration test plan.
00:24:31There is subsystem integration test, system integration test, acceptance test, and service.
00:24:36However, if you follow this plan-driven software process, you can much easily achieve, you can much easily put very
00:24:47large software systems.
00:24:51Okay.
00:24:53Software evaluation.
00:24:59Software is inherently flexible and can change.
00:25:02As requirements change through changing business circumstances, the software that supports the business must also evolve and change.
00:25:11Although there has been a demarcation between development and evolution maintenance, this is increasingly irrelevant as fewer and fewer systems
00:25:19are completely new.
00:25:26Okay, system evaluation.
00:25:29So, define system requirements, assess existing systems, existences here, proposed system changes, modify systems, compose new system and from there
00:25:44you check whether you assess again the existing system.
00:25:48Okay.
00:25:50Okay.
00:25:50So, key points of the part one of software processes.
00:25:56Here, which are the key points?
00:25:59Let's read one by one.
00:26:04Software processes are the activities involved in producing a software system.
00:26:09Software process models are abstract representations of these processes.
00:26:19General process models describe the organization of software processes.
00:26:24General process models describe the organization of software processes.
00:26:24Examples of these general models include the waterfall model incremental development and reuse oriented development.
00:26:34More key points.
00:26:39Requirements engineering is the process of developing a software specification.
00:26:44Design and implementation processes are concerned with transforming a requirements specification into an executable software system.
00:26:52Software validation is the process of checking that the system conforms to its specification and that it meets the real
00:26:58needs of the users of the system.
00:27:00Software evolution takes place when you change existing software systems to meet new requirements.
00:27:06The software must evolve to remain useful.
00:27:10So, if you don't make any updates to your existing software, eventually it will become obsolete and left by the
00:27:19customers and clients.
00:27:21Okay.
00:27:22So, lecture two software processes part two.
00:27:25Coping with the change.
00:27:29Okay.
00:27:31Coping with change.
00:27:34All right.
00:27:38Change is inevitable in all large software projects.
00:27:43Business changes lead to new and changed system requirements.
00:27:47New technologies open up new possibilities for improving implementations.
00:27:51Changing platforms require application changes.
00:27:58Change leads to rework so the costs of change include both rework e.g. re-analyzing requirements as well as
00:28:05the costs of implementing new functionality.
00:28:12Reducing the costs of rework.
00:28:17Change avoidance, where the software process includes activities that can anticipate possible changes before significant rework is required.
00:28:26For example, a prototype system may be developed to show some key features of the system to customers.
00:28:34Change tolerance, where the process is designed so that changes can be accommodated at relatively low cost.
00:28:41This normally involves some form of incremental development.
00:28:45Proposed changes may be implemented in increments that have not yet been developed.
00:28:50If this is impossible, then only a single increment, a small part of the system, may have be altered to
00:28:56incorporate the change.
00:29:02Software prototyping.
00:29:07A prototype is an initial version of a system used to demonstrate concepts and try out design options.
00:29:14A prototype can be used in the requirements engineering process to help with requirements elicitation and validation in design processes
00:29:23to explore options and develop a UI design in the testing process to run back to back tests.
00:29:33Benefits of prototyping.
00:29:35Benefits of prototyping.
00:29:37Improved system usability.
00:29:39A closer match to users' real needs.
00:29:42Improved design quality.
00:29:44Improved maintainability.
00:29:46Reduced development effort.
00:29:50Okay.
00:29:51The process of prototype development.
00:29:54Establish prototype objectives.
00:29:56Prototyping.
00:29:57Plan.
00:29:58Define prototype.
00:30:00Prototype functionality.
00:30:01Outline definition.
00:30:03Develop prototype.
00:30:04Executable prototype.
00:30:06Available prototype evaluation report.
00:30:09Prototype development.
00:30:15May be based on rapid prototyping languages or tools.
00:30:21May involve leaving out functionality.
00:30:28Prototype should focus on areas of the product that are not well understood.
00:30:31Error checking and recovery may not be included in the prototype.
00:30:35Focus on functional rather than non-functional requirements such as reliability and security.
00:30:46Throw away prototypes.
00:30:52Prototypes should be discarded after development as they are not a good basis for a production system.
00:30:57It may be impossible to tune the system to meet non-functional requirements.
00:31:02Prototypes are normally undocumented.
00:31:04The prototype structure is usually degraded through rapid change.
00:31:08The prototype probably will not meet normal organizational quality standards.
00:31:16Incremental delivery.
00:31:24Rather than deliver the system as a single delivery, the development and delivery is broken down into increments with each
00:31:31increment delivering part of the required functionality.
00:31:40User requirements are prioritized and the highest priority requirements are included in early increments.
00:31:49Once the development of an increment is started, the requirements are frozen though requirements for later increments can continue to
00:31:56evolve.
00:32:00Incremental development and delivery.
00:32:05Incremental development.
00:32:08Develop the system in increments and evaluate each increment before proceeding to the development of the next increment.
00:32:15Normal approach used in agile methods.
00:32:17Evaluation done by user, customer proxy.
00:32:21Incremental delivery.
00:32:24Delivery.
00:32:25Deploy an increment for use by end users.
00:32:28More realistic evaluation about practical use of software.
00:32:32Difficult to implement for replacement systems as increments have less functionality than the system being replaced.
00:32:38So if you are going to replace a whole working system, incremental delivery may not be appropriate for it.
00:32:46Because with incremental delivery, you are adding functionality of the system by one by.
00:32:55However, if you are replacing an existing system, a working system, it may cause serious problems of the working system.
00:33:03It may cause damage of profit and other issues.
00:33:10Incremental delivery.
00:33:12Incremental delivery and incremental development may not suit very well to every kind of application.
00:33:18In software engineering, the methods you choose have to be appropriate to the software you are developing.
00:33:32Incremental delivery.
00:33:34Define outline requirements.
00:33:37Assign requirements to increments.
00:33:40Design system architecture.
00:33:42Develop system increment.
00:33:44Update increment.
00:33:46Integrate increment.
00:33:48Validate system.
00:33:49Deploy increment.
00:33:50If system incomplete.
00:33:52Continue develop system increment.
00:33:54Increment.
00:33:55If system is incomplete.
00:34:00Develop system increment.
00:34:02If system is complete, final system.
00:34:10Incremental delivery advantages.
00:34:13Customer value can be delivered with each increment so system functionality is available earlier.
00:34:19Early increments act as a prototype to help elicit requirements for later increments.
00:34:24Lower risk of overall project failure.
00:34:29The highest priority system services tend to receive the most testing.
00:34:36What problems there are?
00:34:39Incremental delivery problems.
00:34:44Most systems require a set of basic facilities that are used by different parts of the system, as requirements are
00:34:51not defined in detail until an increment is to be implemented.
00:34:54It can be hard to identify common facilities that are needed by all increments.
00:35:01The essence of iterative processes is that the specification is developed in conjunction with the software.
00:35:08However, this conflicts with the procurement model of many organizations where the complete system specification is part of the system
00:35:16development contract.
00:35:28Okay.
00:35:29Another model.
00:35:31Boehm spiral model.
00:35:34Process is represented as a spiral rather than as a sequence of activities with backtracking.
00:35:42Each loop in the spiral represents a phase in the process.
00:35:49No fixed phases such as specification or design.
00:35:52Loops in the spiral are chosen depending on what is required.
00:35:57Risks are explicitly assessed and resolved throughout the process.
00:36:05Boehm spiral model of the software process.
00:36:09Okay.
00:36:10So where does it start?
00:36:12It starts from here.
00:36:14However, it is a spiral.
00:36:16Service.
00:36:21And acceptance test.
00:36:23Integration test.
00:36:24Develop verify next level product.
00:36:26Unit test.
00:36:27Code.
00:36:28Detailed design.
00:36:30Operational prototype.
00:36:31You see in spiral model.
00:36:37There is no fixed phases.
00:36:40Okay.
00:36:41There are loops in the spiral chosen depending on what is required.
00:36:45So when you are first starting.
00:36:48What would be the requirement?
00:36:53What would be the required?
00:36:56Probably it would be development plan or determine objects alternatives and constraints.
00:37:05Okay.
00:37:06So you choose what is next as a requirement.
00:37:12You do that and choose what is next as a requirement.
00:37:15You do that and continue choosing what is next depending on what is required.
00:37:22Okay.
00:37:23This is the spiral model.
00:37:26Let's see one by one.
00:37:31Spiral model sectors.
00:37:34Objective setting.
00:37:39Specific objectives for the phase are identified.
00:37:44Okay.
00:37:45Objective setting.
00:37:52So it is this one.
00:37:53Determine objectives, alternatives and constraints.
00:37:56Okay.
00:38:00Risk assessment and reduction.
00:38:03Risks are assessed and activities put in place to reduce the key risks.
00:38:08So you see evaluate alternatives, identify, resolve risk, risk analysis, risk analysis, risk analysis, risk analysis and risk analysis.
00:38:15Each time we do evaluate alternatives, identify and resolve risks.
00:38:25Development and validation.
00:38:27A development model for the system is chosen which can be any of the generic models.
00:38:32So it can be any of the development models.
00:38:35Okay.
00:38:39Planning.
00:38:41The project is reviewed and the next phase of the spiral is planned.
00:38:47All right.
00:38:54Spiral model usage.
00:38:58Spiral model has been very influential in helping people think about iteration in software processes and introducing the risk driven
00:39:06approach to development.
00:39:07So this is a risk driven approach based on the risk and evaluation you pick the next phase.
00:39:15In practice, however, the model is rarely used as published for practical software development.
00:39:20So in practice, it is not very practical as it is on the paper.
00:39:29One second.
00:39:32Okay.
00:39:34The racially unified process.
00:39:40A modern generic process derived from the work on the UML and associated process.
00:39:48Brings together aspects of the three generic process models discussed previously.
00:39:56Normally described from three perspectives.
00:40:00A dynamic perspective that shows phases over time.
00:40:04A static perspective that shows process activities.
00:40:07A practive perspective that suggests good practice.
00:40:11So.
00:40:13Uh.
00:40:15Phases in the rational unified process.
00:40:18There is inception phase, elaboration phase, construction phase, and transition phase.
00:40:24This is phase iteration.
00:40:27Okay.
00:40:29So.
00:40:29Rational unified phases.
00:40:32Inception.
00:40:37Establish the business case for the system.
00:40:41Elaboration.
00:40:44Develop an understanding of the problem domain and the system architecture.
00:40:49Construction.
00:40:52System design, programming, and testing.
00:40:55Transition.
00:40:59Deploy the system in its operating environment.
00:41:03So.
00:41:06We continue.
00:41:13Rup iteration.
00:41:15In phase iteration.
00:41:19Each phase is iterative with results developed incrementally.
00:41:23Cross phase iteration.
00:41:29As shown by the loop in the RUP model, the whole set of phases may be enacted incrementally.
00:41:36Okay.
00:41:42Static workflows in the rational unified process.
00:41:47So.
00:41:49Workflow.
00:41:49Workflow.
00:41:50Business modeling.
00:41:52The description of workflow.
00:41:55The business processes are modeled using business use cases.
00:41:59Requirements.
00:42:03Actors who interact with the system are identified and use cases are developed to model the system
00:42:09requirements.
00:42:10Analysis and design.
00:42:14A design model is created and documented using architectural models, component models,
00:42:20object models, and sequence models.
00:42:23Elementation.
00:42:30The components in the system are implemented and structured into implementation subsystems.
00:42:36Automatic code generation from design models helps accelerate this process.
00:42:42Okay.
00:42:43We continue to.
00:42:45Static workflows in the rational unified process.
00:42:50Okay.
00:42:50Testing.
00:42:51Testing.
00:42:52Testing is an iterative process that is carried out in conjunction with implementation.
00:42:58System testing follows the completion of the implementation.
00:43:01So there is deployment.
00:43:04A product release is created, distributed to users and installed in their workplace.
00:43:10Configuration and change management.
00:43:17This supporting workflow manage changes to the system.
00:43:21There is project management.
00:43:25This supporting workflow manages the system development.
00:43:29There is environment.
00:43:38This workflow is concerned with making appropriate software tools available to the software development
00:43:44team.
00:43:45Okay, so.
00:43:46So.
00:43:47Are you P good practice?
00:43:50Develop software iteratively.
00:43:54Plan increments based on customer priorities and deliver highest priority increments first.
00:43:59This may be very useful depending on your situation.
00:44:04Let's say you are building an e-commerce website.
00:44:10What would be the highest priority?
00:44:14A working chart system.
00:44:16A working payment system.
00:44:18You can deliver them at the first and then you can make cosmetic changes or functionality increments.
00:44:25Based on what is highest priority you can develop the software that way.
00:44:32Manage requirements.
00:44:37Explicitly document customer requirements and keep track of changes to these requirements.
00:44:44Use component based architectures.
00:44:48Organize the system architecture as a set of reusable components.
00:44:58So this is a good practice of RUP development.
00:45:03You should follow this.
00:45:05Visually model software.
00:45:08Use graphical UML models to present static and dynamic views of the software.
00:45:15Verify software quality.
00:45:17Ensure that the software meets organizational quality standards.
00:45:26Control changes to software.
00:45:31Manage software changes using a change management system and configuration management tools.
00:45:37Okay, so the key points of part 2 of the lecture 2.
00:45:47Processes should include activities to cope with change.
00:45:51This may involve a prototyping phase that helps avoid poor decisions on requirements and design.
00:45:58So your software has to be designed, planned in a way that it could be able to cope with the
00:46:07changes, cope with the new requirements, cope with the new trends and such things.
00:46:13It shouldn't be static.
00:46:15It shouldn't be static.
00:46:18It shouldn't be non-changing.
00:46:20You should be designing a way that you could improve its features and add new features to it so you
00:46:33can cope with the changes.
00:46:40Processes may be structured for iterative development and delivery so that changes may be made without disrupting the system as
00:46:46a whole.
00:46:47This is also very important because let's say your customer requested you to develop a very big system.
00:46:59The development will take the system let's say will take approximately 5 years to develop.
00:47:08But for 5 years your customer cannot go without making any money, right?
00:47:16So you can plan that your processes may be structured for iterative development and delivery so your customers start putting
00:47:28your software on the usage and start making money and can pay you money.
00:47:37Let's say monthly.
00:47:39Let's say monthly.
00:47:39Meanwhile, he's also making money of the software.
00:47:43So in the end your customer still gets its software and you get paid every month and the customer also
00:47:52generate some money.
00:47:54This is most of the systems how the most of the systems are done in today.
00:48:00If they are if your customer is not very big and can throw away some money until and wait several
00:48:10years until making money from that investment.
00:48:20The rational unified process is a modern generic process model that is organized into phases inception elaboration construction and transition,
00:48:30but separates activities requirements analysis and design, etc. from these phases.
00:48:37So this is a modern generic process and probably it is being used commonly let's check it out from the
00:48:45internet.
00:48:46And let's read about it from the Wikipedia.
00:48:54The Rational Unified Process is an iterative software development process framework created by the Rational Software Corporation, a division of
00:49:04IBM since 2003.
00:49:05One RUP is not a single concrete prescriptive process, but rather an adaptable process framework intended to be tailored by
00:49:13the development organizations and software project teams that will select the elements of the process that are appropriate for their
00:49:20needs.
00:49:21RUP is a specific implementation of the unified process.
00:49:36RUP is based on a set of building blocks and content elements describing what is to be produced, the necessary
00:49:43skills required and the step by step explanation describing how specific development goals are to be achieved.
00:49:50The main building blocks or content elements are the following roles who a role defines a set of related skills
00:50:01competencies and responsibilities work products.
00:50:05What a work product represents something resulting from a task, including all the documents and models produced while working through
00:50:12the process tasks.
00:50:14Tasks how a task describes a unit of work assigned to a role that provides a meaningful result.
00:50:21Within each iteration, the tasks are categorized into nine disciplines.
00:50:276 engineering disciplines business modeling requirements analysis and design implementation test deployment.
00:50:373 supporting disciplines configuration and change management project management environment.
00:50:474 project life cycle phases.
00:50:51The RUP has determined a project life cycle consisting of four phases.
00:50:56These phases allow the process to be presented at a high level in a similar way to how waterfall styled
00:51:03project might be presented, although in essence the key to the process lies in the iterations of development that lie
00:51:09within all of the phases.
00:51:11Also, each phase has one key objective and milestone at the end that denotes the objective being accomplished.
00:51:18The visualization of RUP phases and disciplines over time is referred to as the RUP hump chart.
00:51:25And that's coming a big inception phase.
00:51:36The primary objective is to scope the system adequately as a basis for validating initial costing and budgets.
00:51:42In this phase the business case which includes business context, success factors, expected revenue, market recognition, etc., and financial forecast
00:51:53is established.
00:51:54To complement the business case, a basic use case model, project plan, initial risk assessment and project description the core
00:52:02project requirements, constraints and key features are generated.
00:52:06After these are completed, the project is checked against the following criteria.
00:52:14Stakeholder concurrence on scope definition and cost schedule estimates requirements understanding is evidenced by the fidelity of the primary use
00:52:23cases.
00:52:23Credibility of the cost schedule estimates priorities risks and development process depth and breadth of any architectural prototype that was
00:52:34developed establishing a baseline by which to compare actual expenditures versus planned expenditures.
00:52:43If the project does not pass this milestone, called the life cycle objective milestone, it either can be cancelled or
00:52:50repeated after being redesigned to better meet the criteria.
00:52:53Okay, and the second phase is?
00:52:56Elaboration phase.
00:53:01The primary objective is to mitigate the key risk items identified by analysis up to the end of this phase.
00:53:07The elaboration phase is where the project starts to take shape.
00:53:12In this phase the problem domain analysis is made and the architecture of the project gets its basic form.
00:53:19The outcome of the elaboration phase is?
00:53:25A use case model in which the use cases and the actors have been identified and most of the use
00:53:31case descriptions are developed.
00:53:33The use case model should be 80% complete.
00:53:37A description of the software architecture in a software system development process.
00:53:42An executable architecture that realizes architecturally significant use cases.
00:53:48Business case and risk list which are revised.
00:53:51A development plan for the overall project.
00:53:54Prototypes that demonstrably mitigate each identified technical risk.
00:53:58A preliminary user manual optional.
00:54:03This phase must pass the life cycle architecture milestone criteria answering the following questions.
00:54:10Is the vision of the product stable?
00:54:12Is the architecture stable?
00:54:14Does the executable demonstration indicate that major risk elements are addressed and resolved?
00:54:19Is the construction phase plan sufficiently detailed and accurate?
00:54:24Do all stakeholders agree that the current vision can be achieved using current plan in the context of the current
00:54:30architecture?
00:54:31Is the actual versus planned resource expenditure acceptable?
00:54:37If the project cannot pass this milestone, there is still time for it to be cancelled or redesigned.
00:54:44However, after leaving this phase, the project transitions into a high risk operation where changes are much more difficult and
00:54:52detrimental when made.
00:54:53The key domain analysis for the elaboration is the system architecture.
00:54:59Construction phase.
00:55:03The primary objective is to build the software system.
00:55:07In this phase, the main focus is on the development of components and other features of the system.
00:55:13This is the phase when the bulk of the coding takes place.
00:55:16In larger projects, several construction iterations may be developed in an effort to divide the use cases into manageable segments
00:55:24produced demonstrable prototypes.
00:55:27So you see that until the coding starts, there are many prior things to be completed.
00:55:38You first complete the inception phase and then you need to complete the elaboration phase.
00:55:45You make all the plan and you make all the documentation, you make the risk analysis, etc.
00:55:53And after that, after only establishing all these prior phases, you start coding.
00:55:59This is how software engineer behaves.
00:56:02The software engineer does not immediately start coding and then try to make all the changes of meanwhile coding and
00:56:12developing.
00:56:13That would be detrimental to the system architecture and other things.
00:56:24That would reduce the quality of your software.
00:56:28It may be impossible to continue after a certain phase and you may need to record everything and such things.
00:56:37So a software engineer behaves with planning and with design and then after doing and completing the initial phases, a
00:56:51software engineer moves to the coding.
00:56:56So you see after everything is planned, it seems like the coding is the easiest part, right?
00:57:06Transition phase.
00:57:10The primary objective is to transit the system from development into production, making it available to and understood by the
00:57:17end user.
00:57:18The activities of this phase include training the end users and maintainers and beta testing the system to validate it
00:57:25against the end users expectations.
00:57:27The system also goes through an evaluation phase.
00:57:31Any developer which is not producing the required work is replaced or removed.
00:57:36The product is also checked against the quality levels set in the inception phase.
00:57:41If all objectives are met, the product release milestone is reached and the development cycle is finished.
00:57:57Six best software engineering practices are defined for software projects to minimize faults and increase productivity.
00:58:05These are.
00:58:08These are.
00:58:14Develop iteratively.
00:58:15Develop iteratively.
00:58:16It is best to know all requirements in advance.
00:58:19However, often this is not the case.
00:58:22Several software development processes exist that deal with providing solutions to minimize cost in terms of development phases.
00:58:30Manage requirements.
00:58:32Always keep in mind the requirements set by users.
00:58:35Use components breaking down an advanced project is not only suggested but in fact unavoidable.
00:58:41This promotes ability to test individual components before they are integrated into a larger system.
00:58:48Also, code reuse is a big plus and can be accomplished more easily through the use of object oriented programming.
00:58:54Model visually use diagrams to represent all major components users and their interaction.
00:59:02UML short for unified modeling language is one tool that can be used to make this task more feasible.
00:59:09Verify quality always make testing a major part of the project at any point of time.
00:59:15Testing becomes heavier as the project progresses but should be a constant factor in any software product creation.
00:59:22Control changes.
00:59:23Many projects are created by many teams, sometimes in various locations, different platforms may be used, etc.
00:59:31As a result, it is essential to make sure that changes made to a system are synchronized and verified constantly.
00:59:38See continuous integration.
00:59:54In software engineering, continuous integration is the practice of merging all developers working copies to a shared mainline several times
01:00:04a day.
01:00:04One, Grady Butch first proposed the term C in his 1991 method.
01:00:09Two, although he did not advocate integrating several times a day.
01:00:13Extreme programming, XP, adopted the concept of C and did advocate integrating more than once per day, perhaps as many
01:00:21as tens of times per day.
01:00:24Okay, so if there is anything that you cannot understand fully, you can look to the internet for more information.
01:00:36There is always more information.
01:00:38Being a software engineer will only increase your value, will only increase your chances to get a good job offer,
01:00:48a good payment and will separate you from the coders and developers.
01:00:54Okay, there are much more coders and developers today than the 10 years ago or 20 years ago.
01:01:04There is a very high competition.
01:01:06So to separate yourself from programmers, coders, freelancers, you need to become a good software engineer so that big corporations
01:01:21can see the value in you such as Google, Facebook, Apple, Amazon and such companies.
01:01:31And they will likely to hire you because being a software engineer will give you ability to work as a
01:01:42team, as a part of a team, as a part of a big corporation.
01:01:47All right.
01:01:48So this is for today's lecture.
01:01:52Let me push the lecture slide to our github repository.
01:02:09The software engineer you should learn actually you have to learn how to use a code management system such as
01:02:18github.
01:02:18Okay.
01:02:20Okay.
01:02:20So this must be one of your priorities to be able to use a code management system.
01:02:29I will give you a project in this semester for this course.
01:02:34And you will be forced to use a code management system such as github or bitbucket or such.
01:02:44Okay.
01:02:45With any code management software such as git bash, which one, this is the, this is git bash which I
01:02:51am using.
01:03:08So the origin master is the name of my branch.
01:03:12Okay.
01:03:13There can be branches.
01:03:21Let's see.
01:03:24Okay.
01:03:25It's updated now.
01:03:27When I click it, I see the lecture slides, lecture slides, lecture two slides uploaded.
01:03:34You see them here.
01:03:35And I have updated the first slides as well.
01:03:40Okay.
01:03:41Hopefully see you next week.
01:03:42Stay safe from coronavirus.
01:03:46Okay.
01:03:46See you.