Access over 20 million homework & study documents
search

Visual Basic Questions

Content type

User Generated

Subject

Computer Science

School

Santa Monica College

Type

Homework

Rating

Showing Page:
1/2
Visual Basic Questions
1. What is the value of the intCount after the following code fragment end?
Dim intCount As Integer = 0
Do While intCount < 10
intCount += 1
Loop
Answer: 10
2. What must the test be so that the following fragment shows Message Boxes from 5
to 10?
Dim intCount As Integer
For intCount = [Select]
MessageBox.Show(intCount)
Next
Answer: 5 To 10
3. A posttest loop always executes the body of the loop at least once
Answer: True
4. Please complete the following code segment so that the message box will show only the
odd number
For intCount = 1 To 100 [Select]
MessageBox.Show(intCount.ToString())
Next
Answer: Step 2

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/2

Sign up to view the full document!

lock_open Sign Up

Unformatted Attachment Preview

Visual Basic Questions 1. What is the value of the intCount after the following code fragment end? Dim intCount As Integer = 0 Do While intCount < 10 intCount += 1 Loop Answer: 10 2. What must the test be so that the following fragment shows Message Boxes from 5 to 10? Dim intCount As Integer For intCount = [Select] MessageBox.Show(intCount) Next Answer: 5 To 10 3. A posttest loop always executes the body of the loop at least once Answer: True 4. Please complete the following code segment so that the message box will show only the odd number For intCount = 1 To 100 [Select] MessageBo ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
Excellent! Definitely coming back for more study materials.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4