a) Manually (you do not need do any of this in code) create a graphical user interface such as the one depicted in Figure 1. Use the value provided in the CSV file on Canvas.   b) Minimum requirements are to always ask for 3 assignments – for this, you skip this step. For bonus credit, prompt the user to input the number of assignments to calculate statistics for.  In this case you would need to prompt the user via an input box for the total number of deliverables for which summary statistics will be calculated. You must verify that the user enters a value that can represent a valid integer number in the range [1, 6]. If the user enters a value that does not represent a number, the user enters a valid value but the value is outside of the allowed range, or the user enters a non-integer value, your program must display an error message box. Once the user acknowledges the error by pressing the “OK” button on the message box, your program must continue to display the input box asking for the number of assignments until a valid value is provided. See figures 2 and 3 for examples. Note: you must use a repetition programming structure with a single input box function statement to fulfill this requirement.   c) The value for the total number of deliverables must be used by a repetition programming structure to control the calculation and the printing of the summary statistics for the deliverables. (This is 3 items for the minimum requirements, or the user input value of 1 to 6 for the bonus.) The user must first be prompted via an input box for the label that will identify the specific deliverable to be processed. Your code must check that labels are entered as shown in range D8:I8 in Figure 1. Note that the user should be allowed to enter labels for deliverables in any order. If the user enters an incorrect value, your program must display an error message box and then re-prompt the user to enter the value. See figures 4 and 5 for examples. Note: you must use a repetition programming structure with a single input box function statement to fulfill this requirement.   d) At any point in the process, if the user presses cancel (or enters nothing and presses OK), your program needs to end. Other errors in input need to re-prompt the user for valid input.  (Hint: if you are in a loop, you may need to pay attention to the loop counter when there is an error so that you do not needlessly increment it – i.e. decrement the counter so that when it increments in your loop you are back where you need to be.) e) As the user provides valid labels for the deliverables, your program will print a table with the summary statistics for each deliverable specified in the order they were specified.  Have one decimal place of precision for calculated statistics.  Figure 6 depicts an example of how this table looks. You must include row and column labels along with the calculated statistics. Hint: Use a variable of type Range, or the Range object, in combination with the Offset property to insert labels and values into the summary statistics table.  Use the variables in your loops in the offset property to get locations of everything you need!   Write a sub procedure named Clear_Stats that will clear the output statistics table and formatting. Assign this to the Clear Statistics button.

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

a) Manually (you do not need do any of this in code) create a graphical user interface such as the one depicted in Figure 1. Use the value provided in the CSV file on Canvas.

 

b) Minimum requirements are to always ask for 3 assignments – for this, you skip this step. For bonus credit, prompt the user to input the number of assignments to calculate statistics for.  In this case you would need to prompt the user via an input box for the total number of deliverables for which summary statistics will be calculated. You must verify that the user enters a value that can represent a valid integer number in the range [1, 6]. If the user enters a value that does not represent a number, the user enters a valid value but the value is outside of the allowed range, or the user enters a non-integer value, your program must display an error message box. Once the user acknowledges the error by pressing the “OK” button on the message box, your program must continue to display the input box asking for the number of assignments until a valid value is provided. See figures 2 and 3 for examples. Note: you must use a repetition programming structure with a single input box function statement to fulfill this requirement.

 

c) The value for the total number of deliverables must be used by a repetition programming structure to control the calculation and the printing of the summary statistics for the deliverables. (This is 3 items for the minimum requirements, or the user input value of 1 to 6 for the bonus.) The user must first be prompted via an input box for the label that will identify the specific deliverable to be processed. Your code must check that labels are entered as shown in range D8:I8 in Figure 1. Note that the user should be allowed to enter labels for deliverables in any order. If the user enters an incorrect value, your program must display an error message box and then re-prompt the user to enter the value. See figures 4 and 5 for examples. Note: you must use a repetition programming structure with a single input box function statement to fulfill this requirement.

 

d) At any point in the process, if the user presses cancel (or enters nothing and presses OK), your program needs to end. Other errors in input need to re-prompt the user for valid input.  (Hint: if you are in a loop, you may need to pay attention to the loop counter when there is an error so that you do not needlessly increment it – i.e. decrement the counter so that when it increments in your loop you are back where you need to be.)

e) As the user provides valid labels for the deliverables, your program will print a table with the summary statistics for each deliverable specified in the order they were specified.  Have one decimal place of precision for calculated statistics.  Figure 6 depicts an example of how this table looks. You must include row and column labels along with the calculated statistics.

Hint: Use a variable of type Range, or the Range object, in combination with the Offset property to insert labels and values into the summary statistics table.  Use the variables in your loops in the offset property to get locations of everything you need!

 

Write a sub procedure named Clear_Stats that will clear the output statistics table and formatting. Assign this to the Clear Statistics button.

AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Knowledge Booster
Block Comments
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