WPF and Silverlight Introduction

This test contains basic and advanced questions related to Silverlight and WPF concept. This test is useful for CS students and other competitive aspirants.

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is not a criterion to evaluate a localisation mechanism in WPF application?

  1. Dynamic language switching
  2. Usage in XAML and code
  3. Types of applicable resources
  4. Ease and flexibility of use
  5. Database migration
Question 2 Multiple Choice (Single Answer)

Which of the following is not a feature of Silverlight?

  1. It has a built-in CLR engine.
  2. It has a rich framework of built-in class library.
  3. It provides an unmanaged HTML DOM API.
  4. Silverlight supports PHP or Linux environment.
  5. It supports a WPF UI programming model.
Question 3 Multiple Choice (Single Answer)

What is the role of 'translation manager' in localisation of a WPF application?

  1. It provides access to non-translated resources.
  2. It manages the current language and notifies all mark-up extensions.
  3. It listens to the LanguageChanged event of the translation manager and updates its value.
  4. It provides the translated resources.
  5. It can access any kind of resources like ResX, XML or text files.
Question 4 Multiple Choice (Single Answer)

Which of the following is an incorrect statement about Silverlight.js file?

  1. Silverlight.js file is a Java script helper file.
  2. getSilverlight is used for even handlers.
  3. WaitForInstallCompletion function does not exist in Silverlight.
  4. It has methods to perform object creating either internally or externally.
  5. The Silverlight.js file is installed along with Silverlight 2 SDK.
Question 5 Multiple Choice (Single Answer)

Which of the following statements is incorrect about clipping in Silverlight?

  1. It is used for image modification.
  2. The clip property is defined in the UIElement class.
  3. XAML code can be used with clipping.
  4. It provides various services which are commonly needed by Silverlight application.
  5. <image.clip>Tag is used for editing/modifying images.</image.clip>
Question 6 Multiple Choice (Single Answer)

What is the role of Expression Blend in the Silverlight Tool Kit?

  1. It is used to create web-based products.
  2. It is used for developing windows or console applications.
  3. It is used for creating user interfaces.
  4. It is used to initialise structured values and objects.
  5. It is used to set the browser's compatibility.
Question 7 Multiple Choice (Single Answer)

What is the role of XAML component in Silverlight applications?

  1. It is used to create and manage the UI layouts.
  2. It handles the playback of MP3, WMA standard, WMV7 and WMV8 streams.
  3. It manages rendering of bitmap images, vector graphics, text and animations.
  4. It handles input from devices like keyboard, mouse, etc.
  5. It handles events from the servers.
Question 8 Multiple Choice (Single Answer)

Which of the following is an incorrect statement about Silverlight applications?

  1. It is used to develop web applications.
  2. Silverlight is a subset of WPF.
  3. Silverlight is not used for developing enhanced graphics applications.
  4. Silverlight does not use XAML for user interfaces.
  5. Silverlight can be used for desktop applications.
Question 9 Multiple Choice (Single Answer)

Which of the following components is not included in core presentation framework in Silverlight architecture?

  1. Services
  2. Light weight UI controls
  3. Media playback
  4. Data binding
  5. Base class libraries
Question 10 Multiple Choice (Single Answer)

Which of the following is an incorrect statement about ASX files in Silverlight applications?

  1. It is the file used for media playlist.
  2. By assigning the ‘source’ property, the ASX file is usable.
  3. It can perform event handling.
  4. It can support data synchronisation.
  5. These files are used to synchronise the tasks.
Question 11 Multiple Choice (Single Answer)

Which of the following statements is false about .xap file?

  1. It is an application package.
  2. It is used to create client-based apps.
  3. This file uses and manages codes.
  4. This file consists of an AppManifest.xaml file.
  5. EntryPointAssembly attribute describes the DLL file.
Question 12 Multiple Choice (Single Answer)

Which of the following statements is false about dependency properties in Silverlight?

  1. These are specific to the CLR (Common Language Runtime).
  2. These properties compute the value of a property that is based on the value of other inputs.
  3. These provide computation of properties like JIT, animation, etc.
  4. These are supported by base class libraries.
  5. These can be implemented by callback events.
Question 13 Multiple Choice (Single Answer)

Which of the following is an incorrect statement about Silverlight application life cycle?

  1. The entry point of Silverlight applications is Silverlight application class.
  2. The life cycle has a plug-in to host any site.
  3. The web page prompts to install Silverlight browser plug-in.
  4. CLR creates an object of application class in this life cycle.
  5. There can be any number of instances possible for the application.
Question 14 Multiple Choice (Single Answer)

Which of the following statements is false about XAML (Extensible Application Markup Language)?

  1. It is an XML-based markup language.
  2. It is used for visual presentation of the application development.
  3. These files also support parsing.
  4. When a XAML based project is built, a “g.cs” file is created in obiDebug folder.
  5. These files also support data migration.
Question 15 Multiple Choice (Single Answer)

Which of the following is not a benefit of using Silverlight?

  1. It supports text files.
  2. It supports highest quality videos.
  3. It supports cross-platform and cross-browser applications.
  4. It has multi-language support.
  5. It can be used in Visual Studio for easier access.