You are on page 1of 4

1.

a. List 4 legal Identifiers


i. lmao
ii. kappa
iii. tyler
iv. ERR0R
b. List 4 Illegal Identifiers
i. double
ii. . . . . . .
iii. ! ! ! ! !
iv. ? ? ? ? ?
2.

a) Dim numCards as Integer


numCards = 5
b) Dim numCards as Integer = 5
3.

a) 19
b) 15
4. To get an input from a user
5. Because if you don't and the user enters letter(s), the program will crash
6.

a) Labels
b) To address the textbox with a function
7.

a) integer
b) decimal
c) integer
d) decimal
e) Boolean/byte
f) char
8.

a) local
b) 0, it's the default value
9.

a) 8
b) 8
c) 4
d) 12
e) 12
10.
a) 2005 = 0
b) 1776 = 7
c) 39 = 3

11.

a) Variable
b) Variable
c) Variable
d) constant
12. i put the line of code with an error
a. Syntax
i. Dim num as integer = 6
b. Syntax
i. num = Val(Me.Textbox.text)
c. Syntax
i. LblOutput.text = "message"
d. Logical
i. avg = (test1 + test2) / 2
e. Syntax
i. "numberTests" needs to have a value
f. No Error, just pointless code
i. you can remove the middle 2 lines and the outcome wouldn't
change
13.seven percent
14.CriticalThinkingEquations.zip
15.

a) a / w = l
b) p * n + c = r
c) a * n / h - b1 = b2
d) (v / (4 / 3) / ) = r
e) a * 3 - s - f = t
f) (p * (4d))/5 = t
g) a - p / r / t = p
h) (m * ((r-1) + 1)) * ((r-1))/ r =
16.True or False
a. T
b. F
c. T
d. F
e. T
f. F
g. F
h. T
i. F
j. F
k. T
l. F
m. T
n. T
o. F
p. T

You might also like