Chapter 4 Introduction To Visual Basic: 1. Fill in The Blanks With The Correct Words
Chapter 4 Introduction To Visual Basic: 1. Fill in The Blanks With The Correct Words
a. IDE
b. .vb
c. Property
d. Variables
e. +
2. Write T for the true statement and F for the false one. Correct
the false statement(s).
a. T
b. F. The Toolbox tab appears on the left side of the screen.
c. T
d. F. Event driven programming responds to events.
e. F. It can give fl oat variables also.
a. Title Bar: The title bar at the top of the window displays the title of the
project.
Menu Bar: The menu bar consists of many drop-down menus. Clicking on
any option of the menu bar makes it active.
Form Window: The Form window is the primary work area that forms the
background of the application. The user can place objects on the form.
Toolbox: The Toolbox contains the controls. Controls are GUI components
that can be added to the form.
Second Method:
i. Click on the control in the Toolbox, and with the left mouse button
pressed down,
drag and drop it onto the form.
ii. Reposition the control by holding down the left mouse button and
dragging it to
a new location. To resize the control, drag one of its edges or corners.
d. After declaring a variable using the Dim statement, one can assign a
value to it using an
assignment statement. The general format of an assignment statement
is:
Variable = Expression or Constant
For example:
A = 100 or
A = B * C
e. The arithmetic operators used in Visual Basic are: Addition (+),
Subtraction (-),
Multiplication (*), Exponent (^), Division (/), Integer Division (\), and
Modulus (Mod).
APPLICATION-BASED QUESTIONS
window as Single
iii. 1
iv. 125
c. i. Dim a, b, c as Integer
MyName = “XYZ”