You are on page 1of 2

Critical Thinking

1) Drag a component from the tool bar in to the designer, then you can code the
component to do certain actions, then you can run it with the debugger
2a) 7
b) 28
c) 10
d) 5
e) 34
f) 90
g) 5
h) -3
i) 7
j) 6 + 3 2
k) 6.5
l) -22
3) Executes code in response to an event
4) Label- displays text, Button- preforms a click event, MenuStrip- used for click
events, GroupBox- adds multiple controls into a group, Radio buttons- multiple
buttons that control labels
5) The outlines for resizing the buttons and labels etc, do not appear
6) Click the X in the top right corner, or click the square beside the run button
7) The name is what it is called in the code, the text is what is displayed
8) The me refers to the form object
9) label1. Text= The sum of x and y is 8
Label1.text= the difference of x and y is 2
10a) There is not an on the second line
b) The means it is an inline comment, not a code being written
11a) False. When I save all there is multiple files
b) True
c) True
d) True

e) True
f) True
g) False. There can be multiple MenuItems
h) False, each line is called a line of code
i) True
j) False, it is typed into the Code window
k) False, you can switch by pressing the view button then selecting the window, or
by choosing the tab
l) True
m) False, private indicates it cannot be
n) True
o) True
p) False, only one can be selected at a time
q) False, other objects can be placed in one
r) False, comments are not read as code
s) False, they are created by placing a
t) True

You might also like