WPF-MCQ For Freshers & Experienced

  • Question 1) WPF stands for - Windows Presentation Foundation.
  • Question 2) _________________ layout isn't available in WPF.
  • Question 3) WPF is a replacement to
  • Question 4) XBAP stands for
  • Question 5) WPF application can be deployed by
  • Question 6) WPF 4.0 supports multi-touch input on Windows 7 and above.
  • Question 7) What is the full form of BAML?
  • Question 8) we can store the ContextMenu in Resource so that we can reuse it for various control on a form.
  • Question 9) FrameworkElement is derived from
  • Question 10) which is dependency property in this code
  • Question 11) Which of the following is routing strategy of Routed events?
  • Question 12) Which of the following is routing strategy of Routed events?
  • Question 13) In DockPanel Child controls are aligned to the edges of the panel.
  • Sharad Jaiswal
  • 06th Mar, 2020
  • 634 Followers

WPF-MCQ
Updated ON

06th Mar, 2020

No. of Questions

20

Posted In

MCQ

Author

Sharad Jaiswal

Q1. WPF stands for - Windows Presentation Foundation.

  • True
  • False
View Answer
True, WPF stands for - Windows Presentation Foundation.

Q2. _________________ layout isn't available in WPF.

  • StackPanel
  • Table
  • Canvas
  • All of the above
View Answer
Table layout isn't available in WPF.

Q3. WPF is a replacement to

  • IndirectX
  • DirectX
  • Both 1 and 2
  • None of the above
View Answer
WPF is a replacement to DirectX.

Q4. XBAP stands for

  • XAML Based Application
  • XAML Browser Application
  • Both 1 and 2
  • None of the above
View Answer
XBAP stands for XAML Browser Application.

Q5. WPF application can be deployed by

  • ClickTwice
  • ClickOnce
  • ClickThrice
  • All of the above
View Answer
WPF application can be deployed by ClickOnce.

Q6. WPF 4.0 supports multi-touch input on Windows 7 and above.

  • True
  • False
View Answer
True, WPF 4.0 supports multi-touch input on Windows 7 and above.

Q7. What is the full form of BAML?

  • Both Application Markup Language
  • Binary Application Markup Language
  • None of the above
View Answer
The full form of BAML is Binary Application Markup Language.

Q8. we can store the ContextMenu in Resource so that we can reuse it for various control on a form.

  • True
  • False
View Answer
True, we can store the ContextMenu in Resource so that we can reuse it for various control on a form.

Q9. FrameworkElement is derived from

  • ContentControl
  • Application
  • Control
  • UIElement
View Answer
FrameworkElement is derived from UIElement.

Q10. which is dependency property in this code

  • Canvas.Left
  • Canvas
  • Width
  • None of above
View Answer
Canvas.Left is dependency property in this code.

Q11. Which of the following is routing strategy of Routed events?

  • Bubbling
  • Tunneling
  • Direct
  • All of the above
View Answer
All of above are routing strategy of Routed events.

Q12. Which of the following is routing strategy of Routed events?

  • Bubbling
  • Tunneling
  • Direct
  • All of the above
View Answer
All of above are routing strategy of Routed events.

Q13. In DockPanel Child controls are aligned to the edges of the panel.

  • True
  • False
View Answer
True, in DockPanel Child controls are aligned to the edges of the panel.

Q14. All XAML resources should have an________attribute in WPF.

  • x:Class
  • x:Value
  • x:Key
  • None of these
View Answer
All XAML resources should have an x:Kye attribute in WPF.

Q15. WPF transformations can be used for

  • Only rotaion
  • Only scaling
  • Only skewing
  • rotation, scaling, and skewing
View Answer
WPF transformations can be used for rotation, scaling, and skewing.

Q16. Can we design web-based app in WPF without XAML as well?

  • Yes
  • No
View Answer
Yes, we can design web-based app in WPF without XAML as well.

Q17. Which of the following types of windows in WPF?

  • Page Window
  • Normal Window
  • Navigation Window
  • All of the above
View Answer
Normal Window, Navigation Window and Page Window are the different types of windows in WPF.

Q18. Which of the following type of layout panels in WPF?

  • Uniform Grid
  • Dock Panel or Stack Panel
  • Wrap Panel
  • All of the above
View Answer
All types of layout panels in WPF.

Q19. Which of the following method used by the data objects in WPF?

  • GetFormats or GetDataPresent
  • GetData
  • SetData
  • All of the above
View Answer
All methods are used by the data objects in WPF.

Q20. What are the standard file formats supported by the WPF framework?

  • HTML
  • RTF< String
  • CSS file
  • All of the above
View Answer
All are the standard file formats supported by the WPF framework.

About Author :

  • Author of WPF-MCQ

    Sharad Jaiswal

    Sharad Jaiswal is Sr. Web Developer from Noida area. He have rich experience in PHP, Angular Js, React, javascript and Node .If you any query or project on these programming you can drop your enquiry in comment section.

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.