Santa Monica College Visual Basis Statement and Money Currency Questions 1. if variable A is declared as following:
Dim A As Single
a possible values for A is 7.
-True or false
2. if a variable is declared as following: Dim X as Integer
Then one possible value for X is ” 12.5 ”
– true or false
3.Dim is a keyword
-true or false
4. what is the following visual basis statement? Dim X as Integer
-comment
-action
-initialization
-declaration
5.what is X in the following?
Dim X as integer
-a data type
-a keyword
-a constant
-a variable
6.please declare a variable name ” userInput” with the type string.
…………..
7. If 100>= A and B0 and B=A then
Textbox1.Text= ” Hello ”
End If
which of the following causes a textbook to be populated with “Hello”?
-A=5 and B=10
-no correct answer
-A=5 and B= -1
-A= -5 And B= -1
10. if A is 5 and B is 10, then which if the choices will cause a textbox named Textbook1 to show 15?
-Textbox.1.Text= A+ B
– Textbox1.Text= ” A+B”
-no correct answer
-Textbox1=15