1. The Tick event is found only in which object?
a.)  Form
b.)  Button 
c.)  TextBox
d.)  Label
e.)  Timer
  
Answer:  e




2. The Activated event is found only in which object?
a.)  Form
b.)  Button 
c.)  TextBox
d.)  Label
e.)  Timer
  
Answer:  a

3. The Rnd statement will generate a(n):
a.)  decimal value between 0.01 and 1.00.
b.)  integer value between 0.01 and 1.00.
c.)  decimal value between 0.0 and 1.0.
d.)  integer value between 0.0 and 1.0.
e.)  decimal value between 0.0 and up to 1.0, but not including 1.0.
  
Answer:  e 

4. The analysis phase of software development involves:
a.)  collecting the requirements about what the program will accomplish.
b.)  creating a detailed plan on how the program will accomplish the requirements.
c.)  writing the software with a program such as VB.NET.
d.)  Both a and b.
e.)  All of the above.
  
Answer:  a

5.Which phase of project development typically costs the most?
a.)  Analysis
b.)  Design
c.)  Implementation
d.)  Maintenance
e.)  Documentation
  
Answer:  d




6. Which is not an integer data type?
a.)  Single
b.)  Byte
c.)  Short
d.)  Integer
e.)  Long

Answer:  a

7. Which is a numeric data type?
a.)  Floating point
b.)  Integer
c.)  Boolean
d.)  Both a and b.
e.)  All of the above.

Answer:  d

8. Which sequence of char data types is listed from lowest to highest?
a.)  a, A, z, Z
b.)  a, z, A, Z
c.)  A, a, Z, z
d.)  A, Z, a, z
e.)  z, a, Z, A

Answer:  d

9. The Date data type does not hold which type of information. 
a.)  Seconds
b.)  Hours
c.)  Days
d.)  Months 
e.)  Quarters

Answer:  e

10. The Boolean data type:
a.)  is unsigned.
b.)  has two states.
c.)  is displayed by the program as yes or no.
d.)  Both a and b.
e.)  All of the above.

Answer:  d

11.Which is a valid statement for declaring a variable?
a.)  Const Form As Integer
b.)  Const myForm As Integer
c.)  Dim Form As Integer
d.)  Dim myForm As Integer
e.)  All of the above.

Answer:  d




12. VB.Net identifiers:
a.)  are case sensitive.
b.)  can begin with an underscore.
c.)  can begin with a number.
d.)  Both a and b.
e.)  All of the above.

Answer: b

13. The name of a constant:
a.)  must both begin with a letter and be all upper case.
b.)  does not have to begin with a letter but must be all upper case.
c.)  must begin with a letter but can be upper or lower case.
d.)  does not have to begin with a letter and be either upper or lower case.
e.)  None of the above.

Answer:  d

14. The proper operator precedence, from first to last, is: 
a.)  logical, comparison, and arithmetic.
b.)  arithmetic, comparison, and logical.
c.)  arithmetic, logical, and comparison.
d.)  comparison, arithmetic, and logical.
e.)  logical, arithmetic, comparison.

Answer:  b

15. With A = False and B = True, which statement evaluates as True?
a.)  A AND A
b.)  A AND B
c.)  B AND A
d.)  B AND B
e.)  None are true.

Answer:  d 

16. With A = False and B = True, which statement evaluates as False?
a.)  A OR A
b.)  A OR B
c.)  B OR A
d.)  B OR B
e.)  None are true.

Answer:  a

17. Which operator is evaluated first?
a.)  NOT
b.)  AND
c.)  XOR
d.)  OR
e.)  They are always evaluated left-to-right.

Answer:  a

18.The left side of an assignment statement will hold:
a.)  a variable.
b.)  an object property.
c.)  an expression.
d.)  Both a and b.
e.)  All of the above.

Answer:  d




19.The right side of an assignment statement will hold:
a.)  a variable.
b.)  an object property.
c.)  an expression.
d.)  Both a and b.
e.)  All of the above.

Answer:  c

20. Which function will return the monthly payments of a loan?
a.)  Pay (Rate, PV, Nper)
b.)  Pmt (Rate, Nper, PV)
c.)  FV (Rate, Nper, Pmt)
d.)  FV (Rate, Nper, PV)
e.)  None of the above.

Answer:  b

21.Which function returns the numbers represented in the string “$56.7”?
a.)  Abs
b.)  CDbl
c.)  Int
d.)  Rnd
e.)  Val

Answer:  b

22.What will the function Val ($165.30) return?
a.)  0
b.)  165
c.)  165.30
d.)  $165.30
e.)  An error

Answer:  a

23.Which function displays a pop-up window?
a.)  MsgBox
b.)  InputBox
c.)  TextBox
d.)  Both a and b.
e.)  All of the above.

Answer:  d

24. Which is true about the prompt argument?                                 
a.)  It can be made of multiple values concatenated into one string.
b.)  It can include the vbCrLf constant.
c.)  It can include the ampersand symbol to concatenate strings.
d.)  Both a and b.
e.)  All of the above.

Answer:  e




25. In order to process a number typed in a TextBox the programmer must:
a.)  use the Val function to convert the Text value.
b.)  use the CDbl function to convert the Text value.
c.)  use the IsNumeric function to convert the Text value.
d.)  Both a and b. 
e.)  All of the above. 

Answer:  d
Mukesh Rajput

Mukesh Rajput

I am a Computer Engineer, a small amount of the programming tips as it’s my hobby, I love to travel and meet people so little about travel, a fashion lover and love to eat food, I am investing a good time to keep the body fit so little about fitness also..

Post A Comment:

0 comments: