Exam 3: Variables and Calculations

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

You can perform all of the following actions with variables except:

Free
(Multiple Choice)
4.9/5
(42)
Correct Answer:
Verified

B

Which of the following is not a valid Visual Basic data type?

Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
Verified

B

In order to execute code before a form is displayed, place the code in the form's _event handler.

Free
(Multiple Choice)
4.9/5
(29)
Correct Answer:
Verified

B

If you want to display multiple lines of information in a message box, use the constant .

(Multiple Choice)
4.8/5
(34)

Only controls capable of receiving some sort of input, such as __, may have the focus.

(Multiple Choice)
4.8/5
(38)

The order in which controls receive the focus is called the .

(Multiple Choice)
4.9/5
(26)

The operator performs string concatenation.

(Multiple Choice)
4.8/5
(39)

What will be assigned to the label when the following statements execute? Dim dblVal As Double = 11.75 LblResult.Text = dblVal.ToString"n3")

(Multiple Choice)
4.8/5
(35)

All of the following are advantages of using named constants except

(Multiple Choice)
4.8/5
(37)

Which of the following declares a variable that can store the first name of a student?

(Multiple Choice)
4.9/5
(33)

Which statement is true regarding the CInt function?

(Multiple Choice)
5.0/5
(42)

A form's Load event takes place when the user first clicks on the form at run time.

(True/False)
4.9/5
(42)

Which will be displayed in the label lblResult following execution of the code below? Dim dblGrossPay as Double DblGrossPay = 3500 LblResult.Text = dblGrossPay.ToString"c")

(Multiple Choice)
4.9/5
(40)

A keyboard access key is assigned to a button using the button control's _property.

(Multiple Choice)
4.7/5
(42)

The statement to declare strName as a variable that can hold character data is .

(Multiple Choice)
4.9/5
(32)

Declaration statements ____.

(Multiple Choice)
4.9/5
(44)

The contents of a text box may be cleared in Visual Basic code by .

(Multiple Choice)
4.9/5
(34)

All numeric and date data types have a _method that returns a string representation of the contents of the variable.

(Multiple Choice)
4.8/5
(41)

A class-level variable ____.

(Multiple Choice)
4.8/5
(39)

What is the value of intE after the following statements execute? Dim intC As Integer Dim intD As Integer Dim intE As Integer IntC = 20 IntD = 3 IntE = intC \ intD

(Multiple Choice)
4.8/5
(30)
Showing 1 - 20 of 41
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)