Starting Out with Java: From Control Structures through Data Structures (4th Edition) (What's New in Computer Science)
4th Edition
ISBN: 9780134787961
Author: Tony Gaddis, Godfrey Muganda
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…
ShopIt is an online merchandise provider that charges their shipping fee based on the number of items purchased. If a single item is purchased, the shipping charge is $4.99. When customers purchase between 2 and 5 items, they are charged the initial $4.99 for the first item and then $3.99 per item for the remaining items. For customers who purchase more than 5 items but less than 15, they are charged the initial $4.99 for the first item, $3.99 per item for items 2 through 5, and $3.49 per item for the remaining items. If they purchase 15 or more items, they are charged the initial $4.99 for the first item, $3.99 per item for items 2 through 5, and $3.49 per item for items 6 through 14, and then just $1.99 per item for the remaining items. Allow the user to enter the number of items purchased. Design the logic of the program using pseudocode. Display the number of purchased items and the shipping fee. The program will continuously run until the user enters zero for the number of…
Chapter 13 Solutions
Starting Out with Java: From Control Structures through Data Structures (4th 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 - .label { -font-size: 14pt; }Ch. 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 - Assume a JavaFX application has a RadioButton...Ch. 13 - Write code that creates a ListView control named...Ch. 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_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. 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_forward
- Noise refers to anything that interferes with, distorts, or slows down the transmission of information. Question 32 options: True Falsearrow_forwardvoid hello (void) is a correct function declaration Select one OTrue O Falsearrow_forwardTranscribed Image Text RunRoutr is a fitness tracking application for smartphones that creates suggested running routes so that users can run with each other. Upon downloading the application, each user creates a username, a personal profile, and a contact list of friends who also use the application. The application uses the smartphone's GPS unit to track a user's location, running speed, and distance traveled. Users can use the application to review information and statistics about their previous runs. At the beginning of a run, users indicate the distance they want to run from their current location, and the application suggests a running route. Once a user accepts a suggested route, the application share the suggested route with other compatible users in the area so that they can run together. Users are considered compatible if they are on each other's contact lists or if they typically run at similar speeds. A basic RunRoutr account is free, but it displays advertisements that are…arrow_forward
- PS: see image for questionarrow_forwardPls help ASAParrow_forwardCourse: Software Engineering A web based software for an online book store is to be developed when a valid customer logon to the site a list of available books is displayed. When the customer selects the required book a form will be displayed that will take input the credit card number and other necessary information of the user. After submission of the form by the customer the validity of the credit card is ensured by a banking system (external to the system). The valid orders are passed to the shipment department and an email is sent to the customer that his order is being shipped. Mention your brain storming as well before the drawing. Write four functional (user+system) requirements. Draw level 1 DFD of the given scenario. Draw ERD of the given scenario.arrow_forward
- CASE STUDY One of the partners from an accounting firm, goes to one of the computertechnicians, and recommends him to go to one of their clients from thefirm and installs a computer program with one of the licenses from thefirm. The technician tells the partner that he cannot install the program,because it is illegal to install programs in other computers without theright licensing. The technician also recommended that it would be betterfor the client to buy the license and that he would install the program forhis company. His boss answered that he is one of the most importantclients in the office and that the client wasn’t interested in buying theprogram. Nevertheless, he promised that they would install the program,and that he shouldn’t worry because he would make himself responsible. Questions : What should the technician do? Is the technician responsible and accountable for this actions? If the technician will follow his/her boss, what case do you think canyou file for the boss…arrow_forwardQ4- List only the topics of Multimedia computer science researcher.arrow_forwardMountain Rescue Teams Climbing mountains is a popular leisure activity in Great Britain that is enjoyed by a very large number of people every year. However, this hobby can be dangerous, especially when participants have not prepared adequately. Every year some people have to be rescued while in the mountains in Great Britain. These rescues are conducted by teams of volunteers affiliated to the Mountaineering Trust. The teams search on foot. They navigate using maps prepared by Ordnance Survey, the official map-making body of the British government. Ordnance Survey maps have grids that allow anywhere in Great Britain to be located to the nearest 100 meters using a grid reference. If necessary, the teams request assistance from the Royal Air Force (RAF), which provides search and rescue helicopters from its bases across Great Britain. The DatabaseThe location, name, and height of every mountain is stored. The location is taken to be the grid reference of the summit and serves as a…arrow_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 ColeNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
- Enhanced Discovering Computers 2017 (Shelly Cashm...Computer ScienceISBN:9781305657458Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. CampbellPublisher:Cengage LearningPrinciples of Information Systems (MindTap Course...Computer ScienceISBN:9781285867168Author:Ralph Stair, George ReynoldsPublisher:Cengage Learning
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
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Enhanced Discovering Computers 2017 (Shelly Cashm...
Computer Science
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Cengage Learning
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Time Complexity Analysis - How To Calculate Running Time | InterviewBit; Author: InterviewBit;https://www.youtube.com/watch?v=--oxG4Q1PA0;License: Standard YouTube License, CC-BY