Software Engineering (10th Edition)
10th Edition
ISBN: 9780133943030
Author: Ian Sommerville
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
Chapter 4, Problem 4.5E
Program Plan Intro
Given Information:
An unattended petrol pump includes a credit card reader where the customer swipes the card through the reader and then specifies the amount of fuel required. Then the fuel is delivered and the customer’s account is debited. Then the cash-dispensing function in a bank ATM and the spelling-check and correcting function in a word processor.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Draw an ER diagram for the following car sharing system:
In the car sharing system, a CarMatch application has record of anyone who would like
to share his/her car, known as a CarSharer. An Administrator registers all the potential
CarSharers and with their first name, last name, home address, and date of birth. Each
CarSharer is also assigned a unique id. A CarSharer can take policies issued by the
Insurance Company. Each policy has a number, premium, and a start date. A CarSharer
needs to know the start and destination address of each Journey.
Using the technique suggested here, where natural language descriptions are presented in a standard format, write plausible user requirements for the following functions:An unattended petrol (gas) pump system that includes a credit card reader. The customer swipes the card through the reader, then specifies the amount of fuel required. The fuel is delivered and the customer’s account debited. The cash-dispensing function in a bank ATM. In an Internet banking system, a facility that allows customers to transfer funds from one account held with the bank to another account with the same bank.
You are required to use any OOP language(Java or any other) to create programs that contain different types of coupling that is:
1) Content Coupling , 2) Common Coupling, 3) Control Coupling, 4) Stamp Coupling, 5) Data Coupling
. Please insert screenshots of the program and also describe that where and how a particular type of coupling exist in the program.
Chapter 4 Solutions
Software Engineering (10th Edition)
Ch. 4 - Identify and briefly describe four types of...Ch. 4 - Prob. 4.2ECh. 4 - Prob. 4.3ECh. 4 - Prob. 4.4ECh. 4 - Prob. 4.5ECh. 4 - Suggest how an engineer responsible for drawing up...Ch. 4 - Prob. 4.7ECh. 4 - Prob. 4.8ECh. 4 - When emergency changes have to be made to systems,...Ch. 4 - Prob. 4.10E
Knowledge Booster
Similar questions
- Subject: Formal method in software engineering Scenario Note: using Z Notation. You are required to specify the behavior of an ATM for deposit and withdrawal behavior. The ATM contains 3 modules i.e., deposit, withdrawal, and invalid. The notation will specify a function named balance that would be changeable in case of deposit or withdrawal. The amount is a variable that will be updated when the amount is deposited or withdrawn from the account. Status is also a variable that will be true before updating the amount in both modules.arrow_forwardCode in C# Consider the following situation. “The Head of Department of XYZ university allocates duties to members of teaching staff and others at the end of each academic year. One person (Teacher) is assigned to lecture each of the modules which are supposed to be available in the following year. Each teacher updates his/her course outline for the module assigned. The Course coordinator updates other parts of course outline and check the module entries produced by the teachers. The academic officer keeps the master list of all students and updates the mailing list of students taking different modules and send it to the course coordinator. Student provisionally registers for modules. The academic officer checks that every student registered for a reasonable set of modules.” a) Predict the potential classes under the scope of this project? Also explain the reason of assumption. b) Show the purpose and scope of the project as per your own understanding? c) Predict attributes and methods…arrow_forward3) Using the technique suggested here, where natural language descriptions arepresented in a standard format, write probable user requirements for the followingfunctions:ii. An unattended petrol (gas) pump system that includes a credit card reader. Thecustomer swipes the card through the reader then specifies the amount offuel required. The fuel is delivered and the customer’s account debited.arrow_forward
- SCENARIO A manufacturing company produce equipment and sell them. The company needs a system to manage stock operations. It is explained below. Equipments are manufactured by using parts. Name, manufacturing date, current status of manufacturing must be known. Some of the equipments must be tested. We want to define all parts with their name, description and type. Only the defined parts can be bought. Once parts are bought, they are located into shelves in warehouses. Each physical part uniquely identified with number. We want to know when each part is bought. Each bought part may have different warranty period. We have to use the bought part in manufacturing by taking this into account. Warehouses are located in different part of the company. Size, type of the warehouses may be different. Equipments are manufactured for customers. It is needed to know the equipments of customers. Some of the customers pay the transportation cost. Name, address, tax number type of the customer will…arrow_forward#c++# Consider that a system has two entities, Employee and Department. The employee has the following properties: employee name, number, SSN and salary. Similarly, the department has the following properties: department name, department number and a set of employees who are working on that department. Implement the above system taking into account the following requirements: In department, the number of employees that are working on this department is decided at the time when instantiating the department. Assume that emp1 and emp2 are two objects of type Employee, write a code that enables you to write: if (emp1.isequal (emp2)). Where emp1, emp2 are employee objects. The statement is true if the objects have the same salary. In department, make sure no two employees have the same employee number. In department, write a method to increase the salary of an employee by a specific value. it should validate that value. Write a getEmpByEno method in class department that returns a pointer…arrow_forwardA company has several employees, all with different names, who perform interviews with job applicants (one applicant is interviewed by one employee). The job applicants also have different names. The interviewer makes appointments for interviews with the applicants. Each applicant may be interviewed at several occasions, possibly by different interviewers, but in that case the interviews take place during different days. The company has special interview rooms. Each interviewer uses the same room for all interviews during a day. A room may, however, be used by different interviewers during a day, as long as the interviews don't collide in time. The reservation of interview appointments is to be computerized. The database devel- oper has decided to use a single relation for all data, with the following schema: Interviews(interviewer, applicant, day, time, room) a) From the text, find functional dependencies in the relation. b) Find the keys of the relation. c) Show that the relation is…arrow_forward
- A company hires out tools and equipment to customers and requires a computerized system to record details of bookings. The customer appears at the reception desk and ask if there is an item available for immediate hire. When dealing with a booking or allocating an available item to a customer, the receptionist has to check whether the customer has previously hired equipment from the company or is a new customer. For a new customer, the receptionist has to enter the customer's details. Otherwise, the receptionist has to retrieve the existing customer's record and update any details if necessary. If the item is available then the customer can get it, otherwise, the receptionist might suggest other alternatives. If the alternative is accepted, then the receptionist allocates the tool and updated the customer record. Draw an activity diagram that models the data processing of hiring.arrow_forwardFrom you Object Oriented Programming techniques using C++ programming language You are requested to perform a Bank Automation by using 1. Adding New Customer; make a bank account assignment income. The same number cannot be used by other consumers. also There are 2 types of customers with different privileges. customers; corporate client or people can be. 2. Opening an Account; • There can be more than one higher level. • A separate account must be made for his account. same account model should not be given to more customers. 3. Transfer Money; The customer, by entering the relevant information, balances the balance of a certain amount. additional if the operation is not yet performed. money transferred login account will increase, money will increase from sender login. 4. Making Payment; If the customer is going to deposit money (electricity, water, natural gas bill, etc.) relevant information will have a balance equal to the amount entered and deposited. 7. Statement of Account; The…arrow_forwardNeed help with a UML class diagram. The system will include the following: - offers governmental services (similar to service Quebec) - keep track of all different branches for services being offered: branch has address, date the branch entered into service, opening and closing time - different branches can offer different services: one branch offers service for only health card while the other offers service for health card, license plate renewal, and other services - several employees working at the branches, with every branch having one manager: two type of employees must be supported by the branch - managers who can manage only one branch and supervise other employees, and regular employees without supervision role - applicant: to submit a service request in order to receive a service - provide name, email address, phone number, request type, supporting documents - submit the service request in person at one of the branches to attain the service Please create a UML class diagram…arrow_forward
- Curry Yum-Case StudyYou have been asked to develop a system for a local Thai food takeaway shop Curry Yum. The systemshould allow customers to order their Thai curries over the internet and collect them (and pay) at theshop. Customers do not register with the system but they do need to supply a contact phone number.A Curry has a price derived from its size, type (red, green, or yellow) and protein. A Curry has only oneprotein (chicken, beef, pork, tofu or prawn). Each type of protein has a different price. Customers haveOrders and each Order is for one Customer. An Order consists of a number Items, and has a collectiontime. An Item is a Curry, Rice or a Drink. To place an order the customer must supply a contact phonenumber and name. When the order is submitted the customer receives a confirmation message alongwith the final cost of the order and a collection time. The system calculates the collection time based onthe number of orders currently being processed and the average time to…arrow_forwardSoftware Engineering Question: Consider an online shopping portal that allows a customer to browse and purchase different products. The products are arranged under different categories like Books, Computers, and Electronics, etc. Only a registered customer can order a product from this portal. Each registered customer will have his own shopping cart. He can view, add or remove products in his shopping cart and view his total bill. The final cart is submitted for payment and details like shipment address are confirmed by the customer. The customer is confirmed with a shipment id and delivery of goods within 15 days. Once the customer finishes selecting the product/s, he can view the cart and then place the order by providing details like postal address, number of items, etc. The website is managed by an Administrator. An administrator can add, remove and update categories, products under each category, their price, and quantity. He can also remove or verify the customer. The project…arrow_forwardThe National Bank of Erehwon handles money and maintains bank accounts on behalf of clients. A client is a person who does business with the bank. A client may have any number of accounts, and an account may belong to multiple clients (e.g., spouses, business partners). The client record is used for identification and contact data. For each account, the bank maintains the current balance on hand. Clients are identified by a five digit number starting with 10001. Accounts are identified by a seven digit number starting with 1000001. When an account is first opened, its balance is set to zero. During the course of day-to-day business, Erehwon Bank applies transactions to accounts, including deposits, withdrawals, bill payments, and debit purchases or returns. For each transaction, the date and time, amount, and account are recorded, along with reference data applicable to that type of transaction: Deposits and withdrawals require the branch number to be recorded.…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education