// These storyboard sketches have been created for an interactive program that accepts customers' drink orders and displays a price. The user makes choices and a price is calculated based on type and size of drink and applicable tax. An object dictionary appears below the storyboard sketches. Correct the bugs. оо Regular Diet Object Type Drink selector Name Small Medium Large Label drinkLabel RadioButton regularButton RadioButton dietButton RadioButton small Button RadioButton mediumButton RadioButton largeButton Button orderButton Button priceLabel Label Button Place order Screen Variables Number Affected 1 none 1 price 1 price 1 price 1 price 2 price 1 none 2 none priceAmtLabel 2 none exitButton 2 none Script? Price exitMethod () $2.49 Exit calculateWithTax()

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Hello, I need help finding and correcting all of the syntax and/or logical errors

**Storyboard Sketches for Interactive Drink Order Program**

This storyboard illustrates the design for an interactive program that processes customers' drink orders and calculates the total price. The program functions as follows:

### User Interface Components

1. **Drink Selector Panel**:
    - Contains options for drink types: 
      - **Radio Buttons**: 
        - Regular
        - Diet

2. **Size Selector**:
    - Options for drink sizes:
      - **Radio Buttons**:
        - Small
        - Medium
        - Large

3. **Place Order Button**:
    - Submits the user's drink and size choices for processing.

4. **Price Display Panel**:
    - Shows the calculated price.
    - Contains:
      - **Label**: Display area for the price.
      - Static price example: $2.49

5. **Exit Button**:
    - Allows the user to exit the application.

### Object Dictionary

Below the storyboard sketches is an object dictionary, detailing specific elements within the interface:

| **Object Type** | **Name**         | **Screen Number** | **Variables Affected** | **Script?**         |
|-----------------|------------------|-------------------|------------------------|---------------------|
| Label           | drinkLabel       | 1                 | none                   |                     |
| RadioButton     | regularButton    | 1                 | price                  |                     |
| RadioButton     | dietButton       | 1                 | price                  |                     |
| RadioButton     | smallButton      | 1                 | price                  |                     |
| RadioButton     | mediumButton     | 1                 | price                  |                     |
| RadioButton     | largeButton      | 2                 | price                  |                     |
| Button          | orderButton      | 1                 | none                   | calculateWithTax()  |
| Button          | priceLabel       | 2                 | none                   |                     |
| Label           | priceAmtLabel    | 2                 | none                   |                     |
| Button          | exitButton       | 2                 | none                   | exitMethod()        |

### Diagram Explanation

- The storyboard is split into various panels for drink selection and price display.
- Each radio button represents a choice affecting the price variable.
- The "Place order" button triggers a script to calculate the price with tax.
- The exit button initiates an exitMethod script, closing the program.

This design serves
Transcribed Image Text:**Storyboard Sketches for Interactive Drink Order Program** This storyboard illustrates the design for an interactive program that processes customers' drink orders and calculates the total price. The program functions as follows: ### User Interface Components 1. **Drink Selector Panel**: - Contains options for drink types: - **Radio Buttons**: - Regular - Diet 2. **Size Selector**: - Options for drink sizes: - **Radio Buttons**: - Small - Medium - Large 3. **Place Order Button**: - Submits the user's drink and size choices for processing. 4. **Price Display Panel**: - Shows the calculated price. - Contains: - **Label**: Display area for the price. - Static price example: $2.49 5. **Exit Button**: - Allows the user to exit the application. ### Object Dictionary Below the storyboard sketches is an object dictionary, detailing specific elements within the interface: | **Object Type** | **Name** | **Screen Number** | **Variables Affected** | **Script?** | |-----------------|------------------|-------------------|------------------------|---------------------| | Label | drinkLabel | 1 | none | | | RadioButton | regularButton | 1 | price | | | RadioButton | dietButton | 1 | price | | | RadioButton | smallButton | 1 | price | | | RadioButton | mediumButton | 1 | price | | | RadioButton | largeButton | 2 | price | | | Button | orderButton | 1 | none | calculateWithTax() | | Button | priceLabel | 2 | none | | | Label | priceAmtLabel | 2 | none | | | Button | exitButton | 2 | none | exitMethod() | ### Diagram Explanation - The storyboard is split into various panels for drink selection and price display. - Each radio button represents a choice affecting the price variable. - The "Place order" button triggers a script to calculate the price with tax. - The exit button initiates an exitMethod script, closing the program. This design serves
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Unreferenced Objects
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education