×

### Let's log you in.

or

Don't have a StudySoup account? Create one here!

×

### Create a StudySoup account

#### Be part of our community, it's free to join!

or

##### By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here

by: Aliyah Boyer

6

0

9

# Program Cis Majors 2 CIS 3023

Aliyah Boyer
UF
GPA 3.58

Staff

These notes were just uploaded, and will be ready to view shortly.

Purchase these notes here, or revisit this page.

Either way, we'll remind you when they're ready :)

Get a free preview of these Notes, just enter your email below.

×
Unlock Preview

### Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

COURSE
PROF.
Staff
TYPE
Class Notes
PAGES
9
WORDS
KARMA
25 ?

## Popular in Comm Sciences and Disorders

This 9 page Class Notes was uploaded by Aliyah Boyer on Friday September 18, 2015. The Class Notes belongs to CIS 3023 at University of Florida taught by Staff in Fall. Since its upload, it has received 6 views. For similar materials see /class/207037/cis-3023-university-of-florida in Comm Sciences and Disorders at University of Florida.

×

## Reviews for Program Cis Majors 2

×

×

### What is Karma?

#### You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 09/18/15
Analysis Inputs 0 Number of cars on the lot Number of employees working Number of used cars bought Number of cars brought in for repair Cost of total repair Cost newused car Boolean value for open close Schedule of employee Outputs Pro t from salesmaintenance Schedule of employee Is the dealership open or closed Number of cars sold newused Dealership Expenses of repair Number of cars xed in maintenance Constraints If there are no cars on the lot a car cannot be purchased A used car cannot be bought ifthe lot is full Maximum number of cars allowed on a lot Maximum Minimum number of employees working cannot have more cars xed in maintenance than what was brought in Assumptions The number of workers is enough to run the dealership The cars are all in working condition If the dealership is opened it cannot be closed If the dealership is closed it cannot be opened That a customer wants either a new or used car but doesn t want both That a customer only wants one car Relationships Used and new Cars are subclasses of Cars and sales mp1 J are 39 39 ofEmployee I 111111 J Design Class Dealership Properties newCars NewCar usedCars UsedCar salesEmp SalesEmp mainEmp MaintenanceEmp cust Customer numCars int numCarEmps Static int Methods sellCarcust Customer car Cars salesEmp SalesEmp return priceof deduct money from customer increment numOfCarsSold cust chooseCar repairCarcust Customer car Cars mainEmp MaintenanceEmp return priceof deduct money cust chooseCar openo close hireEmp void hireEmpname String jobTitle String salary double hireDate String raiseDueString Class Cars Properties model String year int numOnLot int Methods Car default constructor sets model and year to null Carmodel String year int numOnLot int car constructor Priceofyear int de ned in subclasses soldCar numOnLot numOnLot l Class NewCar extends Cars Methods NewCar default constructor calls super for default NewCarmodel String year int calls supermodel String year int Priceofyear int calculates the price of the car by multiplying the year by 18 Class UsedCar extends Cars Methods UsedCar default constructor calls super for default UsedCar calls supermodel String year int Priceofyear int calculates the price of the car by multiplying the year by Class Employee Properties name String jobTitle String salary double per hour hoursWorked double since last pay isWorking boolean schedule String raiseDue String raise every 6 months from start of hireDate hireDate String day employee started working Methods Employee default constructor sets name title and job to null EmployeeName String jobTitle String employee constructor hoursWorking wage defined in subclasses Class MaintenceEmp extends Employee Methods MaintenceEmp defaults constructor calls super for default MaintenceEmpName String jobTitle String calls superName String jobTitle String wage calculates wage by title with if statements like if Senior Maintence 10hr if junior 8hr etc multiplied by hoursWorking return wages Class SaleEmp extends Employee properties numCarsSold int Methods SaleEmp defaults constructor calls super for default SaleEmp Name String jobTitle String calls superName String jobTitle String wage calculates wage by title with if statements like if Senior sales 10hr 5 commission on car ifjunior 8hr 2 commission on car etc multiplied by hoursWorking return wages Class Customer Properties private name String private money double private wantsNewCar Boolean private wantsUsedCar Boolean private wantsCarFixed Boolean chooseCar Cars Methods chooseCarmodel String year int numOnLot int Customer default Customername String money double wantsNewCar Boolean wantsUsedCar Boolean wantsCarFixed Boolean customer constructor getName setName getMoney setMoney get wantsNewCarO set wantsNewCarO get wantsUsedCar set wantsUsedCar get wantsCarFixedO set WantsCarFixedO toString Microscopic Imager MI Pancam Mast Assembly PMA twenty cameras ash memory Miniature Thermal Emission Spectrometer MiniTES rock abrasion tool RAT Mars Odyssey and Mars Global Surveyor evaluate the terrain with stereo imaging to choose the best way to get there Analysis Inputs Boolean value for main power onsleep mode Boolean value for tools ontrue offfalse Coordinates to travel override auto drive Send images stored on ash memory Approve autodrive path Zoom for Microscopic Imager Depth to drill for Rock Abrasion Tool Outputs Status of rover onoff and tools onoff Number of pictures taken Amount of available memory on ash card Power remaining solar panels Is it communicating with either Odyssey or MGS Best calculated path from autodrive System check on the wheels to ensure they are functioning properly composition of rocks wind speed temperature readings from instruments Wavelength of analyzed object for Miniature Thermal Emission Spectrometer Contraints If the main power or any individual tools are on off they cannot be turned on off respectively All tools must be turned off before the main power can be shut off Additional pictures cannot be taken if the memory card is full Pictures cannot be transferred back to earth if the rover is not communicating with Odyssey or MGS The rover cannot implement the autodrive until it has been approved by earth If the power ever falls below 10 capacity it must be shut off to ensure proper shutdown of all equipment on board Wheels cameras and power must all be working in order for the rover to drive Assumptions The memory card has enough space for 100 pictures Any other data such as the projected travel path and numbers stored from the other instruments is stored on a second memory card with sufficient space The main power is never shut off rather it goes into a quotsleep modequot All 6 wheels are working before it can travel There is enough space on the memory card when a picture is taken No data is lost when transferring to Odyssey or MGS and then to earth The rover has established a connection with Odyssey or MGS before it transfers data Relationships camera rat and miniTES are subclasses of instruments mi extends camera Design Class Main Properties boolean onoff main power on sleep mode off int battery capacity remaining in Methods on void main power on off void sleep mode on batteryCheck int retums int of battery remaining Class Instruments Properties boolean power onoff individual onoff for each instrument Methods contructors transferData class Communicate Class rat Rock Abrasion Tool extends Instruments Properties Depth double depth in mm to drill into rock Methods Constructors depth set from user input Drill double activates drilling and returns double variable of actual depth drilled Class miniTES Miniature Thermal Emission Spectrometer extends Intruments Properties Wavelength double double value of wavelength of analyzed material Methods Constructors Capture double Captures image of surrounding rocks in the thermal infrared part of the electromagnetic spectrum and returns wavelength of targeted object Class Camera pancamMastAssembly extends Instruments Properties int ashMemory stores remaining number of pictures Methods Constructors checkMemory int retums number of remaining pictures that can be taken capture int subtracts one from int ashMemory transferPicturesO void class Communicate Class M1 Microscopic Imager extends Camera Properties Zoom double value of zoom ex 43x Methods constructors zoom set by user input Picture Takes picture and subtracts one available picture slot from ashMemory Class AutoDrive Properties int coordinates coordinates derived from calculating the best potential path to travel int overrideCoordinates manually entered coordinates from earth to choose a differentsafer path boolean path has the path been approved truefalse Methods checkWheels checks all siX wheels to ensure they are functioning properly checkCamerasO all cameras must be running so the rover can analyze the surroundings before choosing the best path to take checkPowerO check that there will be enough power to make the trip doesn t get stuck on a hill analyzePath generates the coordinates from picture data approvePath prompts for approval of the path if no prompts for manual input ofO data Class Communicate Properties tf value whether the rover is communicating with the listed satellite boolean Odyssey boolean marsGlobalSurveyor Methods checkSatelliteStatusO boolean lists the satellite name and the boolean value if it is in contact with the rover transfer transfers data from the rover to the satellite then to earth

×

×

×

### You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

## Why people love StudySoup

Steve Martinelli UC Los Angeles

#### "There's no way I would have passed my Organic Chemistry class this semester without the notes and study guides I got from StudySoup."

Anthony Lee UC Santa Barbara

#### "I bought an awesome study guide, which helped me get an A in my Math 34B class this quarter!"

Steve Martinelli UC Los Angeles

Forbes

#### "Their 'Elite Notetakers' are making over \$1,200/month in sales by creating high quality content that helps their classmates in a time of need."

Become an Elite Notetaker and start selling your notes online!
×

### Refund Policy

#### STUDYSOUP CANCELLATION POLICY

All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email support@studysoup.com

#### STUDYSOUP REFUND POLICY

StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here: support@studysoup.com

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to support@studysoup.com

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.