








































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









































































Software Engineering Software engineering is the technique through which user can develop or created computer system and any other devices. In software engineering user requirements are analysed and software is created using these requirements. Software engineering uses some software principles , procedures, scientific rules to develop high quality software. To develop a high quality,complex software there are two terms users abstraction and decomposition where abstraction means describing only necessary information and leave complex data for later stage Decomposition means breakdown the software into number of module where each module produces a well,define independent task. Software Engineering helps developers create software in a structured and organized way. It includes several stages such as planning, designing, coding, testing, and maintenance. The main goal of software engineering is to develop high-quality software that meets user requirements, works efficiently, and is easy to maintain. Software Engineering is important because modern software systems are very large and complex. Without proper engineering methods, it would be difficult to develop and manage such systems. Need of Software Engineering Software Engineering is required for many reasons:
Software often needs updates and improvements. Software engineering makes it easier to maintain and modify software.
Specialized Process Model Specialized process models are software development models designed for specific types of software projects. These models are used when traditional process models are not suitable for certain situations. Specialized models focus on particular requirements, technologies, or development environments. These models help in developing software more effectively in complex or unique situations. Types of Specialized Process Models Some common specialized process models include: Component-Based Development Model Formal Methods Model Aspect-Oriented Software Development Model
Suitable for large and complex projects. Continuous customer feedback. Errors are detected early. Flexible development process. Disadvantages of Spiral Model Expensive to implement. Requires experienced developers. Not suitable for small projects. Risk analysis process can be complex. Conclusion The Spiral Model is very effective for large and complex software projects where risk management is important.
Good software should have certain qualities to ensure efficiency and reliability. Characteristics of Good Software
Prospective Process Model A Prospective Process Model is a development approach where the software process is
planned and designed before the project begins. It focuses on predicting the steps and activities required to develop software successfully. This model defines the complete process in advance, including design methods, development strategies, testing procedures, and management techniques. Features of Prospective Process Model Planning is done before development starts. Activities and stages are clearly defined. It focuses on future project needs. Helps reduce risks and uncertainties. Advantages Better project planning. Improved project management. Clear development structure. Reduced chances of errors. Disadvantages Requires accurate planning. Changes may be difficult once development starts. Conclusion The Prospective Process Model helps in systematic software development by planning the entire development process in advance. ==============================================
SRS (Software Requirement Specification) is a document that describes all the requirements of a software system. It explains what the software should do and how it should perform. In simple words, SRS is a written document that contains all the details about the system before development starts. It is prepared by system analysts after discussing with the client and users.
Functional requirements – What the system should do. Non-functional requirements – Performance, security, reliability etc.
System should load within 2 seconds System should support 1000 users at a time Data should be secure System should be reliable
Focus on performance Improve user experience Define system quality
Example In an ATM System Functional requirement: User can withdraw money. Non-functional requirement: Transaction should complete within 5 seconds.
Cost estimation is the process of predicting the amount of money, time, and resources required to develop a software project. It helps organizations plan the budget and schedule of the project. Cost estimation is done in the early stages of software development.
Helps in project planning Helps manage project budget Helps decide project schedule Helps allocate resources properly Reduces risk of project failure
Expert judgment Experts estimate the cost based on their experience.
Analogous estimation Cost is estimated based on similar past projects. Algorithmic models Mathematical models like COCOMO are used. Top-down estimation Total project cost is estimated first and then divided. Bottom-up estimation Cost of each small task is estimated and then added.
Cost estimation is usually measured in: Effort (Person-months) Time (months or weeks) Money (budget)
Suppose a company wants to develop a Library Management System. Estimated values: Development time = 4 months Team members = 3 developers Cost per developer = ₹30,000 per month Total Cost = 3 × 30,000 × 4 = ₹3,60, So the estimated project cost is ₹3,60,000.
A System Analyst is a person who studies the existing system and helps design a new and improved system. The system analyst acts as a bridge between the client and the development team.
Requirement gathering Collects requirements from clients and users. System analysis Studies the current system to find problems. System design Helps design the structure of the new system. Communication Communicates between clients and developers. Documentation Prepares documents like SRS. Problem solving Identifies issues and suggests solutions. Testing support Helps testers understand system requirements.
Advantages Easy to understand Shows multiple conditions clearly Helps in system analysis and design ===============================================
Software design is a very important step in software development. It is the process of planning how a software system will work before coding starts. A good software design helps in developing quality software that is easy to understand, maintain, and use. The main characteristics of good software design are explained below:
Software analysis is the process of understanding system requirements. There are two main approaches: Structured Analysis and Object-Oriented Analysis. Structured Analysis Structured analysis focuses on processes and functions. It breaks down the system into smaller processes using a top-down approach. It mainly uses tools like Data Flow Diagrams (DFD). Features: Focus on functions Uses DFD Data and functions are separate Less flexible Object-Oriented Analysis (OOA) Object-Oriented Analysis focuses on objects and classes. It combines data and functions together. It uses concepts like objects, classes, inheritance, etc. Features: Focus on objects Uses class diagrams Data and functions together More flexible and reusable
Algorithms and logic Input and output details Example: How login validation works step by step.
High-Level Design (HLD) gives the overall structure of the system, whereas Low- Level Design (LLD) provides detailed design of each module. HLD focuses on the big picture of the system, while LLD focuses on small details and internal working. HLD describes main modules and their relationships, whereas LLD explains logic, algorithms, and functions of each module. HLD is less detailed and more general, while LLD is more detailed and technical. HLD is created before LLD, whereas LLD is developed after HLD. HLD is mainly used by system architects and designers, while LLD is used by developers/programmers. HLD includes diagrams like DFD and architecture diagrams, whereas LLD includes flowcharts, pseudocode, and detailed logic. HLD gives an idea of how the system is divided, while LLD shows how each part will work step by step. Conclusion Both HLD and LLD are important. HLD gives the structure, while LLD gives detailed working of the system.
Software design is an important step in software development. It is the process of planning how the software will be built before coding starts. A good design helps in reducing errors and makes the system efficient and easy to maintain. Software design is divided into different phases, which are explained below:
This is the first phase of software design. In this phase, all the requirements of the user are collected and studied carefully. Developers interact with users to understand their needs. Both functional and non-functional requirements are identified. A document called Software Requirement Specification (SRS) is prepared. This phase is very important because if requirements are wrong, the whole system will be affected.
In this phase, the overall structure of the system is created. The system is divided into different modules or components. The relationship between modules is defined. Architecture of the system is decided. Example: Dividing a system into login, payment, database modules. This phase gives a big picture of the system.
In this phase, each module is designed in detail. Algorithms and logic are developed. Data structures are selected. Input and output details are defined. This phase helps programmers to start coding easily.
In this phase, the interaction between user and system is designed. User Interface (UI) like screens, forms, buttons are created. It ensures the system is user-friendly and easy to use. A good interface improves user experience.
In this phase, data storage is planned. Tables, fields, and relationships are defined. Data is organized properly to avoid redundancy. Good database design improves performance and data management.
This is the final phase of software design. The complete design is checked for errors and improvements. Experts review the design to ensure quality. Necessary changes are made before implementation. This phase helps in reducing mistakes before coding starts.
In conclusion, software design phases play a very important role in software development. Each phase helps in building a strong and efficient system. Proper design makes the software easy to develop, maintain, and use. It also reduces cost and time in the long run.
Easy to modify and test Example: If login module works without affecting payment module → Low coupling Advantages of Low Coupling Easy to modify Easy to test Improves flexibility Reduces errors
Cohesion refers to the relationship within a module, whereas Coupling refers to the relationship between different modules. Cohesion shows how closely the functions inside a module are related, while Coupling shows how much one module depends on another. In Cohesion, high cohesion is good, whereas in Coupling, low coupling is good. Cohesion improves the internal quality of a module, while Coupling affects the connection between modules. High cohesion makes a module simple and focused, while low coupling makes modules independent. Cohesion deals with single module design, whereas Coupling deals with interaction between multiple modules.
In conclusion, cohesion and coupling are key factors in software design. A good design always aims for high cohesion and low coupling. This makes the software system more reliable, flexible, and easy to maintain. Proper use of these concepts improves overall software quality. ===============================================
Introduction Testing is an important part of software development. It helps to find errors and improve quality. Two important types of testing are Unit Testing and Integration Testing.
It tests individual components separately Done by developers Helps to find bugs at early stage Usually uses test cases and tools Example If a program has a function to add two numbers, unit testing will check if that function works correctly. Advantages Easy to detect errors Saves time and cost Improves code quality
Unit Testing checks individual units or components of a program, whereas Integration Testing checks combined modules working together. Unit Testing is performed at the lowest level of testing, while Integration Testing is performed at a higher level after unit testing. Unit Testing focuses on the internal logic of the code, whereas Integration Testing focuses on the interaction between different modules. Unit Testing is usually done by developers, while Integration Testing can be done by both developers and testers. Unit Testing is done before combining modules, whereas Integration Testing is done after modules are integrated. In Unit Testing, errors related to logic and function are found, while in Integration Testing, errors related to data flow and interface are found. Unit Testing is simple and easy to perform, whereas Integration Testing is more complex. Unit Testing uses small test cases for each unit, while Integration Testing uses test
Re-engineering optimizes the system so that it works faster and uses fewer resources.
Inventory Analysis In this step, all software systems are studied to decide which ones need re- engineering. Important systems are selected first. Document Restructuring Old or missing documents are updated or rewritten. This helps developers understand the system better. Reverse Engineering The existing system is analyzed to understand its design and working. No changes are made in this step. Code Restructuring The code is improved and simplified without changing its output. This makes it clean and easy to maintain. Data Restructuring Data is reorganized to improve storage and access. It helps in better performance and management. Forward Engineering The system is rebuilt using improved design and modern technology. This results in a better and updated software. Advantages of Software Re-engineering Saves time and cost compared to new development Improves system performance Increases software life Reduces errors and bugs Makes system easier to maintain Disadvantages Sometimes costly for large systems Requires skilled developers Risk of losing important data Conclusion Software re-engineering is very important for updating old systems. It helps to improve performance, reduce cost, and extend the life of software without building a new system from scratch.
Introduction
Software measurement is an important concept in software engineering. It helps in measuring different properties of software such as size, complexity, quality, and performance. Without measurement, it is difficult to manage and improve software development. Definition Software measurement is the process of assigning numerical values to software attributes so that they can be analyzed and improved. Need of Software Measurement For better estimation Software measurement helps in estimating the time, cost, and effort required for a project. By knowing the size and complexity, developers can plan properly. For improving quality Measurement helps in identifying defects and errors in software. By analyzing these values, developers can improve the quality of the product. For project control Managers use measurement to track the progress of the project. It helps in checking whether the project is going on the right path or not. For productivity analysis It helps in measuring the performance of developers. For example, how much work is completed in a given time. Types of Software Measurement (Explained) Size Measurement It measures the size of software using Lines of Code (LOC) or Function Points. Larger size generally means more effort is required. Complexity Measurement It shows how difficult the software is to understand and maintain. Complex software needs more testing and debugging. Quality Measurement It measures reliability, correctness, and performance. High-quality software has fewer errors and better user satisfaction. Cost Measurement It calculates the total cost required to develop the software including resources and manpower. Advantages Helps in better planning and estimation Improves software quality Reduces development cost Helps in decision making Conclusion