MCQ Bank
Which of the following is an example of tunnel key event?
- A) Key down
- B) Preview key down
- C) Key up
- D) Preview key entered
Identify the pre-defined built in command(s):
- A) DockPanel
- B) Close
- C) StackPanel
- D) ProgressBar
To plug in custom logic, you need to add a ________ to the element that will execute the command or any parent element.
- A) HelpCanExecute
- B) Execute Command
- C) RoutedUICommand
- D) CommandBinding
Stylus can behave same as _______ but has higher resolution.
- A) Touchpad
- B) Keyboard
- C) Mouse
- D) Joystick
Which one of the following panels is most powerful, versatile and customizable?
- A) Canvas panel
- B) Grid Panel
- C) Doc panel
- D) Stack panel
Button and Texbox have _________ Knowledge of each other.
- A) Important
- B) Partial
- C) Direct
- D) No Direct
To check that the user either pressed left Alt key or right Alt key, the __________ is used.
- A) KeyStates.IsKeyDown
- B) keyboardDevice.IsKeyDown
- C) IsDown
- D) IsKeyDown
We use "UIElement" property ClipToBounds= “true” when _____________________.
- A) We want area child element don’t cross the boundary of parent
- B) Parent area also decreases on decreasing the area of child element
- C) Parent area also increases on increasing of area of child element
- D) We want area of child element is allowed to cross the boundary of parent
Which one of the following is the default panel in Visual Studio and expression blend?
- A) Canvas
- B) Grid
- C) Wrap Panel
- D) Stack Panel
In Bubbling, event moves from ______
- A) Top to Bottom
- B) Right to Left
- C) Bottom to Top
- D) Left to Right
Default value of Grid.Row is __________
- A) 0
- B) 1
- C) 3
- D) 2
"dock" property in WPF DockPanel has _________ possible values.
- A) Two
- B) Four
- C) One
- D) Three
To design a complex Interface, which of the following technique is best to achieve the required results?
- A) Panels composed in three panels
- B) Panels composed within panels
- C) Panels composed in two panels
- D) Panels composed in single panel
When a user select element from listbox, after selecting compiler marked the selected element as____
- A) Fix
- B) Handled
- C) Bubble
- D) Selected
Which of the following device is sensitive to pressure?
- A) Keyboard
- B) Mouse
- C) Stylus
- D) Printer
We use "UIElement" property ClipToBounds= “false” when ________________________.
- A) Parent area also increases on increasing of area of child element
- B) We want area of child element is allowed to cross the boundary of parent
- C) We want area child element don’t cross the boundary of parent
- D) Parent area also decreases on decreasing the area of child element
Which of the following method is used to get the location of touch?
- A) getTocuhLocation();
- B) getTouch();
- C) getTouchpoint();
- D) getTouchDown();
Suppose we have two elements in grid one is button and other is rectangle,which property will be helpful to set position of button on top of the rectangle?
- A) Sizing
- B) Transform
- C) Z index
- D) Stack Panel
In grid, elements are arranged in multicolumn and multirow like a ________ in HTML.
- A) Table
- B) Column
- C) List
- D) Paragraph
__________ allow attaching a handler for an event that is defined in an element other than the one adding the handler.
- A) Bubbling
- B) Routed Event
- C) Tunneling
- D) Attached Event