Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
error_outline
This textbook solution is under construction.
Students have asked these similar questions
Programming Exercise #2: Grade
Create an application that calculates and displays the percentage of students receiving a grade of P (for Passed)
and the percentage of students receiving a grade of F (for Failed). Before creating your Planning Chart, consider
what information the user will need to enter (if Grade >= 75, PASSED, FAILED).
a. Prepare a Planning Chart for the application.
b. Draw a sketch of an appropriate interface. Be sure to follow the GUI design guidelines covered in the
chapter. The guidelines are summarized in Figure 2-20 (found on page 66). (If you want to include an
image in the interface, you can either use your own image file or download an image file from
openclipart.org. When downloading from openclipart.org, be sure to use the SMALL IMAGE (.PNG)
button.)
c. Create a Windows Forms application. Use the following names for the project and solution,
respectively: FamilyName_Grade Project and FamiltyName_Grade Solution. Save the application in the…
Computer Science
Use Visual Basic to create a GUI for a clock.
Adding Buttons to the Form. Add 3 Buttons to the Form. (Hours, Minutes and seconds)
1. When you bring up the program, the time of the Clock is set to the system time.
2. When you click one on the Hour button, the number of hours on the Clock will be increased by
one, if two it will be increased by two and so forth.
3. When you click one on the Minute button, the number of minutes on the Clock will be increased
by one, if two it will be increased by two and so forth.
Use Java Programming Language
Write a GUI to calculate the number of servings that a circular pizza of a certain diameter will make. The GUI will have the following appearance:
It must include the following features:
The frame title must say 'Pizza Servings Calculator'.
A grid layout will be used for the GUI.
The JLabel title of the GUI will say 'Pizza Servings Calculator' and be in red and will be placed in grid slot 1.
A JLabel of 'Enter the size of the pizza in inches: ' will be placed in grid slot 2 followed by a JTextField where the pizza size will be entered and have a width of 4.
A JButton will be placed in grid slot 3 and will contain 'Calculate Servings'.
A JLabel, initially blank, will be placed in grid slot 4.
To execute the GUI, enter a pizza size in the JTextField and click the Calculate Servings button. The Calculate Servings button handler will then execute and calculate the number of servings and display it as shown in the following image:
The number of…
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
- Java Question - Create a GUI-based Java application that uses three JLabel, threeJTextFields, and one JButton control to build a GUI “form”, as shown in the attached picture. Set the background color of the form to “pink”. Makesure the output looks similar to the picture. [Note: Be sure to use input and output dialog boxes]. Thank you.arrow_forwardUse Java Programming Language and please don't use the answer from chegg. Provide your own code Write a GUI to calculate the number of servings that a circular pizza of a certain diameter will make. The GUI will have the following appearance: It must include the following features: The frame title must say 'Pizza Servings Calculator'. A grid layout will be used for the GUI. The JLabel title of the GUI will say 'Pizza Servings Calculator' and be in red and will be placed in grid slot 1. A JLabel of 'Enter the size of the pizza in inches: ' will be placed in grid slot 2 followed by a JTextField where the pizza size will be entered and have a width of 4. A JButton will be placed in grid slot 3 and will contain 'Calculate Servings'. A JLabel, initially blank, will be placed in grid slot 4. To execute the GUI, enter a pizza size in the JTextField and click the Calculate Servings button. The Calculate Servings button handler will then execute and calculate the number of servings…arrow_forwardCreate a GUI comprising of two buttons (Rotator & Rotor) and a label (Display). Your GUI should function in the following manner: 1) Upon clicking the Rotator, the Rotor starts rotating. 2) You can stop the Rotor by clicking it. 3) Display shows how much the Rotor has rotated. Draw a UML class diagram for this GUI. NOTE: 1) You can use setRotate() of Button class to set the button angle. 2) You can use getRotate() of Button class to get the button angle.arrow_forward
- Design a GUI for your car dealership application. Provide necessary wire frames and storyboard, interactivity diagram, object dictionary, and necessary scripts for an interactive program for customers of the dealership. You will use Visio to create your diagrams and Word to create your pseudocode.arrow_forwardpossible with Design a complete GUI Application with as many components as combination of different layout Managersarrow_forwardDesign your own interface The grade to be given on each criteria must not be greater than 95 and must not be lower than 65. (Display an alert message if the input is incorrect). Apply the given percentage for each criteria in computing the total grade. Activities - 35% Exam - 40% Recitation - 25% DISPLAY REMARKS based on the criteria below: 74 Below - FAILED 75 to 79 - POOR 80 to 85 - FAIR 86 to 90 - GOOD 91 to 95 - EXCELLENTarrow_forward
- Required: 03 - Calculator GUI: Create the GUI for a four function calculator. No functionality is required. Required code with comments for explanation and screenshot of both code and output has been provided in the next step.arrow_forwardMFC In the second part of your project, you need to develop a mathematical worksheet graphical interface for elementary school students. The worksheet consists of 10 questions of operations between two random numbers. The operations are defined randomly from the set {+, -, *, /}. The GUI uses a text field to enter the maximum value of random numbers. A button with the caption "Check Answers" should be added to the GUI, and when clicked, a correct icon () should appear in front of the correct answer and an incorrect iconarrow_forwardTopic: GUI interface for Grading System You are required to prepare a user friendly GUI interface for our Grading System. The interface should have provision to enter the marks for TEST1, TEST2, FEXM, FLAB, HWAC1, HWAC2, HWAC3, LBRPT1, LBRPT2 and ICPC. You are free to add any additional features according to your wish. Moreover, it should have a provision for grade calculation. The formula for the same is: Grade = TEST1 * 0.10 + TEST2 *0.10 + (HWAC1 + HWAC2 + HWAC3) / 3 * 0.10 + (LBRPT1 + LBRPT2) /2 * 0.10 + FEXM * 0.25 + FLAB * 0.20 + ICPC * 0.15. After the grade calculation, display it along with the name of the student. | Submit the interface screen shots, program code and a video presentation explaining the working of the interface, and the components used in the interface to make it user friendly. You will be graded according to the innovation and friendliness in the interface design.arrow_forward
- Explain the concept of “modal” and “modeless” dialog boxes in GUI.arrow_forwardHello, I am creating an interface through the Excel program using visual basic codes, but when I want to run this interface, I want the excel sheet in the background not to appear. So is it possible that we will only see one interface part and the excel sheet will not appear?arrow_forwardWrite an application creating a GUI which diplays a panel with elements of graphics and text. Sliders allow to modify their color (red, green, blue components) and the bacground color. The interface may look like the one below, but can be different as long as its functionality is preserved.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningEBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Time Complexity Analysis - How To Calculate Running Time | InterviewBit; Author: InterviewBit;https://www.youtube.com/watch?v=--oxG4Q1PA0;License: Standard YouTube License, CC-BY