Vous êtes sur la page 1sur 2

Hint !

in this exercise you do not have to prepare the computer program, you are just asked to prepare the sample output of the reports (queriew) application program. he following exercises are !ased on the narrative for "mith#s $ideo "hoppe. %eview the narrative carefully !efore completing the exercises. Smiths Video Shoppe "mith#s $ideo "hoppe rents videotapes to customers. &efore customers can check out videos, they must apply for a mem!ership card. he customer completes an application form and gives it to the store manager. he manager creates a new page for the customer in the customer ledger and enters the customer information at the top of the page. he manager then prepares a mem!ership card and gives it to the customer. he customer chooses a tape from one of over '(( titles availa!le, takes it to the cashier, and gives the mem!ership card and the videos to the cashier. he cashier collects the payment and records the rental in the rental ledger. he cashier then makes an entry on the inventory ledger to show that the video has !een checked out, and also makes an entry in the customer ledger to show that the video has !een checked out. )ach tape rented is treated as a separate rental event. hat is, if a customer rents two tapes, there ate two rental events. *ater, the tape is returned in a door slot, he cashier records the return, changes the status of the rent from +open, to +returned,, updates the customer and inventory ledgers, and calculates and records the charges (if any) on the customer#s page. "mith#s $ideo "hoppe is currently implementing a computeri-ed system. he data design using sample data follows. .ssume that the data are complete. hat is, there are only three customers, three titles, five rentals, and two returns. Customer Table
/ustomer0 '(' '(7 '(8 1ame 4oe &rown 4ane "mith *isa *e&lanc .ddress 5airhaven 5all %iver 9artmouth 1um!er2 /hecked23ut ( 7 ' *ate2/harges 6( 6( 6(

Video_Title Table
$ideo2 itle0 7(' 7(7 7(8 itle :one with the ;ind "tar rek .ustin <owers /ategory <: <:='8 % apes23wned 8( '7 '>

Rental_Table
%ental .0 8(' 8(7 8(8 8(@ 9ate2%ented '7?'@?7((> '7?'@?7((> '7?'A?7((> '7?'A?7((> $ideo2 itle0 7(' 7(8 7(' 7(7 /opy0 7' 7 '7 '( /ustomer0 '(' '(8 '(7 '(7 .mount2%eceived 6@.(( 6@.(( 6@.(( 6@.(( "tatus returned returned open open

8(A

'7?'A?7((>

7(8

>

'(8

6@.((

open

Return_Table
$ideo2 itle0 7(' 7(8 /opy0 7' 7 9ate2%eturned '7?'B?7((> '7?'C?7((> *ate2/harges 6(.(( 6(.((

)>. '. 9esign queries to satisfy each of the following information needs D *ist of all videos currently checked out !y 4ane "mith. D *ist of all rentals of $ideo0 7(' during the current year. )>.7. <repare a group event detail report for "mith#s $ideo "hoppe using the sample data and an appropriate format. :roup !y video title. Enclude a total for each group. Four report should include the title of the video. )>.8. <repare an event summary report for "mith#s $ideo "hoppe using the sample data and the appropriate format. Enclude a summary figure for each group and show a grand total at the !ottom. )>.@. <repare a single event report for "mith#s $ideo "hoppe !ased on %ental0 8('. )>.A. <repare a reference list for "mith#s $ideo "hoppe using the sample data and an appropriate format.

Vous aimerez peut-être aussi