Exam 13: Handling Events
Exam 1: A First Program Using C#40 Questions
Exam 2: Using Data39 Questions
Exam 3: Using Gui Objects and the Visual Studio Ide40 Questions
Exam 5: Looping40 Questions
Exam 6: Using Arrays40 Questions
Exam 7: Using Methods39 Questions
Exam 8: Advanced Method Concepts39 Questions
Exam 9: Using Classes and Objects39 Questions
Exam 10: Introduction to Inheritance40 Questions
Exam 11: Exception Handling39 Questions
Exam 12: Using Controls40 Questions
Exam 13: Handling Events41 Questions
Exam 14: Files and Streams40 Questions
Exam 15: Making Decisions40 Questions
Select questions type
When you click a component on a Form in Design View, you move to the default method code.
(True/False)
5.0/5
(43)
What provides a way for the clients of a class to dictate methods that should execute when an event occurs?
(Multiple Choice)
4.9/5
(40)
What is another term for the performing of an action, such as the click of a button by a user?
(Multiple Choice)
4.9/5
(40)
In C#, when something interesting happens to an object, what is said to have occurred?
(Multiple Choice)
4.9/5
(35)
When a Form contains multiple Controls, you can create a separate event handler for each Control.However, you can also associate the same event handler with multiple Controls.Describe how to associate an existing event handler with a second Control using the IDE.
(Essay)
4.7/5
(34)
What event occurs when the mouse cursor leaves the Control's boundaries?
(Multiple Choice)
4.9/5
(41)
The connection of an event to its resulting actions is known by what term?
(Multiple Choice)
4.9/5
(38)
What is an important difference between KeyEventArgs properties and KeyPressEventArgs properties?
(Essay)
4.7/5
(32)
Assume you declare three delegates named delegate1, delegate2, and delegate3.You then assign a reference to method M1() to delegate1, and a reference to method M2() to delegate2.How do you make delegate3 into a composed delegate that executes both M1() and M2()? What are the rules concerning return type and parameter list for composed delegates?
(Essay)
4.9/5
(44)
Describe the methods that could be encapsulated by a delegate that has been defined as: delegate void GreetingDelegate(string s);
(Essay)
4.7/5
(36)
In a button event-handler parameter list, the second argument is an object of what type?
(Multiple Choice)
4.9/5
(37)
The code generated in Design mode in the IDE is not meant to be altered by typing.You should modify Control properties through the Properties window in the IDE.
(True/False)
4.9/5
(46)
For events that do not use additional information, the .NET Framework has already defined an appropriate delegate type with what name?
(Multiple Choice)
4.9/5
(32)
What property stores the key code along with any modifier key for a key event?
(Multiple Choice)
4.9/5
(41)
Depending on the event, the delegate used to create the keyboard event handler is either KeyEventHandler or what other event handler?
(Multiple Choice)
4.8/5
(32)
What class has a static field named Empty that represents an event that contains no event data?
(Multiple Choice)
4.8/5
(35)
Showing 21 - 40 of 41
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)