Critical Thinking Questions Page 59: Gavin.M Blk:3
Critical Thinking Questions Page 59: Gavin.M Blk:3
Gavin.M Blk:3
1.) Describe how the windows, components, and the features of the Visual Basic IDE are used to
develop, run, and debug an application
A form is a graphical object that contains a title bar, system menu, minimize, maximize and
close buttons.
2.) Indicate what would be displayed if each of these expression were assigned to a label:
A) 10 + 3 - 6 = 7
B) 2 ^ 3 + 5 * 4 = 28
C) 4 + 3 * 2 = 10
D) 2 + 9 ^ () = 5
E) 15 * 2 + 4 =34
F) 15 * (2 + 4) = 90
G) 2+4/2+1=5
H) 5 - 3 ^ 2 + 1 = -3
I) 15 / 3 + 2 = 7
J) 6 + 3 - 2 = 6 + 3 - 2
K) 2 + 9 ^ = 6.5
L) 5 - 3 ^ (2 + 1) = -22
4.) List the controls presented in this chapter and explain how the user can interact with each
one
Buttons can be pushed and it does a specific task, such as display text. Labels display text.
Group Boxes put different objects inside it such as radio buttons, Radio Buttons- can be clicked
and it makes a choice based on the clicked one and runs the chosen code. Menu Strips Display
menu with given sub menus which can do many things such as exit. That the user can click on
to run certain code.
5.) List at least one difference in the way a form looks between the Design window and at run
time.
In design mode the programmer can move stuff around and modify things as wanted while
running the program thing doesn't allow to modify anything
10.) Explain the errors in the following comments This is my first program 9/9/12 Display
Greeting Hi There!
It doesn't have a ' infront to make it a comment. There is a ' infront of Display Greeting turning it
into a comment.
True/False
11.)