Visual Basic Interface Design Flashcards (63 cards)

All cards

1Question

When should an event-driven program's user interface be designed?

Answer

After the program's purpose is defined.

2Question

What window opens when the latte-selection application starts?

Answer

The Latte Selection window.

3Question

What happens when the pumpkin spice or mocha button is clicked?

Answer

The corresponding latte picture is displayed.

4Question

What does clicking Select Latte do in the latte-selection application?

Answer

It informs the user that a flavored latte was selected.

5Question

What is a Visual Studio project equivalent to?

Answer

A single program created using Visual Studio.

6Question

Which choices create a Visual Basic Windows Desktop project?

Answer

Choose New Project, select Windows Desktop and, if needed, Windows Forms Application, enter a project name, and choose OK.

7Question

What is a Windows Form object used for?

Answer

It is the window used to build a program and display it when the program runs.

8Question

What does a Windows Form's Text property contain?

Answer

The value displayed in the window's title bar.

9Question

Which Standard toolbar command saves a Visual Studio project?

Answer

Save All.

10Question

What does the first save of a Visual Studio project determine?

Answer

Its chosen name and location.

11Question

How can you open a Visual Studio project by using its solution file?

Answer

Double-click the solution file.

12Question

Which Standard toolbar command opens a Visual Studio project file?

Answer

Open File.

13Question

Where in Visual Studio can you select a recently used project or solution?

Answer

Under File > Recent Projects and Solutions.

14Question

What is the Program Development Life Cycle?

Answer

The phases and steps developers follow to design, create, and maintain a computer program.

15Question

What activities make up the Program Development Life Cycle?

Answer

Requirements analysis, interface and processing-object design, coding, testing, documentation, and maintenance.

16Question

How are program requirements gathered?

Answer

By interviewing users, reviewing current procedures, and completing other fact-gathering tasks.

17Question

Which latte choices must the Latte Selection program show before selection?

Answer

Pumpkin spice and mocha.

18Question

What must the Latte Selection program show after a latte selection?

Answer

A confirmation.

19Question

Why should a user interface be easy to use and follow?

Answer

Users will not be satisfied if it is difficult to use.

20Question

How should a well-designed interface feel to users?

Answer

Natural.

21Question

How should a well-designed interface choose objects for requirements?

Answer

It should use the most appropriate object for each requirement.

22Question

Which interface objects are required to show the pumpkin spice and mocha latte pictures?

Answer

Two PictureBox objects.

23Question

How many Button objects does the Latte Selection interface require?

Answer

Four Button objects.

24Question

How many Label objects does the Latte Selection interface require?

Answer

Three Label objects.

25Question

Which tools are used to design the user interface before implementation?

Answer

Visual Studio and Visual Basic rapid application development tools.

26Question

What creates the windows in a Windows Classic Desktop program?

Answer

The Windows operating system.

27Question

Through what does a user interact with a running program?

Answer

Its windows and components, which make up its user interface.

28Question

What does the Visual Studio work area contain?

Answer

A tabbed Form1.vb [Design] page with a Windows Form object called Form1.

29Question

How do you keep the Toolbox displayed in Visual Studio?

Answer

Choose the pushpin Auto Hide button on its title bar.

30Question

What characteristics does the Properties window describe?

Answer

Object characteristics such as color, size, name, and screen position.

31Question

How do you rename the Windows Form file to frmLatteSelection.vb?

Answer

Use the Form1.vb shortcut menu in Solution Explorer, choose Rename, enter frmLatteSelection.vb, and press Enter.

32Question

How do you set a Windows Form's title bar text to Latte Selection?

Answer

Select the form, enter Latte Selection in its Text property in the Properties window, and press Enter.

33Question

How is a Windows Form's Size property set to 730, 700?

Answer

Enter 730, 700 in the Size property in the Properties window.

34Question

How do you add a Label object to a form?

Answer

Drag the Label .NET component from the Toolbox’s Common Controls tab to the desired location and release the mouse button.

35Question

How do you set a Label object’s name?

Answer

Enter the new name in the (Name) property’s value column and press Enter.

36Question

How do you change a Label object’s displayed text?

Answer

Enter the new text in its Text property and press Enter.

37Question

How do you change a label’s font, style, and size?

Answer

Open the Font property’s ellipsis button, choose the font, style, and size, then choose OK.

38Question

How do you center a Label object horizontally in a form?

Answer

Choose Format, point to Center in Form, then choose Horizontally.

39Question

What kind of object is a PictureBox much like?

Answer

A label.

40Question

Which property do you locate to name a PictureBox object?

Answer

The (Name) property.

41Question

What do you do after entering a PictureBox name in the value column?

Answer

Press Enter.

42Question

Which property do you use to resize a PictureBox object?

Answer

The Size property.

43Question

What do you do after entering a PictureBox size?

Answer

Press Enter.

44Question

Where do you drag a second PictureBox component to add it?

Answer

To any location on the form.

45Question

How do you make two form objects the same size in both dimensions?

Answer

Select the reference object, Ctrl-select the object to resize, then choose Format > Make Same Size > Both.

46Question

Which command aligns selected PictureBox objects by their lower edges?

Answer

Format > Align > Bottoms.

47Question

Which command centers selected PictureBox objects horizontally in a form?

Answer

Format > Center in Form > Horizontally.

48Question

How do you add a second Button aligned at the top with an existing button?

Answer

Drag the Button control from the Toolbox and release it when the red alignment guide indicates top alignment.

49Question

How do you align buttons vertically using snap lines?

Answer

Drag one button until blue snap lines appear, adjust its vertical spacing, and release the mouse button.

50Question

What are the two types of requirements documentation?

Answer

A requirements document and a Use Case Definition.

51Question

When was the Latte Selection requirements document submitted?

Answer

January 23, 2019.

52Question

What choice does the Latte Selection program let users make?

Answer

They choose a latte type from two displayed choices.

53Question

What is a use case?

Answer

A sequence of actions a user performs when using a program.

54Question

What happens after the user clicks Select Latte in the Latte Selection use case?

Answer

The flavor and selection buttons are disabled, and Exit Window becomes active.

55Question

What share of program design do developers sometimes spend on the user interface?

Answer

25 to 40 percent.

56Question

What is the presentation layer in program design?

Answer

The part where Visual Studio is used to create the user interface.

57Question

What are interface designs often called?

Answer

Mock-ups.

58Question

What are the four primary means of interacting with a user interface?

Answer

Keyboard, pointing device, touch interface, and voice input.

59Question

How should interface objects be arranged in relation to their use?

Answer

In the sequence in which they are used.

60Question

Why is a Windows Form appropriate for the Latte Selection application?

Answer

The application is presented in a window on the screen.

61Question

What should the Latte Selection Select Latte button display?

Answer

A confirmation message.

62Question

What is the only available action after a latte is selected?

Answer

Exit Window.

63Question

Why should the Latte Selection interface include simple instructions?

Answer

To prevent users from becoming confused while using it.

Test yourself with the quiz

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?

Take the quiz →

Read the study guide

Go over the full study guide for Visual Basic Interface Design.

Read the study guide →

Related classes

Make your own flashcards

Upload your class notes and Revizly writes your flashcards in about a minute.

Flashcard maker