Starting Out with Java: From Control Structures through Objects (7th Edition) (What's New in Computer Science)
7th Edition
ISBN: 9780134802213
Author: Tony Gaddis
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Concept explainers
Textbook Question
Chapter 13, Problem 4PC
Smartphone Packages
Cell Solutions, a cell phone provider, sells the following data plans:
- gigabytes per month: $45.00 per month
- gigabytes per month: $65.00 per month
- gigabytes per month: $99.00 per month
The provider sells the following phones. (A 6 percent sales tax applies to the sale of a phone.)
- Model 100: $299.95
- Model 110: $399.95
- Model 200: $499.95
Customers may also select the following options:
- Phone Replacement Insurance: $5.00 per month
- WiFi Hotspot Capability: $10.00 per month
Write an application that displays a menu system. The menu system should allow the user to select one data plan, one phone, and any of the options desired. As the user selects items from the menu, the application should show the prices of the items selected.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Product Name Barcode Category Size
Smartphone V-10
Smartphone V-12
Tablet V-4
LaptopV- i7
LaptopV- i5
LaptopV- i3
LaptopV-i9
Smart Watch V-3
129387 Smartphone |M-Medium, L-Large, S-Small K-Black, BB-Black Blue-Black, BB-Black Blue-Blue
349534 Smartphone |L-Large, S-Small
394754 Tablet
983403 Laptop
359485 Laptop
298203 Laptop
349853 Laptop
M-Medium, L-Large
M-Medium, L-Large
S-Small
S-Small
Color
|L-Large, M-Medium
R-Red, RB-Red Blue-Red, RB-Red Blue-Blue
K-Black
G-Gray
R-Red
RB-Red Blue-Red, RB-Red Blue-Blue
B-Blue
983459 Smart Watch M-Medium, L-Large, S-Small GK-Gray Black-Gray, GK-Gray Black-Black
Price
In order to complete the task:
1-You should convert the UNF table below into at least 2NF. Please explain each step clearly.
2- You should identify primary, foreign and candidate keys for each data field.
In Stock
1100 M-K:2, M-BB:4, L-K:3
1300 L-R:10, S-R:3, L-RB:1, S-RB:8
200 M-K: 10, L-K:2
1900 M-G:3, L-G:0
1500 S-R:6
1200 S-RB:3
2100 L-B:1, M-B:10
200 M-GK:5, L-GK:4
Normalization…
Video-Rental LTD case study
Video-Rental LTD is a small video rental store. The store lends videos to customers for a fee and purchases its videos from a local supplier.
A customer wishing to borrow a video provides the empty box of the video they desire, their membership card, and payment – payment is always with the credit card used to open the customer account. The customer then returns the video to the store after watching it.
If a loaned video is overdue by a day the customer's credit card is charged, and a reminder letter is sent to them. Each day after that a further card is made, and each week a reminder letter is sent. This continues until either the customer returns the video, or the charges are equal to the cost of replacing the video.
New customers fill out a form with their personal details and credit card details, and the counter staff gives the new customer a membership card. Each new customer form is added to the customer file.
The…
Muscat Auto Workshop
Muscat, which provides vehicle maintenance/repair services.
The charges of vehicle maintenance/repair are based on the type of the
service.
a vehicle service centre located in the city of
Details of charges are as follow:
Basic Tuning:
Software Re-installation: 60 OMR
Parts Replacement:
Body Paint:
50 OMR
100 OMR
120 OMR
The workshop offers 10% discounts to the customers who have membership
of the service centre.
You are required to draw a flow chart diagram and write a C++ computer
program that takes customer's name, car plate number, membership
status(Y/N) and the required service (mentioned above). The program
outputs the input data and maintenance charges based on the service
provided by the service centre with discount, if applies.
Chapter 13 Solutions
Starting Out with Java: From Control Structures through Objects (7th Edition) (What's New in Computer Science)
Ch. 13.1 - What is the type selector name that corresponds to...Ch. 13.1 - Prob. 13.2CPCh. 13.1 - Prob. 13.3CPCh. 13.1 - Prob. 13.4CPCh. 13.1 - Prob. 13.5CPCh. 13.1 - Prob. 13.6CPCh. 13.1 - Prob. 13.7CPCh. 13.1 - Prob. 13.8CPCh. 13.1 - Prob. 13.9CPCh. 13.1 - Prob. 13.10CP
Ch. 13.1 - Prob. 13.11CPCh. 13.2 - Prob. 13.12CPCh. 13.2 - Prob. 13.13CPCh. 13.2 - Prob. 13.14CPCh. 13.2 - Prob. 13.15CPCh. 13.3 - How do you determine in code whether a CheckBox is...Ch. 13.3 - In code, how do you make a CheckBox appear...Ch. 13.3 - What type of event do CheckBox controls generate...Ch. 13.4 - How do you set the size of a ListView?Ch. 13.4 - Prob. 13.20CPCh. 13.4 - Prob. 13.21CPCh. 13.4 - Prob. 13.22CPCh. 13.4 - How do you set the orientation of a ListView...Ch. 13.5 - Prob. 13.24CPCh. 13.5 - Prob. 13.25CPCh. 13.5 - Prob. 13.26CPCh. 13.5 - Prob. 13.27CPCh. 13.6 - Prob. 13.28CPCh. 13.6 - Prob. 13.29CPCh. 13.6 - Prob. 13.30CPCh. 13.7 - What is the difference between a TextArea and a...Ch. 13.7 - Prob. 13.32CPCh. 13.7 - Prob. 13.33CPCh. 13.7 - Prob. 13.34CPCh. 13.7 - Prob. 13.35CPCh. 13.8 - Briefly describe each of the following menu system...Ch. 13.8 - What class do you use to create a menu bar?Ch. 13.8 - What class do you use to create a menu?Ch. 13.8 - What class do you use to create a menu item?Ch. 13.8 - What class do you use to create a radio menu item?...Ch. 13.8 - How do you create a relationship between radio...Ch. 13.8 - What class do you use to create a check menu item?...Ch. 13.8 - What type of event do menu items generate when...Ch. 13.9 - In what package is the FileChooser class?Ch. 13.9 - Prob. 13.45CPCh. 13.9 - Prob. 13.46CPCh. 13.9 - How do you determine the file that the user...Ch. 13 - When a selector name starts with a period in a...Ch. 13 - Prob. 2MCCh. 13 - Prob. 3MCCh. 13 - Prob. 4MCCh. 13 - Prob. 5MCCh. 13 - In the hexadecimal color value #05AAFF, the AA...Ch. 13 - Prob. 7MCCh. 13 - Prob. 8MCCh. 13 - Prob. 9MCCh. 13 - Prob. 10MCCh. 13 - The __________control presents its items in a...Ch. 13 - Prob. 12MCCh. 13 - A __________ is like a TextField that can accept...Ch. 13 - You use this class to create a menu bar. a....Ch. 13 - Prob. 15MCCh. 13 - True or False: If you make any changes to an...Ch. 13 - Prob. 17TFCh. 13 - Prob. 18TFCh. 13 - Prob. 19TFCh. 13 - Prob. 20TFCh. 13 - Prob. 21TFCh. 13 - Prob. 22TFCh. 13 - True or False: A MenuBar object acts as a...Ch. 13 - True or False: A Menu object cannot contain other...Ch. 13 - Prob. 1FTECh. 13 - Prob. 2FTECh. 13 - Prob. 3FTECh. 13 - Prob. 4FTECh. 13 - Prob. 1AWCh. 13 - Suppose we have a stylesheet named styles.css, and...Ch. 13 - Prob. 3AWCh. 13 - Prob. 4AWCh. 13 - Prob. 5AWCh. 13 - Prob. 6AWCh. 13 - Prob. 7AWCh. 13 - Prob. 8AWCh. 13 - Prob. 9AWCh. 13 - Prob. 10AWCh. 13 - Prob. 11AWCh. 13 - Prob. 12AWCh. 13 - Prob. 13AWCh. 13 - Write the code that creates a menu bar with one...Ch. 13 - Prob. 1SACh. 13 - Prob. 2SACh. 13 - Prob. 3SACh. 13 - Prob. 4SACh. 13 - Prob. 5SACh. 13 - Prob. 6SACh. 13 - Prob. 7SACh. 13 - Prob. 8SACh. 13 - Prob. 9SACh. 13 - Dorm and Meal Plan Calculator A university has the...Ch. 13 - Skateboard Designer The Skate Shop sells the...Ch. 13 - Prob. 3PCCh. 13 - Smartphone Packages Cell Solutions, a cell phone...Ch. 13 - Shopping Cart System Create an application that...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- 14. (Hard drive storage capacity) If you buy a 40 GB hard drive, then chances are that the actual storage on the hard drive is not 40 GB. This is due to the fact that, typically, a manufacturer uses 1,000 bytes as the value of 1K bytes, 1,000 K bytes as the value of 1 MB, 1,000 MB as the value of 1 GB. Therefore, a 40 GB hard drive contains 40,000,000,000 bytes. However, in computer memory, as given in Table 1-1 (Chapter 1), 1 KB is equal to 1,024 bytes, and so on. So the actual storage on a 40 GB hard drive is approximately 37.25 GB. (You might like to read the fine print next time you buy a hard drive.) Write a program that prompts the user to enter the size of the hard drive specified by the manufacturer, on the hard drive box, and outputs the actual storage capacity of the hard drive.arrow_forwardPAYTHON CODEarrow_forwardChild (x,y), Sibling (x,y), Female(x), Male(x), and Spouse (x, y)arrow_forward
- Course - Software Engineering A freight forwarding company will develop a tracking system application that can provide convenience for consumers in sending goods to various locations. Some of the conveniences of this application are Consumers can send goods with a home pickup system so that consumers just make an order for delivery of goods, then the goods will be picked up and delivered to the destination location. Consumers can check the position of the goods that are on the way with their smartphone as well as the ease of making payments using various online payment systems. In addition, the application can also be used by companies to track vehicles used for shipping goods with real time information on the position, condition of the vehicle, driver's condition and information on the goods being transported. Question : 1. Using Function Point analysis, calculate the function points for the completion of the application development project and identify the activities carried out for…arrow_forwardCourse - Software Engineering A freight forwarding company will develop a tracking system application that can provide convenience for consumers in sending goods to various locations. Some of the conveniences of this application are Consumers can send goods with a home pickup system so that consumers just make an order for delivery of goods, then the goods will be picked up and delivered to the destination location. Consumers can check the position of the goods that are on the way with their smartphone as well as the ease of making payments using various online payment systems. In addition, the application can also be used by companies to track vehicles used for shipping goods with real time information on the position, condition of the vehicle, driver's condition and information on the goods being transported. Question : 1. To ensure the application quality for meeting the user needs, identify application metrics that need to be measured and how to measure them to ensure that…arrow_forwardNoise refers to anything that interferes with, distorts, or slows down the transmission of information. Question 32 options: True Falsearrow_forward
- Coded.arrow_forwardExtreme Sports Web Site (Extreme Sports Web Site) Extreme sports include activities that are considered to have a high degree of intrinsic risk, such as BMX racing, skate boarding, mountain biking, ice climbing, and base jumping, among others. As a lifelong enthusiast, you started selling hats and t-shirts with extreme sports themes, personalities, and inspiring sayings to raise money for charity. As a consequence, you have had the pleasure of travelling to many exotic locations across the globe over the last two years in order to sell your very successful goods at a variety of events and contests. When it comes to selling your goods to extreme sports enthusiasts all over the world, you're considering launching a Web site. What difficulties could you encounter while attempting to distribute your goods to consumers in another country?arrow_forwardStock name::-.arrow_forward
- Please explain ur thought process. Starting the code like shownarrow_forwardGeographical Information System The table below shows the true and measured data coordinates from a set of 5 points for accuracy assessment. Calculate the RMSE based on these data. Point X True X Data Y True Y Data 1 14 15 93 90 2 65 63 78 78 3 23 27 9 10 4 39 38 16 14 5 42 45 51 56arrow_forwardvoid hello (void) is a correct function declaration Select one OTrue O Falsearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- C++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage LearningOperations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks Cole
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole
Time Complexity Analysis - How To Calculate Running Time | InterviewBit; Author: InterviewBit;https://www.youtube.com/watch?v=--oxG4Q1PA0;License: Standard YouTube License, CC-BY