Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help with a group of questions based on Microsofts Visual Basic 2012 8th

ID: 3773440 • Letter: I

Question

I need help with a group of questions based on Microsofts Visual Basic 2012 8th edition.

Chatper 8 knowledge check:

17. If a binary search returns a negative value, what does that mean?

18. What is the default value of the elemts in an array called intTopSpeed()?

19. Write a statement that hides the windows form object that is currently open in an application.

20. Write the statement that would initialize the variable intFinalExam as a Public Shared class-level variable that can be accessed in other Windows Form objects.

Explanation / Answer

17) If a binary search returns a negative value then:

The return value is the index of the specified value in the specified array, if value is found. If value is not found and value is less than one or more elements in array, a negative number which is the bitwise complement of the index of the first element that is larger than value. If value is not found and value is greater than any of the elements in array, a negative number which is the bitwise complement of (the index of the last element plus 1).

18 The defualt value of the elements in the array is 0 since it is an integer array.

19) Statement that hides the windows form object that is currently open in an application:

Answer 20)public class myClass

public shared intFinalExam as Integer

end class

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote