When should an event-driven program's user interface be designed?
After the program's purpose is defined.
What window opens when the latte-selection application starts?
The Latte Selection window.
What happens when the pumpkin spice or mocha button is clicked?
The corresponding latte picture is displayed.
What does clicking Select Latte do in the latte-selection application?
It informs the user that a flavored latte was selected.
What is a Visual Studio project equivalent to?
A single program created using Visual Studio.
Which choices create a Visual Basic Windows Desktop project?
Choose New Project, select Windows Desktop and, if needed, Windows Forms Application, enter a project name, and choose OK.
What is a Windows Form object used for?
It is the window used to build a program and display it when the program runs.
What does a Windows Form's Text property contain?
The value displayed in the window's title bar.
Which Standard toolbar command saves a Visual Studio project?
Save All.
What does the first save of a Visual Studio project determine?
Its chosen name and location.
How can you open a Visual Studio project by using its solution file?
Double-click the solution file.
Which Standard toolbar command opens a Visual Studio project file?
Open File.
Where in Visual Studio can you select a recently used project or solution?
Under File > Recent Projects and Solutions.
What is the Program Development Life Cycle?
The phases and steps developers follow to design, create, and maintain a computer program.
What activities make up the Program Development Life Cycle?
Requirements analysis, interface and processing-object design, coding, testing, documentation, and maintenance.
How are program requirements gathered?
By interviewing users, reviewing current procedures, and completing other fact-gathering tasks.
Which latte choices must the Latte Selection program show before selection?
Pumpkin spice and mocha.
What must the Latte Selection program show after a latte selection?
A confirmation.
Why should a user interface be easy to use and follow?
Users will not be satisfied if it is difficult to use.
How should a well-designed interface feel to users?
Natural.
How should a well-designed interface choose objects for requirements?
It should use the most appropriate object for each requirement.
Which interface objects are required to show the pumpkin spice and mocha latte pictures?
Two PictureBox objects.
How many Button objects does the Latte Selection interface require?
Four Button objects.
How many Label objects does the Latte Selection interface require?
Three Label objects.
Which tools are used to design the user interface before implementation?
Visual Studio and Visual Basic rapid application development tools.
What creates the windows in a Windows Classic Desktop program?
The Windows operating system.
Through what does a user interact with a running program?
Its windows and components, which make up its user interface.
What does the Visual Studio work area contain?
A tabbed Form1.vb [Design] page with a Windows Form object called Form1.
How do you keep the Toolbox displayed in Visual Studio?
Choose the pushpin Auto Hide button on its title bar.
What characteristics does the Properties window describe?
Object characteristics such as color, size, name, and screen position.
How do you rename the Windows Form file to frmLatteSelection.vb?
Use the Form1.vb shortcut menu in Solution Explorer, choose Rename, enter frmLatteSelection.vb, and press Enter.
How do you set a Windows Form's title bar text to Latte Selection?
Select the form, enter Latte Selection in its Text property in the Properties window, and press Enter.
How is a Windows Form's Size property set to 730, 700?
Enter 730, 700 in the Size property in the Properties window.
How do you add a Label object to a form?
Drag the Label .NET component from the Toolbox’s Common Controls tab to the desired location and release the mouse button.
How do you set a Label object’s name?
Enter the new name in the (Name) property’s value column and press Enter.
How do you change a Label object’s displayed text?
Enter the new text in its Text property and press Enter.
How do you change a label’s font, style, and size?
Open the Font property’s ellipsis button, choose the font, style, and size, then choose OK.
How do you center a Label object horizontally in a form?
Choose Format, point to Center in Form, then choose Horizontally.
What kind of object is a PictureBox much like?
A label.
Which property do you locate to name a PictureBox object?
The (Name) property.
What do you do after entering a PictureBox name in the value column?
Press Enter.
Which property do you use to resize a PictureBox object?
The Size property.
What do you do after entering a PictureBox size?
Press Enter.
Where do you drag a second PictureBox component to add it?
To any location on the form.
How do you make two form objects the same size in both dimensions?
Select the reference object, Ctrl-select the object to resize, then choose Format > Make Same Size > Both.
Which command aligns selected PictureBox objects by their lower edges?
Format > Align > Bottoms.
Which command centers selected PictureBox objects horizontally in a form?
Format > Center in Form > Horizontally.
How do you add a second Button aligned at the top with an existing button?
Drag the Button control from the Toolbox and release it when the red alignment guide indicates top alignment.
How do you align buttons vertically using snap lines?
Drag one button until blue snap lines appear, adjust its vertical spacing, and release the mouse button.
What are the two types of requirements documentation?
A requirements document and a Use Case Definition.
When was the Latte Selection requirements document submitted?
January 23, 2019.
What choice does the Latte Selection program let users make?
They choose a latte type from two displayed choices.
What is a use case?
A sequence of actions a user performs when using a program.
What happens after the user clicks Select Latte in the Latte Selection use case?
The flavor and selection buttons are disabled, and Exit Window becomes active.
What share of program design do developers sometimes spend on the user interface?
25 to 40 percent.
What is the presentation layer in program design?
The part where Visual Studio is used to create the user interface.
What are interface designs often called?
Mock-ups.
What are the four primary means of interacting with a user interface?
Keyboard, pointing device, touch interface, and voice input.
How should interface objects be arranged in relation to their use?
In the sequence in which they are used.
Why is a Windows Form appropriate for the Latte Selection application?
The application is presented in a window on the screen.
What should the Latte Selection Select Latte button display?
A confirmation message.
What is the only available action after a latte is selected?
Exit Window.
Why should the Latte Selection interface include simple instructions?
To prevent users from becoming confused while using it.
Answer 24 questions on Visual Basic Interface Design.
1. A developer has defined the purpose of an event-driven program with a graphical user interface. What should the developer do next in the design process?
2. In a latte-selection application, a user clicks Mocha and then clicks Select Latte. What should the application display and communicate?
Go over the full study guide for Visual Basic Interface Design.
Read the study guide →Upload your class notes and Revizly writes your flashcards in about a minute.
Flashcard maker