Elance Microsoft Silverlight Test Answers 2015
·
In Silverlight, can you write code in Visual
Basic?
Yes
No, it must be written in cobal.
No.
No, it can only be written in c.
What needs to be edited to define what is a
recoverable exception?
The ExceptionallyUnhandled handler.
The UnhandledException handler.
The UnderhandedException handler.
The HandledException Unhandler.
Which of the following is a VALID requirement
for XAML event handler attribute index on events of a custom class?
the event must be exposed on a class that supports
a default constructor
The event must be defined on an abstract class
where the event can be handled on derived classes
The event must be exposed as a public event
All of the given options are valid
Which of the following feature of .NET
framework for SIlverlight provides features to simplify access to remote
services and data?
Window Communication Foundation (WCF)
Base class library
CLR (common language runtime)
Data
What is the parser error property,
charPosition?
.PHP
.XML
.ASP
.NET
If you wanted to paint an area with video,
what tool would you use?
VideoBrush
VideoStream
Video Paint
VideoPaste
DomainService (LinqToEntitiesDomainService) s
a main object inside which of the following ?
Windows Communication Foundation (WCF) RIA Services
Windows Communication Foundation (WCF) Data
Services
Windows Communication Foundation (WCF) Services
HTTP Classes
What is one way to deploy resource files in
Silverlight?
Embedded in an external program.
Execute them from a compressed internal library
that is encrypted.
Embedded in an assembly in an external library
package.
Deploy them from secondary resource files.
What must a dependency property be on before
setting its value through data binding?
DependencyObject subclass
ObjectDependency Subclass
DependencySubject Object
DependencySubclass object.
Which of the following .NET framework Class
Library for Silverlight contains classes provides classes that the binary
rewriter can use to handle a contract failure?
System.Diagnostics.Contracts.Internal
System.Contracts.Internal
System.Data.Services.Client
System.Diagnostics.Internal
Which of the following JavaScript API for
Silverlight describes the location and color of a transition point in a
gradient?
GradientStopCollection
GradientStop
GridLength
Grid
Which of the following is a typical operation
that cause a custom control to fail at design time ?
Casting Current to your custom subclass of
Application
All of the given options are valid
Using the FindName method on Current
Not checking whether Application.Current has
returned a value that is null
What are some container objects that shape
objects can be used in?
Box and Grid
Grid and Canvas
Canvas and Screen
Container Canvas
Which of the following is NOT a feature of
core presentation layer?
UI rendering
Deep Zoom
Data
Layout
Which cannot be used in a Silverlight
application to retrieve data?
WCF services
WCF Data Services
WCW classes
HTTP classes
Which of the following Silverlight programming
feature provides safe access from the Silverlight client to the local
computer's file system?
Asynchronous programming
File management
Isolated storage
Serialization
Which of the following Core Presentation
Component feature enables dynamic positioning of UI elements?
Controls
UI rendering
Layout
Deep Zoom
There are two ways to embed the Silverlight
plug-in into your Web page. What are they?
Silverlight embedding tool and Microsoft helper
file.
HTML object element, and Silverlight.js helper
file.
HTML subject element, and Silverlight.js helper
file.
XTML object element and Silverlight.js helper file.
Silverlight supports which of the following
programming models?
JavaScript API for Silverlight
Both JavaScript API and Managed API for Silverlight
C# API for Silverlight
Managed API for Silverlight
Which of the following feature of .NET
framework for SIlverlight provides heap management and garbage collection
process ?
Window Communication Foundation (WCF)
Base class library
Data
CLR (common language runtime)
Which of the following is the main reason for
implementing Silverlight runtime internally as native code?
The runtime must itself implement the base CLR
engine/runtime from native code, particularly for Silverlight on Macintosh
XAML parsing in Silverlight is done partially
through native code implementation
The Silverlight runtime is based on a core that
also supports a browser host scripting model
All of the given options are valid
Within Silverlight web services, what
paradigmatic protocol is used?
SOUP
SOAP
ASP.NET
CFML
When is Silverlight the most secure?
When it is the most isolated.
When it is safely accompanied by enough anti-virus
software.
When it is the least isolated.
When it has the largest system-wide stance and can
consume resources from other programs.
If you wanted to call specific functions to
initialize Silverlight plug-ins, what file would you use?
Silverlight.js
Silverlight.xtml
Silverlight.exe
wrapper.dll
Which of the following Core Presentation
Component feature enables linking of data objects and UI elements?
UI rendering
DRM
XAML
Data binding
What interface are every elements values based
off of?
vList, or Vcollection.
Clist, or Ccollection.
eList, or eCollection.
Ilist or Icollection.
In Silverlight, how is memory handled?
Manually
Automatically
Memory is channeled out of the program where it is
handled by a secondary program.
Manually, but it can be set to be automatic.
Which of the following is TRUE about
Silverlight?
It enables you to create Windows Phone applications
It reads data and updates the display
It is a cross-browser, cross-platform technology
All of the given options are valid
If Silverlight is running in a sandbox, what
does it mean?
It means Silverlight is running with extended
privileges.
It means Silverlight runs with the same privileges.
It means Silverlight is running with limited
privileges.
Silverlight runs with no privileges.
Which of the following has the
"Application" class and provide tools to create .xap packages?
File management
Serialization
Asynchronous programming
Packaging
What framework does Silverlight primarily
focus on?
.NET
PHP
Java
ASP.NET
Which of the following .NET framework
libraries for Silverlight provides fundamental and base classes (including
event and basic exception handlers)?
Microsoft.Internal
System
Microsoft.Xna.Framework
Microsoft.Internal.Pivot.Interactivity
Silverlight platform as a whole consists of
which of the following parts (major & minor)?
Core presentation framework
All of the given options are valid
.NET Framework for Silverlight
Installer and updater
What file extension should be affiliated with
the MIME type “application/x-silverlight-app”?
.xap
.xpa
.pax
.apx
What type of images does Deep Zoom Composer
prepare?
High quality.
High-resolution.
High-definition.
High-intensity.
What file extension are application package
files?
.pkg
.pax
.xap
.xpa
What is the difference between XML and XAML in
the context of Silverlight?
XML and XAML are fundamentally the same, however
XAML is an extension of XML.
There is no difference.
XML is a more modern extension of XAML.
XML is for off-line applications and XAML is for
live applications.
Which of the following framework features
includes controls for Button, CheckBox, HyperlinkButton, ListBox ?
WPF (Windows Presentation Foundation) controls
Base class library
CLR (common language runtime)
Window Communication Foundation (WCF)
Which of tehe following feature is NOT offered
by Silverlight?
Access to the .NET Framework programming model
Cross-browser, cross-platform support
None of the given options are valid
Integration with existing applications
Which of the following event occurs when an
exception that is raised by Silverlight is not handled?
Application.UnhandledException
Application.UnhandledError
Application.GenericError
Application.GenericException
What does the term 'layout' refer to in
Silverlight?
Extensible Application Markup Language
It refers to how objects in your Silverlight
application are sized and positioned.
Which of the following is TRUE about XAML?
You can create visible user interface (UI) elements
in the declarative XAML markup
All of the given options are valid
XAML is a declarative language
XAML can initialize objects and set properties of
objects, using a language structure
How is the .NET Framework library related to
the base class library in Silverlight?
The base class library is a subset of the .NET
Framework class library.
They work together via links written in Python.
The main class library is a subset of the ASP.XML
library.
They are not at all related.
What does Shape allow you to do in
Silverlight?
Change the shape of the layout.
Draw shapes to the screen.
Change the shape of the page.
Change the way the program operates.
XAML means what?
Extensible Application Markup Language
External Application Management Language
Extendable Application Markup Language
Excitable Application Management Language
Which of the following is a VALID way to
declare objects in XAML?
Directly, using object element syntax
Using a markup extension
Indirectly, using attribute syntax
All of the given options are valid
Silverlight XAML processor uses the which
of the following definition for determining what constitutes a valid collection
property?
All of the given options are valid
Implement IDictionary
Implement IDictionary<TKey, TValue>.
Implement IList
Why is Silverlight considered a revolutionary
technology?
It accelerates web applications beyond their
capability.
It is an operating system all to its own.
It is a cross-browser, cross-platform technology
all included in one small download.
Silverlight makes all web applications compatible
with one another.
What is a prominent tool that Silverlight is
compatible with?
Visual Studio
Artist Studio
Silverlight Studio
Virtual Studio
Can XAML markup be used to encapsulate your
user interface?
It can only be written in Java markup language.
No, it must be written in PHP markup.
No, it must be written in HTML markup.
Yes
What do GetValue and SetValue calls do within
the context of dependency properties?
They do nothing and are not related.
They are responsible for backing the CLR Wrapper
property.
They are responsible for backing the CLR Hadoop
wrapper.
They are responsible for controlling the HIVE
MapReduce wrapper.
Which of the following framework class
libraries contains classes that define enable internationalization vis a vis
countries and languages ?
System.Dynamic
System.Linq
System.Net
System.Globalization
Which of the following is TRUE about Managed
API Error handling?
All of the given options are true
Exceptions often include information as part of the
exception's Message property value
The fixed portion of an exception message are often
included as resources in the library, and referenced by the runtime exception
when thrown
Silverlight run time makes a distinction between
platform-originated exceptions and application code-originated exceptions
What can happen when you experience an
unnecessary invoking of the layout system?
Silverlight will freeze.
Silverlight may crash.
You may experience a system-wide failure.
You may experience a lapse in application
performance.
Which of the following Core Presentation
Component feature enables digital rights management of media assets?
Data binding
XAML
DRM
UI rendering
Which of the following .NET framework
libraries for Silverlight provides classes for using 3-D graphics?
Microsoft.Internal
Microsoft.Internal.Pivot.Interactivity
Microsoft.Xna.Framework.Graphics.PackedVector
Microsoft.Xna.Framework
What do you use to integrate Silverlight with
Javascript code?
The XAML object element.
The integrate.js java tool.
The Silverlight javascript.js tool.
The HTML object element.
Which of the following Core Presentation
Component feature enables rendering of vector and bitmap graphics, animations,
and text?
Deep Zoom
Layout
Data Rendering
UI Rendering
What is the AppManifest.xaml file used for?
It does nothing.
It identifies the packaged assemblies and
application entry point.
It enters into an assembled package entry point.
It identifies the assembled packages and entry
point application.
What do you use to debug Silverlight-based
applications?
Silverlight Tools for Visual Studio
Debugger Tools
Visual Debugger
Silverlight Debugger
What is the max video resolution Silverlight
provides for mobile devices?
240p
360p
720p
1080p
What data organization technique does the
generic class, Queue<T> use?
LIFO
FIFO
FILO
LIFO
Which of the following feature of .NET
framework for SIlverlight enables support for Language-Integrated Query (LINQ)?
Data
Window Communication Foundation (WCF)
CLR (common language runtime)
Base class library
Does Silverlight SDK still contain the ASP.NET
server controls to embed code into your website?
No, but it can be added.
Yes, but it is disabled. Simply enable it in the
configuration file.
No
Yes.
Which of the following .NET framework Class
Library for Silverlight contains classes that support interaction with a local
database in Windows Phone applications?
System.Data.Services.Client
System.Data.Linq
System.Linq
System.Linq
When Silverlight is operating in a sandbox
environment, what happens to local storage?
It is sped up and given maximum oportunity to
interact with other programs.
Local storage is being moved to a cloud
environment.
It is increased to 10 GB with no isolation.
It is isolated and cut down to 1 MB.
Which of the following is most appropriate for
applications that extensively perform CRUD operations on a database ?
Windows Communication Foundation (WCF) Data
Services
Windows Communication Foundation (WCF) RIA Services
Windows Communication Foundation (WCF) Services
Sockets and Multicast
Which of the following Microsoft.Xna.Framework
Namespace structures represents a point in a multi-point curve?
Curve
Key
CurveKey
BoundingFrustum
Which of the following JavaScript API for
Silverlight provides Silverlight property system services?
Accessibility Object
EventTrigger
DependencyObject
Glyphs
When are you most likely to encounter an XSS
attack in Silverlight?
When starting Silverlight.
When the strings the user created and inserted into
markup are subverted by the strings inserted by malicious software.
When the user cannot escape an attacker-controlled
string, and that string is inserted into markup.
When running Silverlight in a sandbox.
Which of the following
Microsoft.Win32.SafeHandles Namespace class provides a base class for Win32
critical handle implementations?
SafeWaitHandle
CriticalHandleMinusOneIsInvalid
SafeHandleMinusOneIsInvalid
CriticalHandle
Which of the following is a VALID requirement
for properties of a custom class as XAML attributes?
Uses a by-reference class for property type that
has a default constructor
Has a type converter attributed at the property
level.
Uses a by-value primitive property type that the
Silverlight XAML processor can natively convert, such as int, or use string.
Should not a property type that is an abstract
class or interface
Which of the following
Microsoft.Win32.SafeHandles Namespace class provides a base class for Win32
safe handle implementations in which the value of -1 indicates an invalid
handle?
CriticalHandleMinusOneIsInvalid
SafeHandleMinusOneIsInvalid
SafeHandle
SafeWaitHandle
Does Silverlight have a protocol to defend
against DOS attacks?
No, because Silverlight is impervious to Dos
attacks.
Yes, however it must be purchased from a
third-party vender.
Yes
No, however it can be implemented.
Which of the following classes enable the
API/program to submit requests to a HTTP based Web service?
HTTP Classes
Windows Communication Foundation (WCF) Data
Services
Windows Communication Foundation (WCF) RIA Services
Windows Communication Foundation (WCF) Services
Which of the following provide the foundation
for building Web services for a Silverlight client application ?
Windows Communication Foundation (WCF) Services
Windows Communication Foundation (WCF) Data
Services
HTTP Classes
Windows Communication Foundation (WCF) RIA Services
How can you set attached properties in XAML ?
by using the syntax
AttachedPropertyProvider.PropertyName
by using the syntax
AttachedPropertyProvider.Property
by using the syntax AttachedPropertyProvider.Name
by using the syntax AttachedProperty.PropertyName
What is between a Parent Panel and a Child
Element?
Child Panel
Layout Slot
Layout Panel
Child Slot
Which of the following is NOT a feature of
.NET framework for SIlverlight?
Window Communication Foundation (WCF)
Base class library
CLR (common language runtime)
Data binding
What style are XAML placeholders typically in?
Italic
Superscript
Bold
Subscript
Subscribe to:
Posts (Atom)