True or false visual <?xml:namespace prefix = o ns = \"urn:schemas-microsoft-com
ID: 3553174 • Letter: T
Question
True or false visual <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /?>
1. All object are passed by reference
2. This list box control allows only single selection like a radio button, whereas the checked list box allows multiple sections
3. Visual basic considers the variable number and NuMbEr to be different
Fill in blank
------Begins a comments
A visual basic program uses a an -------------- statement to indicate that a namespace is being used
Method convert Int32 throws an------------------------ exception if its argument is not valid inger value.
Write a statement of a set of statements to accomplish each of the following
Sum the odd integers between 1 and 99 using a while structure. Assume that variable sum and count have been declared explicitly as integers.
Write a for statmnets that generates only the odd numbers between 15 and 45
Write a dim statements a create a new object of the cls CreditCard class. Name variable that represents the object newcard.
Write a statement that exits a while loop
Find a error in the following program segments and explain how error can be corrects.
Function addttogether(By Val num1 as integer, num2 as Integer)
Dim result as integer
Result = num1 + num2
End Function.
Find a error and correct it
Sub printer this (By Val a lists as single)
Dim alist as single
Console. WriteLine(alists)
End sub
.
Explanation / Answer
Dear,
1. False, there is specific consideration/rule that all objects are passed by reference as some are passed to function by value.
2. True.
Blanks
namespace
4. I/O exception
5.
Dim sum As Integer
Dim i As Integer
sum=0
i=1
Do while i< 99
if i%2! =0 Then
sum = sum + i
ENDIF
i++
Loop
6.
Dim sum As Integer
Dim i As Integer
i=14
Do while i< 45
if i%2! =0 Then
console.writeline(i)
ENDIF
i++
Loop
7. Dim objectNew As CreditCard
8 Exit While statement exits while loop
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.