Graphical User Interface and Visual Basic

Topics: Graphical user interface, Visual Basic, BASIC Pages: 9 (1798 words) Published: January 25, 2015
Chapter 2 Visual Basic, Controls, and Events
Section 2.1 An Introduction to Visual Basic 2012
1.

Programming in VB 2012 is different from traditional programming environments because first you should
(A)
(B)
(C)
(D)

2.

write the code.
input the data.
name the buttons.
draw the user interface.
D

GUI stands for
(A)
(B)
(C)
(D)

graphical user interface.
graphing user introduction.
graphical unit interface.
graphical user input.
A

3.

Visual Basic first appeared about ten years ago. (T/F)
F

4.

A mouse click is an example of an event. (T/F)
T

Section 2.2 Visual Basic Controls
1.

Press F4 to
(A)
(B)
(C)
(D)

run a program.
display the Properties window.
display the Solution Explorer window.
terminate a program.
B

2.

Which of the properties in a control's list of properties is used to give the control a meaningful name?
(A)
(B)
(C)
(D)

3.

Visual Basic access keys are created by using which symbol in a button's Text property? (A)
(B)
(C)
(D)

4.

Tab key.
Space bar.
Enter key.
Backspace key.
A

Which of the following properties determines the words appearing in a form's title bar? (A)
(B)
(C)
(D)

7.

Set the Text property to Com_pute.
Set the Text property to Com&pute.
Set the Text property to &Com_pute.
Set the Text property to comPute.
B

When a Visual Basic program is running, the user can move from one control to another using the keyboard by pressing the
(A)
(B)
(C)
(D)

6.

@
&
%
#
B

Which of the following steps specifies P as the access key for a button? (A)
(B)
(C)
(D)

5.

Text
ContextMenu
ControlName
Name
D

Text
Caption
Name
Title
A

What effect will the following statement have?
lblOne.Visible = False

(A)
(B)
(C)
(D)

Enable lblOne
Delete lblOne
Make lblOne invisible
It is not a valid Visual Basic statement.
C

8.

When creating a new program in Visual Basic, you are asked to supply a name for the program. If you do not specify a name, a default name is used. What is this default name? (A)
(B)
(C)
(D)

9.

Wapplication followed by a number.
Application followed by a number.
WindowsApplication.
WindowsApplication followed by a number.
D

In Visual Basic, tooltips assist by showing a small caption about the purpose of each icon on the Toolbar. How do you make a tooltip appear?
(A)
(B)
(C)
(D)

Right click the Toolbar icon and select purpose from the available options. Position the mouse pointer over the icon for a few seconds.
Hold down a shift key, then click the appropriate Toolbar icon to display its purpose. Hold down the Alt key, then click the appropriate Toolbar icon to display its purpose. B

10. The Properties window plays an important role in the development of Visual Basic programs. It is mainly used
(A)
(B)
(C)
(D)

to change how objects look and feel.
when opening programs stored on a hard drive.
to allow the developer to graphically design program components. to set program related options like Program Name, Program Location, etc. A

11. Sizing Handles make it very easy to resize virtually any control when developing programs with Visual Basic. When working in the Form Designer, how are these sizing handles displayed?
(A) A rectangle with 4 arrows, one in each corner, around your control. (B) A 3-D outline around your control.
(C) A rectangle with small squares around your control.
(D) None of the above
C
12. The Font dialog box allows you to select different Fonts, their style, their size, and some other special effects. How do you bring up this Font dialog box? (A) In the Properties window, click the ellipsis (…) on the right side of the settings box for the Font property.

(B) Double-click the control, and select Font Property.
(C) Right-click the control, and select Font Property.
(D) None of the above
A

13. What keyboard shortcut is used to run the current program? (A)
(B)
(C)
(D)

F4
F5
F6
F7
B...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Graphical User Interface Essay
  • Visual Basic 6.0 Essay
  • Graphical User Interface and Applications Software Essay
  • Graphical User Interface Essay
  • Graphical User Interface and Lt Essay
  • Graphical User Interface and Figure Essay
  • Graphical User Interface Essay
  • Essay on Visual Basic

Become a StudyMode Member

Sign Up - It's Free