To Exam Info
Final Exam Review Questions
 
- What is the difference between a property and a method?
- Explain the difference between these types of programming errors:
compiler, exception, logic.
- What are the advantages and disadvantages of using variables of
type Integer vs. Double?
- What are the three ways that Intellisense can help you?
- Give two ways of connecting an event handler to the event that
it is supposed to handle.
- Write a VB.NET statement that invokes the constructor for a TextBox
object.
- What is an argument?
- Give an example of a constructor invocation that uses one or more
arguments.
- List ten properties that could apply to any control.
- List ten events that occur in VB.NET.
- Write a VB.NET statement that takes the value of the Double
variable gpa, formats it to three places behind the decimal,
and displays it in the textbox txtGPA.
- What is an assignment operator? Give five examples of assignment
operators in VB.NET.
- Write a Click event handler for the btnPushMe button that
appends an asterisk to the end of the text of that button.
- Name the methods of the String class that you know.
- Name the methods of the ArrayList class that you know.
- The ArrayList object a contains integers. Write code to
print the largest integer to the console.
- Write a For..Each loop that changes the background color of
every control on a form to Cyan.
- Write all of the items in the combo box cb to the output
file c:\output.txt.