2012

UNIT-1: Introduction040020103 to WPF -andRich XAML Application Development Short Questions 1. What is WPF? 2. What is XAML? 3. What are the functions of user32 in windows operating system? 4. What are the functions of GDI/GDI+ in windows operating system? 5. What is DirectX? How DirectX is efficient? 6. What is WDDM? 7. What is rendering tiers? 8. What are WPF units? 9. What is system DPI? 10. How do you create WPF application without using XAML? 11. How container control represented in XAML? 12. How to represent a control which doesn’t contain other item in XAML? 13. What is XAML attribute? 14. What is object tree? 15. What is logical tree? 16. What is visual tree? 17. What is Silver Light? 18. What are the three kind of application can be created through WPF? 19. What is XBAP? 20. What is retain-mode graphics? 21. How graphics performance enhanced in WPF? 22. Does that mean WPF has replaced DirectX? 23. Is XAML meant only for WPF? 24. List different namespaces and classes in WPF? Long Questions

1. State the differences between WPF and Silvr Light. 2. What kind of application can be created through WPF? Explain in brief. 3. What are the major goals and benefits of WPF? 4. How WPF application supports high-resolution ? 5. What are the disadvantages of WPF applications? 6. Write a note on Evolution of Windows Graphics. 7. Draw the hierarchy of fundamental classes of WPF. Also explain functionality of each class. 8. How does WPF accelerate hardware performance? 9. Explain how WPF provide hardware independency. 10. What is the need of WPF when we had GDI, GDI+ and DirectX? 11. Write a note on variant of XAML. 12. Explain the process of XAML compilation. 13. How WPF applications are resolution independence? 14. Explain WPF architecture in detail.

Mr. Manish Vala Page 1 2012

15. Explain functionality of milcore.dll. 16. Which are the040020103 different namespaces- Rich and classes Application in WPF? Development 17. Explain the different elements involved in WPF application practically? 18. What is the relationship between Silver Light, WPF and XAML? 19. Explain architecture of Silver Light. 20. Explain fundamental classes of WPF. 21. Explain new features of WPF 4.0. 22. Explain different variant of XAML? 23. How WPF assigns rendering tier values? 24. Write a note on evolution of WPF from release 3.0 to 4.0.

Multiple Choice Questions

1. Which of the following provides the familiar Windows look and feel for elements such as windows, buttons, text boxes, and so on a. GDI/GDI+ b. DirectX c. User32 d. None of above

2. Which of the following component contains top-Level WPF types such as windows and panel? a. PresentationCore.dll b. PresentationFramework.dll c. WindowsBase.dll d. milcore.dll

3. Which of the following holds base types, such as UIElement and Visual, from which all shapes and Controls derive? a. PresentationCore.dll b. PresentationFramework.dll c. WindowsBase.dll d. milcore.dll

4. Which of the following component known as Media Integration Layer? a. PresentationCore.dll b. PresentationFramework.dll c. WindowsBase.dll d. milcore.dll

5. Which of the following is referred to as engine for managed graphics? a. PresentationCore.dll b. PresentationFramework.dll c. WindowsBase.dll d. milcore.dll

Mr. Manish Vala Page 2 2012

6. Which of the following040020103 provided low- Richlevel API Application for imagine support? Development a. Direct3D b. WindowsBase.dll c. WidowsCodecs.dll d. milcore.dll

7. Which of the following is responsible for rendering graphics in WPF? a. PresentationCore.dll b. milcore.dll c. Direct3D d. User32

8. Which of the following class support for WPF essentials such as layout, input, focus, and events (which the WPF team refers to by the acronym LIFE)? a. System.Windows.Media.Visual b. System.Windows.Controls.Control c. System.Windows.UIElement d. System.Windows.FrameworkElement

9. Which of the following is the base class for all controls that have a single piece of content a. System.Windows.Controls.Panel b. System.Windows.Controls.ContentControl c. System.Windows.Controls.ItemsControl d. System.Windows.FrameworkElement

10. Which of the following is the base class for all controls that show a collection of items? a. System.Windows.Controls.Panel b. System.Windows.Controls.ContentControl c. System.Windows.Controls.ItemsControl d. System.Windows.FrameworkElement

Fill in Blank

1. XAML stands for ______. 2. Standard windows application in windows operating system relies on ______and ______for creating user interface. 3. WPF uses ______graphics technology. 4. The top-level WPF types, including those that represent windows, panels, and other types of controls are directly come from ______assembly. 5. All shapes and controls are derived from ______assembly.

Mr. Manish Vala Page 3 2012

6. Desktop () uses ______to render the desktop. 7. ______renders040020103 all the drawing- inRich WPF . Application Development 8. GPU stands for ______. 9. WDDM stands for ______. 10. The core WPF namespaces begin with ______11. Each WPF application is governed by a ______that coordinates messages.

True/False

1. XAML is not required to make a WPF application. 2. Silver Light includes all the features of WPF. 3. Silver Light formally known as WPF/e, where e stands for extended. 4. Control’s style can be changed once assigned in Silver Light. 5. WPF uses bitmap graphics. 6. WPF is a wrapper for GDI/GDI+. 7. User32 renders all drawing in WPF. 8. Content control can hold any number of elements. 9. Every element of XAML document maps to an instance of .NET class. 10. XAML is not case sensitive. 11. Type converter in XAML is not case sensitive. 12. WPF doesn’t require XAML. 13. XAML is bound by rule of XML.

Mr. Manish Vala Page 4