Visual Programming MCQs with Answers
Practice important Visual Programming MCQs with answers and explanations.
Multiple Choice Questions
Q461: What is the role of ManipulationDelta event in WPF?
- A: Handles changes in manipulation such as translation, scaling, and rotation
- B: Initializes manipulation events
- C: Captures touch events
- D: Completes the manipulation event
View Answer
A
Q462: What property must be set to true for an element to participate in manipulation events?
- A: IsManipulationEnabled
- B: IsManipulationActive
- C: ManipulationEnabled
- D: ManipulationEventsEnabled
View Answer
A
Q463: What is ManipulationInertiaStartingEventArgs used for?
- A: To set properties for inertia behavior after manipulation ends
- B: To initialize manipulation events
- C: To start manipulation events
- D: To capture touch points
View Answer
A
Q464: In the Canvas_ManipulationDelta method, what is applied to the MatrixTransform?
- A: Translation, rotation, and scaling adjustments
- B: Only translation adjustments
- C: Only scaling adjustments
- D: Only rotation adjustments
View Answer
A
Q465: What does the Canvas_ManipulationInertiaStarting method adjust?
- A: Desired deceleration for translation, rotation, and expansion behavior
- B: The starting point for manipulation
- C: The translation and scaling of the image
- D: The initial touch points on the canvas
View Answer
A
Q466: What event is used to handle boundary feedback in manipulation?
- A: ManipulationBoundaryFeedback
- B: ManipulationDelta
- C: ManipulationStarting
- D: ManipulationCompleted
View Answer
A
Q467: What does setting ManipulationModes to Rotate in Grid_ManipulationStarting achieve?
- A: Restricts manipulation to rotation only
- B: Enables translation and scaling
- C: Enables both translation and rotation
- D: Disables all manipulation
View Answer
A
Q468: What is the ManipulationCompleted event used for in the SpinThePrizeWheel example?
- A: To notify the user of the result after the manipulation has ended
- B: To start the rotation of the prize wheel
- C: To adjust the deceleration of the rotation
- D: To apply the transformation to the image
View Answer
A
Q469: What does the Grid_ManipulationDelta method update?
- A: The angle of rotation for the prize wheel
- B: The position of the touch point on the canvas
- C: The scaling of the image
- D: The background color of the window
View Answer
A
Q470: How does ManipulationInertiaStartingEventArgs affect the manipulation behavior?
- A: It allows setting deceleration for the end of manipulation
- B: It starts the manipulation process
- C: It cancels the ongoing manipulation
- D: It initializes the manipulation event
View Answer
A