Programming Fundamentals II (Chapter 9 - Introduction to Windows Programming)
Instead of running or executing a dynamic link library file (DLL), you use the ____________ option to create the .DLL component.
Build
The default event-handler method for CheckBox objects is ____________.
CheckedChanged( )
All exception classes inherit from the ____ class. SystemException Exception ApplicationException BaseExcecption
Exception
A breakpoint is a point in output that separates correct from incorrect results. True or False?
False
All .NET languages support multiple inheritance. True or False?
False
For classes of animal and dog, animal would be considered the derived class. True or False?
False
It is not necessary to add a reference to a .dll file if the file is stored in the same project subdirectory. True or False?
False
Multiple classes can implement the same interface, but a class can implement only one interface. True or False?
False
Multiple selections cannot be made from a ListBox control object. True or False?
False
Probably the most commonly used control for both input and output is the button because it adds additional functionality to an application. True or False?
False
Text = "An Example"; The statement above adds the text "An Example" as the first entry on the form in the bottom left-hand corner. True or False?
False
The ____ class in the System.Windows.Forms namespace enables you to add more functionality to your application by offering additional user options, such as adding layers of menus. MenuStrip MenuDialog Main DialogMenu
MenuStrip
All changes to the property values can be made in the ____________ window at design time.
Properties
SelectedItems and ____ properties can be used to retrieve items from a ListBox object. Selected SelectedItem Name ListBoxItems
SelectedItem
An attempt to access an element of an array with an index that is outside the bounds of the array throws a ____. System.IndexOutOfRangeException System.ArrayTypeMismatchException System.IndexOutOfBoundsException System.InvalidIndexException
System.IndexOutOfRangeException
The Form property used to set the title bar on the Windows form is ____. Title Caption Text Bar
Text
Button, Label, TextBox, ComboBox, MenuStrip, ListBox, CheckBox, RadioButton, and MonthCalendar are all examples of classes. True or False?
True
The Items, SelectedItems, and SelectedIndices properties are useful for retrieving selected items from the ListBox object. True or False?
True
Double-clicking on the form when you are using the Form Designer brings up the Code Editor and also ____. creates a syntax error registers a double click event runs the application adds a form load method heading
adds a form load method heading
After a button click event is registered, the associated method is called ____. using the keyword this. using the object name for the form. using the object name for the button. automatically when the button is clicked.
automatically when the button is clicked.
An instance of the delegate class is called a(n) ____. object instance variable delegate
delegate
Polymorphic programming is associated with the ____________. You do not have to know how the method goes about doing its work. All you have to know is what arguments to send, if any, and what you expect to be accomplished when the object finishes its work.
black box concept
An exception handler is a ____. block of code that is executed when an exception occurs Windows event handler menu option under the debugger trace of methods invoked during the problem
block of code that is executed when an exception occurs
Both var and ____________ enables developers to not associate a specific data type to the actual data when the memory declaration for the variable is written.
dynamic
Multiple inheritance is not possible in C#; ____ provides the closest work around to this because a class can implement multiple ____. interfaces abstract classes virtual classes components
interfaces
A(n) ____________ is a listing of all the methods that are in the execution chain when the exception is thrown.
stack trace
The process that includes identifying an event, such as a button click as being of interest, and associating a method to be executed when the event occurs describes ____. wiring an event delegating an event balancing an event referencing an event
wiring an event
