JOHDATUS TIETOJÄRJESTELMIEN Vastauspaperiin SUUNNITTELUUN - nimi täydellisenä 81339A, 5op - henkilötunnus 1527.05.2006 - laitos/osasto - tentin nimi 1. Tee seuraavaa videovuokraamon toiminnan kuvausta vastaava työnkulkukaavio (jos teet lisäoletuksia, kerro ne tekstimuotoisesti). Asiakas hakee asiakaskorttia täyttämällä asiakatietokaavakkeen. Myyjä tarkistaa hänen antamat tiedot asiakkaan henkilökortista, tallentaa tiedot Asiakastietoihin ja tulostaa asiakkaalle asiakaskortin. Asiakas voi etsiä videoita selaamalla hyllyillä olevia kasettikoteloita tai pyytää myyjää tarkistamaan Videotiedoista (videotietokannasta) onko liikkeessä asiakkaan haluamaa videota ja onko se vapaana. Jos video löytyy, myyjä etsii kyseisen videon kasettikotelon ja antaa sen asiakkaalle tutustuttavaksi. Asiakas vuokraa videon antamalla haluamiensa videoiden kasettikotelot myyjälle. Myyjä etsii asiakkaan haluamat videokasetit varastosta ja laitaa ne koteloihin ja antaa ne asiakkaalle. Asiakas maksaa vuokraamansa videot ja saa kuitin. Maksu voi tapahtua käteisellä tai pankkikortilla. Vuokrauksen yhteydessä päivitetään Videotietoja, Asiakastietoja ja Vuokraustapahtumatietoja. Asiakas voi palauttaa videon joko suoraan myyjälle, jos videovuokraamo on auki, tai postilaatikkoon, jos liike on suljettu. Kun asiakas palauttaa vuokraamansa videon, tarkistetaan Vuokraustapahtumatiedoista, ettei palautus ole myöhässä. Jos palautus on myöhässä asiakasta laskutetaan välittömästi (jos paikalla) tai Asiakatietoihin lisätään sakkomaksu, joka peritään, kun asiakas vuokraa seuraavan kerran videon. Myyjä tyhjentää palautuspostilaatikon aamuisin, kun avaa liikkeen. Kerran kuukaudessa tutkitaan Asiakastiedoista ketkä asiakkaat ovat edellisen kuukauden aikana vuokranneet enemmän kuin bonusrajan arvosta. Tällä hetkellä bonusraja on 30 euroa. Niille, jotka ovat vuokranneet enemmän kuin bonusraja, toimitetaan kirje, jossa kiitetään asiakkuudesta ja tehdään bonustarjouksia kyseisille asiakkaille. 2. Tee seuraavaa kuvausta vastaava entiteetti-relaatio-kaavio (ER-kaavio) tai vastaava luokkakaavio (jos teet lisäoletuksia, kerro ne tekstimuotoisesti) Asiakkaasta on seuravat perustiedot: nimi, henkilötunnus, osoite, menneillään olevan kuukauden saldo, edellisen kuukauden saldo, menneillään olevan vuoden saldo, edellisen vuoden saldo, myöhästymissakkojen saldo.
Myyjistä on seuraavat tiedot: nimi, henkilötunnus, osoite, työsuhteen alkamispäivämäärä. Asiakaskortti: Asiakkaalla voi olla ainoastaan yksi asiakaskortti samanaikaisesti. Asiakaskortti on henkilökohtainen. Kortista on seuraavat tiedot: Kortin tunnus (= asiakastunnus) ja kortin luontipäivämäärä. Videoista on seuravat perustiedot: videon nimi, kuinka monta kopiota (kasettia) videosta, kuinka monta lainausta menneillään olevan kuukauden aikana, kuinka monta lainausta edellisten 12 kuukauden aikana (erikseen joka kuukausi), kuinka monta lainausta kaikkiaan kyseisestä videosta. Ohjaajat ja näyttelijät. Kustakin videosta voidaan tallentaa tiedot sen ohjaajasta tai ohjaajista (jos useita), samoin keskeisistä näyttelijöistä. Ohjaajista ja näyttelijöistä on seuraavat tiedot: nimi, kuinka monta lainausta edellisten 12 kuukauden aikana (yhteensä), kuinka monta lainausta kaikkiaan, jossa kyseinen ohjaaja tai näyttelijä on mukana. Kustakin videokopiosta (kasetista) on seuraava tiedot: tunnus, hankintapäivämäärä. Asiakkaalla vuokralla olevista videoista/kopioista on tieto lainausajasta ja palautuspäivästä. Kassatapahtumista on seuraavat tiedot: Maksaja (asiakas), myyjä, summa, tapahtuma-aika. 3. Tee seuraavaa kuvausta vastaava tietovirta (Data Flow kaavio) (jos teet lisäoletuksia, kerro ne tekstimuotoisesti) Lainauksessa tarvitaan tieto lainattavista videokopioista (niiden tunnus), asiakkaasta (asiakastunnus). Lainauksen yhteydessä päivitetään Asiakastietoja, Videotietoja, Vuokraustapahtumatietoja, Ohjaaja- ja näyttelijätietoja sekä Kassatapahtumatietoja. Asiakkaalle tuotetaan kuitti. Videoiden palautuksessa tarvitaan tieto palautettavasta kopiosta (sen tunnus). Asiakastieto löytyy Vuokraustapahtumatiedoista. Kopio/kasetti merkitään palautetuksi. Jos palautus tapahtuu myöhässä, laskutetaan asiakkaalta suoraan tai lisätään sakko Asiakastietoihin. Jos asiakas maksaa välittömästi, tuotetaan kuitti ja päivitetään Kassatapahtumatietoja. Haluttaessa voidaan tulostaa raportti Ohjaaja- ja näyttelijätiedoista, josta käy ilmi kuinka paljon kyseisen ohjaajan tai näyttelijän ohjaamia tai näyttelemiä videoita on lainattu. Raportti voi koskea yhtä ohjaajaa/näyttelijää, heidän valittua joukkoa, tai se voi olla lista kaikista ohjaajista/näyttelijöistä, jotka löytyvät Ohjaaja- ja näyttelijätiedoista.
4. Millaisista asioista koostuu sisällöllistoiminnallisen määrittelyn laatu? 5. Millaisia käyttöönottotapoja tai strategioita on olemassa, joiden avulla voidaan siirtyä uuden järjestelmän käyttöön? Millaisia tekijöitä on syytä ottaa huomioon niitä arvioitaessa? Tarkistamme tentin 30.05.2006 mennessä Juhani Iivari, Mika Koivuluoma ja Sari Tuovila Hyvää tenttimenestystä!
INTRODUCTION TO INFORMATION Please, write SYSTEMS DESIGN - your complete name 81339A, 5cu - PIN 1527.05.2006 - department - name of course and date 1. Please, document graphically the following workflow/activity describing a video rental shop (if you make additional assumptions, tell about them): A customer applies for a video rental card by completing a customer information form. A clerk checks the information the customer has given from the personal identification card of the customer, and registers the customer information into Customer information and prints the customer card. A customer can browse videos (or more exactly cassette covers) on the shelves or ask a clerk to search from the Video information whether the shop has a specific video and weather there is a free copy for rental. If the copy is available, the clerk picks up the cover of the desired video and gives it to the customer. A customer gives the videos cassette covers he/she likes to rent to a clerk. The clerk picks up the corresponding video cassettes from the inventory and inserts them into the right covers and gives them to the customer. The customer pays in cash or using a bankcard and gets the receipt. This rental transaction updates Customer information, Video information and Rental transaction information. A customer can return the video he/she has rented directly to a clerk, if the rental shop is open, or to a mailbox. A clerk checks the mailbox when he/she opens the shop in the morning. When a customer returns the video, the clerk checks whether the return is late. If late, the customer is billed immediately (if on the spot), or the late fee is added to Customer information and billed when the customer rents next time. Once a month, Customer information is examined for customers who have rented more than the monthly bonus (currently 30 euros). A letter is printed for these customers. The letter makes special offers to the customers. INSTRUCTION: Use activity diagram or dataflow diagram to document. If you use dataflow, modify it so that you distinguish material flow and information flow (describe material flows by thicker arrows). Similarly distinguish material store and information store. Identify also those who perform the processes/activities etc. as vertical columns ( swim lanes ).
2. Please, draw an Entity-Relationship (ER) diagram (or a class diagram) that corresponds to the following description (if you make additional assumptions, tell about them): There is the following information about each customer: name, PIN, address, value of rentals during the ongoing month, value of rentals during the previous month, value of rentals during the ongoing year, value of rentals during the previous year, balance of late fees. There is the following information about each clerk: name, PIN, address, date of hiring. A customer can have only one video rental card at a time from that specific rental shop. The card is personal. The card includes the following information: identification number (= customer identification number) and date of printing of the card. There is the following information from each video: title of video, number of copies (cassettes), number of rentals during the ongoing month, numbers of rentals during 12 previous months (each separately), total number of rentals. It is also possible to register information about the directors and actors/actresses of each video. There is the following information about each director/actor/actress: Name, number of rentals during the previous 12 months, total number of rentals (of videos in which the director/actor/actress has been involved). There is the following information about each video copy (cassette): identification number, date of acquisition. There is the following information about video copies (casettes) currently rented to customers: date of rental, date of return. There is the following information about Cash transactions: Customer, clerk, amount, transaction time. 3. Draw a dataflow diagram corresponding to the description below (if you make additional assumptions, tell about them): The process Rent video items requires the following information: identification numbers of the video copies to be rented, customer identification number. The process updates the following: Customer information, Video information, Rental transaction information, Director/actor/actress information, and Cash transaction information. The process outputs a receipt to the customer. The process Check in customer video return requires the following information: identification number of the copies returned (corresponding customer identification number can be found from Rental transaction information ). Rental trans-
action information is updated to show that the copy/cassette has been returned. If the return is late, the process outputs the bill or the late fee is added to Customer information (balance of late fees) When desired it is possible to print a report from Director/actor/ actress information. The report shows the number of rentals of videos in which the director/ actor/actress is involved. The report may concern one director/actor/ actress, a set of directors/actors/ actresses or list all the directors/actors/ actresses in the Director/actor/ actress information database. 4. What aspects are included in the quality of requirements and requiremnet statements? 5. What alternative installation strategies are you able to identify? What factors should one consider when deciding about the strategies to be applied. The exam will be marked by 30.05.2006 Juhani Iivari, Mika Koivuluoma ja Sari Tuovila Good luck!