QUESTION ONE 1. Design a Windows application named Wallpaper App to calculate the number of single (30 MARKS) rolls of wallpaper required to cover a room. 2. Create an interface as shown in Figure 1. There are four combo boxes having a drop down style. Display the range of values for the room's length, width and height from 10 to 35 in the combo boxes while the value in the combo box for the roll coverage should range from 40 to 50 with an increment of 0.5. 3. The calculate button's click event procedure should calculate and display the number of single rolls of wallpaper required to cover a room. Use a Sub procedure to make the calculation. The number of the single roll should be displayed as an integer. (Le. the number of single roll having a decimal point should be rounded off to the next highest integer). 4. The number of roll should be cleared when changes are made on any of the combo boxes. 5. Save and test the application. (For example, if the roll coverage is 45.5 sq. Ft and the length, width and height of the room are 15, 18 and 20 respectively, the number of single roll will be 30).

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter2: Planning Applications And Designing Interfaces
Section: Chapter Questions
Problem 6E
icon
Related questions
Question

please help solve this

Adobe Reader Touch
QUESTION ONE
(30 MARKS)
1. Design a Windows application named Wallpaper App to calculate the number of single
rolls of wallpaper required to cover a room.
2. Create an interface as shown in Figure 1. There are four combo boxes having a drop down
style. Display the range of values for the room's length, width and height from 10 to 35
in the combo boxes while the value in the combo box for the roll coverage should range
from 40 to 50 with an increment of 0.5.
3. The calculate button's click event procedure should calculate and display the number of
single rolls of wallpaper required to cover a room. Use a Sub procedure to make the
calculation. The number of the single roll should be displayed as an integer. (i.e. the
number of single roll having a decimal point should be rounded off to the next highest
integer).
4. The number of roll should be cleared when changes are made on any of the combo boxes.
5. Save and test the application. (For example, if the roll coverage is 45.5 sq. Ft and the
length, width and height of the room are 15, 18 and 20 respectively, the number of single
roll will be 30).
g Wallpaper App
O O X
<>
Length (feet):
Single roll:
Width (feet):
Height (feel):
Calculate
Exit
Roll coverage (sqrFt)
Figure 1: Wallpaper App interface
14 /21
22:43
P Type here to search
G ) ENG
2021/05/07
Transcribed Image Text:Adobe Reader Touch QUESTION ONE (30 MARKS) 1. Design a Windows application named Wallpaper App to calculate the number of single rolls of wallpaper required to cover a room. 2. Create an interface as shown in Figure 1. There are four combo boxes having a drop down style. Display the range of values for the room's length, width and height from 10 to 35 in the combo boxes while the value in the combo box for the roll coverage should range from 40 to 50 with an increment of 0.5. 3. The calculate button's click event procedure should calculate and display the number of single rolls of wallpaper required to cover a room. Use a Sub procedure to make the calculation. The number of the single roll should be displayed as an integer. (i.e. the number of single roll having a decimal point should be rounded off to the next highest integer). 4. The number of roll should be cleared when changes are made on any of the combo boxes. 5. Save and test the application. (For example, if the roll coverage is 45.5 sq. Ft and the length, width and height of the room are 15, 18 and 20 respectively, the number of single roll will be 30). g Wallpaper App O O X <> Length (feet): Single roll: Width (feet): Height (feel): Calculate Exit Roll coverage (sqrFt) Figure 1: Wallpaper App interface 14 /21 22:43 P Type here to search G ) ENG 2021/05/07
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Payback period
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
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning