This action might not be possible to undo. Are you sure you want to continue?
). Only teachers are allowed to make reservat ions (subject to availability of the room or equipment). The schedule for its ro oms can be accessed by everyone (teachers and students). For cons, the summary s chedule for every teacher (calculated from the room schedules) can be accessed b y teachers. Finally, there is one teacher for each course manager who can only e dit the summary schedule for the entire training. Model this situation by a use case diagram See schedule User Room See teaching schedule Recap Room Reservation Booking Teacher <<include>> Book Equipment Check availability Training Manager Book Video Book Mobile Post Training Recap 1 2) As part of a research project in viticulture, it is desired to collect the ti me to work on pilot farms, working in particular on plant operations. To do this , a glossary of cultural operations types has been established (so that everyone has the same framework). Constraints have emerged strong enough on the project: farmworkers pilot farms have no access to information tools and the cumbersome registration work time has therefore been ruled out the use of a computer. The f ollowing procedure has been defined: each farm worker takes his time to work on a book pre-defined format. (In this book, he can consult the glossary in the app endices to identify the cultural operation type). Nb: for plant type operations, further information is required: list of diseases covered, phenological stage, methods of treatment and observation. At the end of the month, the manager check s the seizure of the notebook and makes any necessary corrections. It then enter s the operations of the month on a web application connected to a database. The researcher in charge of the project will automatically receive an email that tel ls it that the seizure was carried out monthly. After checking the appropriatene ss of the seizure, he shall notify the manager that everything went well and tha t the data contained in the database are valid and ready to be exploited. The ma nager then prints two records over the past month: - Monthly Report of work for each employee (which is distributed to every employee) - the status of plant ope rations (state Terravita) At year end, the researcher analyzes all transactions entered and write a general summary of the work time in different farms. This su mmary is then forwarded to all managers. 2 Example of a monthly statement: Example print Terravita:
3 Entering BDD <<include>> Possible correction Identification Check specifications before Chief Operating State Terravita Notification before ok Checking data entry operation BDD Agricultural Worker <<extend>> Correction BDD data Consultation glossary Researcher Operation Other plant operation Editorial Summary Analysis results 4 Brief seizure Month End AGRICULTURAL WORKERS time before any correction work Che cking CHIEF OPERATING State plant BDD RESEARCHER Input Checking Mail Notification Fix input check ok Film Monthly Impression Transmission Year End Analysis Writing Transmission Summary 5 0 ..* PERSON - person Code: int - Name person: varchar (50) - First Person: varc har (50) 1 .. 1 person Function - Function code: varchar (5) - Name Service: var char (50) + Edit monthly (): int 1 .. 1 1 ..* 0 ..* 0 ..* 1 ..* 1 .. 1 Operation - operation Code: varchar (5) - Operating Nam e: varchar (50) + Edit state Terravita (): int 1 .. 1 0 ..* PLOTS - Parcel Code: varchar (5) - Parcel name: varchar (50) Response - No response: number - Date a ction: Date - # of hours: number + post form action (): int 0 ..*
Intervention phyto 0 ..* 0 ..* DISEASES - Code illness: varchar (5) - Label dise ase: varchar (50) 0 ..* 1 .. 1 .. 1 1 OPERATION Phenological stage - stage Code: varchar (5) - Stage Name: varchar (50) - Operation Code: varchar (5) - Label Op eration: varchar (50) - Observation plant: application 6 3) In a store, the sales process is as follows: the customer enters, goes on the shelves, request any additional information or conduct tests,taking items (if stock is sufficient), goes to the box where it adjusts its purchases (with any f orm of payment accepted). He may be eligible for a discount. Model this situatio n by a use case diagram <<extend>> Prospecting Inform <<extend>> Vendor Try <<extend>> Check Stock Customer <<include>> Buy <<include>> Pay <<extend>> Fund Pay CB Benefit reduction Pay check Pay cash Group banks 7 4) Consider the following system of management of an ATM (automatic cash dispens er) - the dealer issuing money to every holder of credit card (Visa Card or bank ) - for bank customers It allows: o account balance inquiry o money deposit (che ck or cash) - all transactions are secure and therefore requires authentication - where a card is swallowed by the distributor, a maintenance operator undertake s to recover. The same person who also collects cash deposits and reloads the di spenser. Model this situation by a use case diagram IF Management CB Porter visa Remove money with visa <<include>> Login <<include> > Remove money <<include>> <<include>> Consult balance bank SI Customer Bank Deposit Money Deposit cash Reload DAB Submit checks Get maps swallowed Opératuer maintenance Retrieve check 8
5) In a store, a trader has a system for managing stock of items, such features are: - Editing the form of a provider - Possibility of adding a new article (in this If the supplier is automatically edited form. If the provider does not exis t, then we can create it) - Edition of the inventory. From this screen you have the choice to print the inventory, to delete an article or edit the product desc ription). Model this situation by a use case diagram Print Inventory <<extend>> View Inventory <<extend>> Erasing Article <<extend>> Edit item <<extend>> Trader Publishing Provider <<include>> Adding vendor Add article <<extend>> 9 6) The normal use of a fund supermarket is the following: • A customer arrives a t checkout with items to pay the cashier • records the identification number of each item and the quantity if • greater than 1 shows the cash price of each item and its wording • when all purchases are recorded, the cashier points to the en d of sale displays • the Fund the total purchases • the cashier announces the cu stomer the total amount • pay the customer selects the payment method o liquid c ash the cashier the money, the fund said the amount to make the client check o: the cashier says the number of client ID No credit card application Authorizatio n is sent before entering the box • saves and prints sales • cashier gives the r eceipt to the customer Modeling this situation using a sequence diagram by takin g into account that the case of payment in cash. Fund Cashier deposit items Customer Input section (number and quantity) for each item price and description Price an d description End Total Total Sales Total payable Liquid Enter amount To make To make
Currency Ticket Ticket 10 7) The normal use of an ATM is the following: • The customer inserts his card • machine then checks the validity of the card and request the code to the client • if the code is correct, it sends a request for authorization to levy the group of banks. This returns the pay authorized to be taken. • The dealer then offers several amounts to be taken • the customer enters the amount to be withdrawn af ter • Control over the balance amount authorized distributor demand if the clien t wants a ticket • After the client's response, the card is ejected and retrieve d by the client • tickets are then issued (and ticket) • the client finally gets the tickets and the ticket Modeling this situation using a sequence diagram by taking into account that if any goes well. NB: we will identify the scenarios th at can cause problems by including comments in the diagram DAB Cardholder Group of banks Card Introduction See if invalid card check card Application Code Enter value code See if wrong code Verification code Request Permission permission balance Request amount withdrawal See if withdrawal value input control mounted requested amount requested> balanc e ticket request ok See if denied ticket See case card ejection card not issued Recovery card ejection ticket and ticket récpération tickets and tickets See if tickets not included 11 8) It wants to manage the various objects that contribute to the activity of a s tore selling flowers. • The client requests information from the vendor informat ion on the floral arrangements • The vendor shall provide all necessary informat ion • The client then controls the composition of their choice and gives the sel ler the right to manufacture and transmit it to his workman florist. • The vendo r then publishes the invoice. • The worker florist creates the composition and a rchive good manufacturing • He then delivers the composition to the seller • The invoice is delivered to the customer for payment once carried a bouquet • Once
paid bill the client retrieves its composition and leaves store. Model this situ ation using a sequence diagram and a collaboration diagram. Customer Seller Worker Request Information Provide information Create Order Good manufacturing Edit Transmit invoice printing invoice Composition Create Arc hive Bill delivery invoice remit back pay package 12 bill 7: Print 1: Application Information 2: Provide information 4: Create 3: Order 11 : 12 hand bouquet: submit invoice 6: Edit Good manufacturing Customer 13: adjust invoice Seller 10: Deliver 5: Forward 9: Archive Composition 8: create Ouvri st 13 9) Let the following sentences: • A directory contains files • A room contains w alls • modems and keyboards are peripheral input / output • A stock transaction is a purchase or sale • A bank account can belong to a natural person or legal e ntity Develop class diagrams corresponding choosing the type of relationship app ropriate Exhibit Directory Contain 1 .. 1 0 ..* 1 ..* 1 ..* call Wall File
Peripheral Stock transaction Buy Modem Keyboard Sale Bank Account 1 ..* Belonging 1 .. 1 Customer Corporation Natural person Note: For the bank, it could also have associations between two model "bank acco unt" and "individual" and "corporation" to include an exclusion constraint. 14 10 °) An academy wishes to manage the courses in several colleges. For this, we have the following information: • Each college has a website • Each college is o rganized into departments, each of which include specific teachers. Among these teachers, one of them is responsible for the department. • A teacher is defined by its full name, phone, mail, date of taking office and its index. • Each teach er will teach only one subject. • The following students for their various subje cts and receive a grade for each. • For each student, we want to manage their fu ll name, phone, mail, and its year of entry to college. • A subject can be taugh t by several teachers, but has always held in the same classroom (each with a nu mber of places determined). • We want to calculate the average per subject and p er department • It also wants to calculate the overall average of a student to v iew the materials in which it has not been rated • Finally, we must be able to p rint the MSDS ( , name, phone, email) of a teacher or a student. Build the corre sponding class diagram. To simplify the exercise, we limit the diagram to a sing le year of study COLLEGE DEPARTMENT department code name code name address college site 1 ..* 1 . . 1 Building Belonging Calculate + average (): void 0 .. 1 1 .. 1 No person name as mail + forename View MSDS (): void PERSON Being Chief 1 .. 1 1 ..* inauguration date TEACHER STUDENT Year Index entry Calculate + average (): void + Show matte without notes (): void 0 ..* 1 ..* Track 1 ..* 1 .. 1 COURSE Teaching course no language courses Calculate + average (): void 0 ..* NOTE Unroll 1 .. 1 ROOM no capacity rating co ntrol room name 15 11 °) We want to manage the bookings of flights in an agency. Based on interview
s with members of the agency, we know that: • The airlines offer various flights • A flight is open for booking and closed on the orders of the company • A cust omer can book a flight or more,for different passengers • A reservation for one flight and one passenger • A reservation can be confirmed or revoked • A flight has a departure and an arrival • One flight a day and time of departure, and on e day and one hour of arrival • A flight may include stopovers in one or more ai rport (s) • A call has a departure time and arrival time • Each airport serves o ne or more cities From the elements are provided above, create the class diagram (by adding any attribute that you think is relevant and has not been described above). 16 Airline Code + Co.: char + Co. Name: char 1 .. ame: ..* eric 1 1 ..* 0 ..* Manage 1 .. 1 + no airport departure airport: int + Airport N tank cover 1 .. 1 0 ..* 0 ..* call on arrival 0 ..* 0 Re ..* 1 .. 1 0 ..* 0 + Make Reservation Number: + Long Date: Relates 0 ..* + + + + Flight No Gen Generic day hour flight arrival departure hours:::: int date date date
1 .. 1 describe 0 ..* Vol: int + + No flight departure dates: Arrival date + date: date + Calculate duration (): void desert STOP + start time: date + time of arrival: No date + stop: int 1 ..* + City No City: int + City Name: charhar + Calculate duration (): void individual + + + + + + No individual Name Name Address City Postal Code:::::: lo ng char char char char char 1 .. 1 passenger + passenger Code: int + nb points: int 1 .. 1 Client + Client code: char 17
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.