WPF and Silverlight Introduction

This Test consists of WPF with Silverlight related topic. The questions are useful for the GATE and other exams,

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the role of PresentationCore.dll portion of managed code in Managed layer of Windows Presentation Foundation (WPF)?

  1. This portion holds the top level WPF elements like Windows, panels, controls, styles, etc.
  2. It implements the end-user presentation features.
  3. It provides a managed wrapper for MIL and implements the core services for WPF such as UI Element and visual from.
  4. It holds basic elements to be reused outside the WPF environment like Dispatcher objects and Dependency objects.
  5. Both (2) and (3)
Question 2 Multiple Choice (Single Answer)

What is the role of PresentationFramework.dll portion of managed code in Managed layer of Windows Presentation Foundation (WPF)?

  1. This portion holds the top level WPF elements like Windows, panels, controls, styles, etc.
  2. It implements the end-user presentation features.
  3. It provides a managed wrapper for MIL and implements the core services for WPF such as UI Element and visual from.
  4. It holds basic elements to be reused outside the WPF environment like Dispatcher objects and Dependency objects.
  5. Both (1) and (2)
Question 3 Multiple Choice (Single Answer)

What is the role of WindowsBase.dll portion of managed code in Managed layer of Windows Presentation Foundation (WPF)?

  1. This portion holds the top level WPF elements like Windows, panels, controls, styles, etc.
  2. It implements the end-user presentation features.
  3. It provides a managed wrapper for MIL and implements the core services for WPF such as UI Element and visual from.
  4. It holds basic elements to be reused outside the WPF environment like Dispatcher objects and Dependency objects.
  5. None of the above
Question 4 Multiple Choice (Single Answer)

What are the benefit of using WPF in .Net framework?

  1. It provides low development and maintenance cost.
  2. Multiple design tools can be used to implement and share XAML mark-up.
  3. It provides, clear separation between the UI and logic.
  4. It provides easier understanding of Silverlight.
  5. All of the above
Question 5 Multiple Choice (Single Answer)

Which of the following is/are false about Silverlight SDK?

  1. It is a set of tools, documentation, samples and templates for the web developers.
  2. It is a plug-in for browsers to support Silverlight enabled applications.
  3. Silverlight SDK is not really mandatory to develop Silverlight applications.
  4. Both (1) and (2)
  5. Both (1) and (3)
Question 6 Multiple Choice (Single Answer)

Which of the following is/are the correct statement(s) for the WindowsCodecs.dll layer in WPF architecture?

  1. This layer comes under the category of unmanaged layer in WPF architecture.
  2. It is used for imaging support in WPF applications like image processing.
  3. It holds the top level WPF elements.
  4. This layer is used to provide interface directly with DirectX and provide basic support for 2D and 3D surface.
  5. Both (1) and (2)
Question 7 Multiple Choice (Single Answer)

Which of the following is/are correct about App.xaml file?

  1. This file is the loader of Silverlight Application.
  2. In this file, we can declare your shared/global resources, styles and templates.
  3. The Application_Exit event can occur in App.xaml.cs file.
  4. All of the above
  5. Both (1) and (2)
Question 8 Multiple Choice (Single Answer)

Which of the following is/are applicable for Silverlight?

  1. Silverlight provides a simple user interface for developers.
  2. It provides high Compatibility.
  3. Silverlight offers cross-domain support for applications.
  4. All of the above
  5. Both (1) and (2)
Question 9 Multiple Choice (Single Answer)

Which of the following is/are the features of Windows Presentation Foundation (WPF)?

  1. WPF is based on XAML.
  2. WPF is a Graphical subsystem which provides visually stunning user interfaces in Windows based applications.
  3. WPF can be used for data manipulation.
  4. All of the above
  5. Both (1) and (3)
Question 10 Multiple Choice (Single Answer)

Which of the following is/are the incorrect statements about Silverlight and WPF?

  1. Silverlight is a subset of WPF.
  2. WPF is used to develop enhanced graphics applications for desktop platform.
  3. WPF supports 3D graphics.
  4. WPF uses cross platform .Net runtimes.
  5. None of the above
Question 11 Multiple Choice (Single Answer)

Which of the following is/are the correct statement(s) for the milCore.dll layer in WPF architecture?

  1. milCore.dll layer comes under the category of managed layer in WPF architecture.
  2. This layer is used to provide interface directly with DirectX.
  3. It is used for imaging support in WPF applications like image processing.
  4. It holds the top level WPF elements.
  5. All of the above
Question 12 Multiple Choice (Single Answer)

Which of the following is/are the incorrect statement(S) about Silverlight version2?

  1. It supports manage code.
  2. .NET runtime is mandatory to run the Silverlight 2 applications.
  3. Silverlight 2 is only based on JavaScript and XAML.
  4. Silverlight 2 uses Dynamic Language Runtime (DLR) for compilation and execution of the dynamic scripting languages.
  5. Both (2) and (3)
Question 13 Multiple Choice (Single Answer)

What is the role of UserControl in Page.xaml file?

  1. It holds all other UI elements in a .xaml file.
  2. It is used as a layout panel.
  3. All UI elements in a .xaml control must be placed within a layout panel in User control.
  4. All of the above
  5. Both (1) and (3)
Question 14 Multiple Choice (Single Answer)

Which of the following is/are applicable for the replacement of WinForms by WPF?

  1. WinForms does not provide better binding capabilities.
  2. WPF provides better UI customization and graphics.
  3. WPF provides clear separation between the UI and logic.
  4. All of the above
  5. Both (1) and (3)
Question 15 Multiple Choice (Single Answer)

Which of the following content type is not possible in Application navigation security?

  1. Resource
  2. Site of origin
  3. Application code
  4. Content
  5. None of the above
Question 16 Multiple Choice (Single Answer)

What is safe navigation in WPF security?

  1. In this navigation, it changes the content and location URL of a browser itself.
  2. In this navigation, it can be identified with a pack URI.
  3. Safe navigation is based on browser and application level.
  4. Safe navigation is not possible in WPF security.
  5. (1), (2) and (3) are correct
Question 17 Multiple Choice (Single Answer)

Which of the following is/are false statement(s)?

  1. The default xaml file page.xaml is created on creating the new Silverlight project.
  2. The default content of page.xaml file does not have User control.
  3. The compiled assembly file of Silverlight application has the .xap extension.
  4. The compiled assembly file of Silverlight application does not have any .xap extension.
  5. Both (2) and (4)
Question 18 Multiple Choice (Single Answer)

Which of the following statement(s) determine the characteristics of WWF XAML?

  1. It describes the Windows Workflow Foundation content.
  2. WPF XAML is used for Silverlight applications.
  3. WPF XAML also have XPS XAML which defines an XML representation of electronic documents.
  4. All of the above
  5. Both (1) and (3)
Question 19 Multiple Choice (Single Answer)

Which of the following statement(s) is/are false?

  1. Silverlight applications are delivered to browsers in a text-based mark-up language.
  2. XAML is a compiled application.
  3. Silverlight supports video, audio and animations.
  4. Silverlight allows web developers to handle events from web pages.
  5. None of the above
Question 20 Multiple Choice (Single Answer)

Which of the following is/are correct about .xap file?

  1. It is a compressed output file.
  2. In .xap file, the AppManifest.xaml is responsible for compilation of output assembly of the Silverlight project.
  3. The .xap file is used to declaratively specify the user interface for Silverlight or WPF applications.
  4. All of the above
  5. Both (1) and (2)