1 Jukebox Objects. 2 Outline  Design a solution as a set of candidate objects with well-defined responsibilities — Compare your objects to Rick’s  Role.

Slides:



Advertisements
Similar presentations
Usability Test on How to Copy and Burn a CD By: Rachel Steffenhagen.
Advertisements

NexSentry Imaging Solutions
What Are the Functions of ATM Machines?
Module 2.4 Workforce Transition Planning and Tool March
Sound Situation Formats and Foundations. Cassette Tapes Introduced by the Music Industry.
Royalty Free Music for Schools Do You Have the To Do a Podcast?
© Dolinski This presentation will help you with the database section of your coursework. It will cover: – What you need to do.
V | © OverDrive, Inc | Page 1 Browse, Check Out, Download! Learn how to browse, check out, and download digital titles from [YOUR LIBRARY]
Debit Card Plastic card that looks like a credit card
Informative Speech Communications 2002 Choosing a Topic w Something that you are interested in. w You want to TEACH or INFORM your audience. w Not too.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 6 Advanced Data Modeling.
Database Systems: Design, Implementation, and Management Tenth Edition
Teens 2 lesson six using banking services presentation slides 04/09.
Computer Learning Ph.D. Candidate Department of Electrical and Computing Engineering University of Delaware Instructor: Jonghyun Kim 6 (Beginning Level)
FINANCIAL SOCCER Module 3 Credit, debit and prepaid cards Collect a quiz and worksheet from your teacher.
Online banking Using the internet for your banking.
By: Christina Musantry
CS for IT Support Staff CIT Conference. Welcome to… Campus Solutions for IT Support Staff.
This button will automatically take you to the beginning of the slideshow. This button will take you to the previous slide. This button will take you to.
Spring 2008Created by Olivia Kepler - The Academy Movie Maker How-To You can either walk through this step by step or click on the links to take you to.
Go to our website, and click on the eMedia Catalog link To find books, either click on the advanced search (which I will.
Downloadable Audiobooks  Listen Anywhere  24/7 Access  Great Selection.
Free Digital Music Mikaylla Brown. Economics of the Music Industry An average user of free, ad- supported streaming services generates revenue of around.
DEBIT CARD, CREDIT CARD & SMART CARD
Session 5 Select the best solution. Step #4: Select the best solution Once a variety of possible solutions have been identified the best solution should.
Database Types of database programs Charles w. Bachman Well- Designed Databases Database Management Systems Types of database programs Daabase Techniques.
{ MUSIC APPS PROJECT BY JERELINE WEAH Digital music 9/17/14.
RFID Editing and setup. Collect your content and organise it how you want it to be viewed and save it somewhere so you can find it easily. (Media formats.
Accessing videos in the EBSCO database. The first step to getting to the Secondary Library/Media Center Pages is to click on Academics.
13-1 Computing Fundamentals with C++ Object-Oriented Programming and Design, 2nd Edition Rick Mercer Franklin, Beedle & Associates, 1999 ISBN
The Recording Industry Week 4. THE RISE OF RECORDS As late as 1880 or 1890, people growing up in a middle-class U.S. household had no recorded music in.
A Quick Guide To Using iTunes Thi Nguyen Ruth Limberg Colin Smith.
May be reproduced for classroom use. © Classroom Connect Computer Parts and Vocabulary.
1 Responsibility Driven Design Responsibility Driven Design, Rebecca Wirfs Brock, 1990 The Coffee Machine Design Problem, Alistair Cockburn, C/C++ User's.
General Awareness Training Security Awareness Module 3 Take Action! Where To Go for Help.
F / A / M / E Fine Arts Ministry Evangelism PRODUCTIONS.
USE CASE Bayu Adhi Tama, MTI Faculty of Computer Science, University of Sriwijaya Slides are adapted from Petrus Mursanto
Graphing Inequalities in Two Variables 12-6 Learn to graph inequalities on the coordinate plane.
Chapter 8 Data Modeling Advanced Concepts Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition.
1 Responsibility Driven Design Responsibility Driven Design, Rebecca Wirfs Brock, 1990 The Coffee Machine Design Problem, Alistair Cockburn, C/C++ User's.
1-1 User Stories Much taken from User Stories Applied: For Agile Software Development Mike Cohn Mountain Goat Software.
What is it called? What is the name of each computer part? See if you can name them all. Amy O’Dell © MCBOE.
Music Appreciation Project Add your own information where you see RED. Delete the instructions in the final project. You can change the format or theme,
1 By Rick Mercer with help from Object-Oriented Design Heuristics, Arthur Riel Relationships amongst Objects.
How to get the most out of this digital media player in Education.
1 By Rick Mercer with help from Object-Oriented Design Heuristics, Arthur Riel Coupling / Cohesion.
Real Audio Real audio is a file format for sound and video files on the web. Real Audio files are files with either a.rm or.ram extention. Real Audio format.
Welcome to Lehigh Valley Health Network The files included are orientation materials that must be read and completed prior to any student experience at.
PowerPoint presentation title Presenter’s name and date Put a visual here.
Outline Derive some user stories for next Project
By Tom and James. Hardware is a physical part of the system that you can pick up and move. There are two types of hardware, external and internal. External.
Web Databases Vast information provider. Offers information about jobs, photos, movies, weather, sporting events, etc. Shop for any product/service, buy/sell.
© 2003 SOUTH-WESTERN PUBLISHINGCHAPTER 1Slide 1 CHAPTER 1 LEARNING ABOUT WORK 1.1 Why People Work 1.2 Work Experience Education LESSONS.
®® Microsoft Windows 7 Windows Tutorial 7 Managing Multimedia Files.
1 Object-Oriented Static Modeling of the Banking System - III Lecture # 33.
Usage Guidelines for Jeopardy PowerPoint Game Game Setup Right now, Click File > Save As, and save this template with a different file name. This will.
Maria Gabriela Yobal de Anda L#32 9B HARDWARE. List five input devices and three output devices that might be attached to a PC. Describe a typical use.
GloveFX Patent Liability Ryan DeFord Fred Grandlienard Kevin Mohr Andrew Gregor.
  Computer Fundamentals Training   Windows 8 Intermediate.
What is the RowanCard? The RowanCard is your official Rowan University ID. It is used for identification purposes, door access, meal plans, and other monetary.
Using Amazon mp3 files for Storytime Themes
Was launched at St Thomas’ and has been a great success…
Relationships amongst Objects
The CPU is the brain of the computer
Welcome to Lehigh Valley Health Network
Outline Derive some user stories for next Project
Video Accessibility Part 1
Jag Life Tutorial.
Redo Super Computer Due date: Wednesday, September 22nd / Friday, September 27th & 28th In addition, to your Music Word Project, you will create a PowerPoint.
(Write your question here) (Choose Type 1, Type 2, or Picture)
Presentation transcript:

1 Jukebox Objects

2 Outline  Design a solution as a set of candidate objects with well-defined responsibilities — Compare your objects to Rick’s  Role play — To understand responsibilities of objects, at least in one design

3 The student affairs office want to put some newfound activity fee funds toward a Jukebox in the student center. The Jukebox must allow students to play a song. No money will be required. Instead, a student will swipe a magnetic ID card through a card reader, view the song collection and choose a song. Students will each be allowed to play up to 1500 minutes worth of "free" Jukebox music in their academic careers, but never more than two songs on any given date. No song can be played more than five times a day*. *What a drag it would be to hear "Dancing Queen" 14 times while eating lunch ( apologies to ABBA) Find the objects

4 Yesses? Song: Know song title, artist, playtime, how often it's been played today, the audio file name SongCollection: Stores all songs so they can be viewed and get one selected JukeboxAccount: changed from Student : maintain one account: model user who play songs, knows time remaining and songs played today, password JukeboxAccount: Stores all student accounts

5 Yesses? Jukebox : coordinates activities one instance to start things and keep them going CardReader : reads the magnetic ID card (could be replaced by JTextField and JPassword input

6 A No StudentIdCard : store user data Object-Oriented Design Guideline Eliminate classes that are outside the system — The hallmark of such a class is one whose only importance to the system is the data contained in it. — Student identification number is of great importance — The system should not care whether the ID number was read from a swiped magnetic ID card, typed in at the keyboard, or "if a squirrel arrived carrying it in his mouth" Arthur Reil

7 More Candidate Objects?  Use a compact disk player or real Jukebox?  Could we instead have a software equivalent like SongPlayer to play audio files?

8 Date Date : Can determine when a song is played and the current date. — Maybe, if you want to write your own — Can we use use java.util.GregorianCalendar?

9 Another No? StereoSystem : Amplifies the music — No, it's on the other side what we have to build  The next slide summarizes some needed candidate objects — It also sets the boundaries of the system There are model of the real world objects

10 Candidate Objects and the system boundary Rick drew this in 1995, before UML existed, can’t change it now CardReader Gets student ID JukeboxAccountCollection Stores all JukeboxAccount objects JukeBox Coordinates activities SongPlayer Plays a song SongCollection Stores all Songs that can be played JukeboxAccount Song

11 Others? Others?  PlayList?  SongSelector?