This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Does Silverlight Web Application Work With All Browsers ? |
|
Answer» YES,A web application DEVELOPED by SILVERLIGHT TECHNOLOGY can work with any BROWSER. Yes,A web application developed by silverlight technology can work with any browser. |
|
| 2. |
Is Silverlight The Official Name For "wpf/e"? |
|
Answer» YES. SILVERLIGHT was FORMERLY code-named "WPF/E." Yes. Silverlight was formerly code-named "WPF/E." |
|
| 3. |
What Is The Best Place To Start Silverlight Application? |
|
Answer» There is no hard and fast rule to START Silverlight application. Every developer can start as per his/her experience. like as per my CASE I ALWAYS prefer VISUAL Studio. SO, in my view Visual Studio is the best place to start with Silverlight2 applications.Microsoft provides templates for creating Silverlight applications and libraries in C# and Visual BASIC. There is no hard and fast rule to start Silverlight application. Every developer can start as per his/her experience. like as per my case I always prefer Visual Studio. SO, in my view Visual Studio is the best place to start with Silverlight2 applications.Microsoft provides templates for creating Silverlight applications and libraries in C# and Visual Basic. |
|
| 4. |
Can I Add More Than One .xaml Pages In Silverlight Application? |
|
Answer» Yes, you can have multiple .XAML files in a single project.In the App.xaml, in the METHOD Application_Startup you can choose, which page you want to INITIALLY DISPLAY. Yes, you can have multiple .xaml files in a single project.In the App.xaml, in the method Application_Startup you can choose, which page you want to initially display. |
|
| 5. |
What Is Storyboard? |
|
Answer» Storyboard is a SILVERLIGHT class with controls animations with a TIMELINE, and PROVIDES OBJECT and property targeting information for its CHILD animations. Storyboard is a Silverlight class with controls animations with a timeline, and provides object and property targeting information for its child animations. |
|
| 6. |
What Happened When I Press F5 Within Visual Studio To Run Silverlight Application? |
|
Answer» When you run the Silverlight application WITHIN VISUAL Studio, a new folder created in the web-site project for silverlight solution and it happened only first TIME. The folder name is ClientBin and having PACKAGE with XAP extension which contains COMPILED project. When you run the Silverlight application within Visual Studio, a new folder created in the web-site project for silverlight solution and it happened only first time. The folder name is ClientBin and having package with XAP extension which contains compiled project. |
|
| 7. |
What Is Silverlight Tool Kit? |
|
Answer» To create an APPLICATION or GAME you need to design, code and GIVE some extra feature to your output. To do the above, you need some controls, IDE etc. Silverlight Tool kit is nothing but is a collection of Silverlight Tools, Components etc. It includes source code describing the all you need to develop an application. To create an application or game you need to design, code and give some extra feature to your output. To do the above, you need some controls, IDE etc. Silverlight Tool kit is nothing but is a collection of Silverlight Tools, Components etc. It includes source code describing the all you need to develop an application. |
|
| 8. |
Can You Elaborate How To Start A Silverlight Application With Visual Studio? |
|
Answer» In the following step(s) I am giving the ideas all about: In the following step(s) I am giving the ideas all about: |
|
| 9. |
How Does Silverlight 2 Differ From Adobe Flash? |
|
Answer» As I am from .Net background so in my views you can get C# / Vb.net compiled CODE but in Flash there is only ACTION script. As I am from .Net background so in my views you can get C# / Vb.net compiled code but in Flash there is only action script. |
|
| 10. |
How Can I Create Image Pieces/sub Image? |
|
Answer» In straight way you create a SUBIMAGE from an existing image. Here you just clip an image, Clipping is just different from Cropping. In clipping, first you have to dictate which PART of the IMAGES to draw and later you have to remove all but the desired part of the image. SILVERLIGHT does not SUPPORT cropping. In straight way you create a subimage from an existing image. Here you just clip an image, Clipping is just different from Cropping. In clipping, first you have to dictate which part of the images to draw and later you have to remove all but the desired part of the image. Silverlight does not support cropping. |
|
| 11. |
How Can You Set Image Source Dynamically From C# Application To"test.png" File? |
|
Answer» Surprisingly it is not as STRAIGHT forward as it might sound, but ANYONE who SERIOUSLY worked with Silverlight should be easily answer it. One of the ways is: img.Source = new BitmapImage(new Uri("test.png", UriKind. RELATIVE)); Surprisingly it is not as straight forward as it might sound, but anyone who seriously worked with Silverlight should be easily answer it. One of the ways is: img.Source = new BitmapImage(new Uri("test.png", UriKind. Relative)); |
|
| 12. |
How Can I Switch To Expression Blend From Visual Studio? |
|
Answer» Expression BLEND provide GREAT EXTENSIBILITY for XAML files.To SWITCH to Expression Blend, right-click on the XAML FILE and select Open in Expression Blend. Expression blend provide great extensibility for XAML files.To switch to Expression Blend, right-click on the XAML file and select Open in Expression Blend. |
|
| 13. |
Can You Name Built-in Layout Panels You Have Been Using With Silverlight? |
|
Answer» You are LOOKING for CANVAS, StackPanel and GRID. You are looking for Canvas, StackPanel and Grid. |
|
| 14. |
What Is The Difference Between Wpf And Silverlight? |
|
Answer» Silverlight USES a particular IMPLEMENTATION of a XAML parser, with that parser being part of the Silverlight core install. In some CASES, the parsing behavior DIFFERS from the parsing behavior in Windows Presentation Foundation (WPF), which ALSO has a particular implementation. Silverlight uses a particular implementation of a XAML parser, with that parser being part of the Silverlight core install. In some cases, the parsing behavior differs from the parsing behavior in Windows Presentation Foundation (WPF), which also has a particular implementation. |
|
| 15. |
What Is Xaml ? |
|
Answer» EXTENSIBLE Application Markup LANGUAGE (XAML,pronounced zammel) is a declarative XML-based language created by Microsoft which is used to initialize structured VALUES and OBJECTS. Extensible Application Markup Language (XAML,pronounced zammel) is a declarative XML-based language created by Microsoft which is used to initialize structured values and objects. |
|
| 16. |
What Are The Different Ways To Display Text With Silverlight? |
|
Answer» Silverlight supports displaying static preformatted text that is comprised out of glyph elements and also dynamic text that USES TEXTBLOCK. With glyphs, ONE needs to position the characters individually while TextBlock supports simple layout. Silverlight supports displaying static preformatted text that is comprised out of glyph elements and also dynamic text that uses TextBlock. With glyphs, one needs to position the characters individually while TextBlock supports simple layout. |
|
| 17. |
Is Silverlight Supported On Various Locales? |
|
Answer» Silverlight installs on localized versions of Macintosh computers and Windows. At this TIME, the installation is available in an INTERNATIONAL English format. Final RELEASES will render international text (using double-byte characters) and support the FULL 64K UNICODE character set. Silverlight uses simple input mechanism that treats all the languages in the same way. Silverlight installs on localized versions of Macintosh computers and Windows. At this time, the installation is available in an international English format. Final releases will render international text (using double-byte characters) and support the full 64K Unicode character set. Silverlight uses simple input mechanism that treats all the languages in the same way. |
|
| 18. |
What Features Are Missing From Silverlight Presentation Markup That Will Be Supported In Windows Presentation Foundation? |
|
Answer» High-end Windows specific features of WPF, such as REAL 3D, hardware-based video acceleration, and FULL document support, will not be supported in Silverlight. This is by design in order to serve Silverlight’s cross-browser, cross-platform REACH SCENARIO that DEMANDS a light weight plug-in. High-end Windows specific features of WPF, such as real 3D, hardware-based video acceleration, and full document support, will not be supported in Silverlight. This is by design in order to serve Silverlight’s cross-browser, cross-platform reach scenario that demands a light weight plug-in. |
|
| 19. |
Will Silverlight-based Applications And Content Run On Any Web Server? What Are The Benefits To Running It On Servers Running Windows? |
|
Answer» SILVERLIGHT works with any web server just like HTML. VIDEO and audio content can also be downloaded and played back from any Web server platform.The main advantages of Windows server-based DISTRIBUTION of Silverlight applications INCLUDE Windows Media Services with Fast Stream and Fast reconnect technologies, lower distribution costs and tap into the full Windows server ecosystem of platform COMPONENTS and partner solutions. Silverlight works with any web server just like HTML. Video and audio content can also be downloaded and played back from any Web server platform.The main advantages of Windows server-based distribution of Silverlight applications include Windows Media Services with Fast Stream and Fast reconnect technologies, lower distribution costs and tap into the full Windows server ecosystem of platform components and partner solutions. |
|
| 20. |
What Is The Relationship Between Silverlight And Windows Media Player? |
|
Answer» The Silverlight browser plug-in is a separate component, independent of Windows Media Player. Silverlight is designed for delivery of cross-platform, cross-browser media experiences and rich INTERACTIVE applications (RIAs) inside a Web browser combining AUDIO, video, animation, overlays, and more. Windows Media Player delivers a BREADTH of local playback and user focused experiences, while also offering SUPPORT for application and Web page EMBEDDING. The Silverlight browser plug-in is a separate component, independent of Windows Media Player. Silverlight is designed for delivery of cross-platform, cross-browser media experiences and rich interactive applications (RIAs) inside a Web browser combining audio, video, animation, overlays, and more. Windows Media Player delivers a breadth of local playback and user focused experiences, while also offering support for application and Web page embedding. |
|
| 21. |
Explain The Relationship Between Silverlight And Windows Media Technologies? |
|
Answer» SILVERLIGHT is BUILT on top of Windows Media ENABLING developers and designers to collaborate in BUILDING media experiences and RIAs. Silverlight is released by the Server and Tools Division at Microsoft as a part of the .NET Framework. Silverlight is built on top of Windows Media enabling developers and designers to collaborate in building media experiences and RIAs. Silverlight is released by the Server and Tools Division at Microsoft as a part of the .NET Framework. |
|
| 22. |
Will Silverlight Support Digital Rights Management? |
|
Answer» For CONTENT providers, Silverlight will support digital rights MANAGEMENT (DRM) BUILT on the recently announced MICROSOFT PlayReady content access technology on Windows-based computers and MACINTOSH computers For content providers, Silverlight will support digital rights management (DRM) built on the recently announced Microsoft PlayReady content access technology on Windows-based computers and Macintosh computers |
|
| 23. |
What Are Dependency Properties In Silverlight? |
|
Answer» Dependency PROPERTIES are exposed as CLR properties. Dependency properties purpose is to provide a way of COMPUTING the value of a property that is BASED on the value of other INPUTS. Dependency properties are exposed as CLR properties. Dependency properties purpose is to provide a way of computing the value of a property that is based on the value of other inputs. |
|
| 24. |
What Is Xaml? Are Xaml File Compiled Or Built On Runtime? |
|
Answer» XAML stands for EXTENSIBLE APPLICATION Markup Language. It is an XML based markup language. XAML is the language for visual PRESENTATION of the application development in MS-Expression Blend. Expression Blend application creation is writing XAML code in DESIGN view of Expression Blend. XAML stands for Extensible Application Markup Language. It is an XML based markup language. XAML is the language for visual presentation of the application development in MS-Expression Blend. Expression Blend application creation is writing XAML code in design view of Expression Blend. |
|
| 25. |
What Is Smpte Vc-1? |
|
Answer» VC-1 is an industry-standard VIDEO FORMAT, RECOGNIZED by the Society of Motion Picture and Television Engineers (SMPTE), and most notably ships in all HD-DVD and Blu-ray DISC?certified electronics, hardware, and tools. WINDOWS Media Video 9 (WMV-9) is the Microsoft implementation of the SMPTE VC-1 standard video codec. Microsoft initiated development of the standard with the release of WMV-9 to SMPTE. VC-1 is an industry-standard video format, recognized by the Society of Motion Picture and Television Engineers (SMPTE), and most notably ships in all HD-DVD and Blu-ray Disc?certified electronics, hardware, and tools. Windows Media Video 9 (WMV-9) is the Microsoft implementation of the SMPTE VC-1 standard video codec. Microsoft initiated development of the standard with the release of WMV-9 to SMPTE. |
|
| 26. |
How Can Iis Improve Silverlight Streaming? |
|
Answer» IIS smooth streaming enables for delivering HD streams smoothly on any device. IIS smooth streaming is an EXTENSION of IIS7 Media Services 3.0. It enables ADAPTIVE live streaming through HTTProtocols. IIS smooth streaming enables for delivering HD streams smoothly on any device. IIS smooth streaming is an extension of IIS7 Media Services 3.0. It enables adaptive live streaming through HTTProtocols. |
|
| 27. |
What Is The Codec Silverlight Supports For Hd Streaming? |
|
Answer» The following FORMATS are SUPPORTED for Video streaming: The following formats are supported for Video streaming: |
|
| 28. |
Does Silverlight Supports Database Connectivity? Explain |
|
Answer» Silverlight supports database connectivity. It is done through LINQ to SQL classes. Silverlight supports database connectivity. It is done through LINQ to SQL classes. |
|
| 29. |
What Asp.net Control Can Embed Xaml Into Asp.net Pages? |
|
Answer» The ASP:Silverlight is used to EMBED XAML into ASP.Net pages.The following code snippet ILLUSTRATES this: <asp:Silverlight ID="Xaml" runat="server" Source="../ClientBin/sample.xap" Width="100%" HEIGHT="100%" /> The asp:Silverlight is used to embed XAML into ASP.Net pages.The following code snippet illustrates this: <asp:Silverlight ID="Xaml" runat="server" Source="../ClientBin/sample.xap" Width="100%" Height="100%" /> |
|
| 30. |
What Are The Necessary Step That Need To Be Performed In Order To Download Content From Within Silverlight? |
|
Answer» A collection independent FILES that contain XAML content, media assets, and other application information can be downloaded from within Silverlight. A collection independent files that contain XAML content, media assets, and other application information can be downloaded from within Silverlight. |
|
| 31. |
How Could You Modify Xaml Content From Javascript? |
|
Answer» Place xaml in Java Script USING createFromXaml FUNCTION. USE Place xaml in Java Script using createFromXaml function. Use |
|
| 32. |
How Could You Determine The Media Position When Playing A Video In Silverlight? |
|
Answer» The ELEMENTS mePlayer.width and mePlayer.height retrieves the positions of the MEDIA in SILVER light. The source of the media player is set by mePlayer.Source , using the uri RESOURCE. The elements mePlayer.width and mePlayer.height retrieves the positions of the media in silver light. The source of the media player is set by mePlayer.Source , using the uri resource. |
|
| 33. |
Explain The Concept Of Keyframe. What Is The Difference Between Silverlight And Flash Regarding Animations? |
|
Answer» The value of the target property is animated by a key-frame animation. A transition among its target VALUES over its duration is created. However the targeted values can by any number. The value of the target property is animated by a key-frame animation. A transition among its target values over its duration is created. However the targeted values can by any number. |
|
| 34. |
What Are The Animation Types Supported By Silverlight? |
|
Answer» Silverlight supports 2 types of ANIMATIONS: From/To/By animation: Used for animating between a STARTING and ending value: - From is used to set the starting value Key-frame animation Key frame objects animates between a SERIES of values. They are powerful than From/To/By animations, as there is FLEXIBILITY to specify any number of target values and even interpolation method can also be controlled.
Silverlight supports 2 types of animations: From/To/By animation: Used for animating between a starting and ending value: - From is used to set the starting value Key-frame animation Key frame objects animates between a series of values. They are powerful than From/To/By animations, as there is flexibility to specify any number of target values and even interpolation method can also be controlled.
|
|
| 35. |
Explain The Steps Needed To Be Performed In Order To Create An Animation In Xaml |
|
Answer» Animation is performed by using Storyboard.TargetName PROPERTY. For example, to animate an OBJECT, the following are the steps: - Write <BeginStoryboard> tag. The following is the SNIPPET of XAML file to animate an object Animation is performed by using Storyboard.TargetName property. For example, to animate an object, the following are the steps: - Write <BeginStoryboard> tag. The following is the snippet of XAML file to animate an object |
|
| 36. |
What Objects Support Tranformations? What Are The Transformations That Silverlight Supports For The Elements? |
|
Answer» The objects Ellipse and Rectangle are supported for transformations. The transformations that SILVERLIGHT supports for elements are rotations, scales, SKEWS, and TRANSLATIONS. The objects Ellipse and Rectangle are supported for transformations. The transformations that Silverlight supports for elements are rotations, scales, skews, and translations. |
|
| 37. |
What Is The Function Used To Get A Reference To An Object Inside The Silverlight Control? |
|
Answer» The method findName() is used to refer an object inside the SILVERLIGHT control. The CONTAINER reference is MADE in the Container.xaml and the CORRESPONDING JAVA Script file is called as Container.js. Now to access the object use the following function: Container[1].Element.findName(“MyImageControl”).Source = “myPersonalImage.jpg” The method findName() is used to refer an object inside the Silverlight control. The container reference is made in the Container.xaml and the corresponding Java Script file is called as Container.js. Now to access the object use the following function: Container[1].Element.findName(“MyImageControl”).Source = “myPersonalImage.jpg” |
|
| 38. |
What Are The Properties Of The Eventargs Argument When Capturing Keyboard Events? |
|
Answer» The properties of eventArgs are types of KEYS LIKE shift, ctrl and mouse ACTIONS, mouse pointer coordinates, x coordinate VALUE, y coordinate value. The properties of eventArgs are types of keys like shift, ctrl and mouse actions, mouse pointer coordinates, x coordinate value, y coordinate value. |
|
| 39. |
How Would You Implement Drag-and-drop In Silverlight? |
|
Answer» DRAG and DROP in Silverlight can be implemented by USING Drag Drop MANAGER by using DragSource and DropTarget CONTROLS. DragSource makes any control to be draggable and DropTarget defines a location in the application to drop the DragSources. Drag and drop in Silverlight can be implemented by using Drag Drop Manager by using DragSource and DropTarget controls. DragSource makes any control to be draggable and DropTarget defines a location in the application to drop the DragSources. |
|
| 40. |
What Is The Function Used For Removing An Event Listener? |
|
Answer» The METHOD removeEventListener() is USED for DELETING an event listener. The PARAMETERS for this method are eventName and listener. The method removeEventListener() is used for deleting an event listener. The parameters for this method are eventName and listener. |
|
| 41. |
Difference Between Mouseleftbuttondown And Mouseleftbuttonup In Silverlight. |
|
Answer» The difference is the action of the button. Once MOUSE button is pressed MOUSELEFTBUTTONDOWN EVENT is invoked and MouseLeftButtonUp event is invoked after pressing LEFT mouse button down and RELEASE it. The difference is the action of the button. Once mouse button is pressed MouseLeftButtonDown event is invoked and MouseLeftButtonUp event is invoked after pressing left mouse button down and release it. |
|
| 42. |
Explain The Mouse Events That Silverlight Currently Supports. |
|
Answer» The mouse events that supports silverlight are The mouse events that supports silverlight are |
|
| 43. |
What Kind Of Brushed Does Silverlight Support? |
|
Answer» Silverlight brush objects supports for painting with solid colors, linear GRADIENTS, radical gradients and images. Silverlight brush objects supports for painting with solid colors, linear gradients, radical gradients and images. |
|
| 44. |
Explain The Resemblance Between Css And Silverlight, Regarding Overlapping Objects. |
|
Answer» SILVERLIGHT content is hosted on the tag. CSS of DIV can be CHANGED as it is for other HTML documents. The changes can be for absolute positioning, z-indexing, TOP and left PROPERTIES etc. Silverlight content is hosted on the tag. CSS of DIV can be changed as it is for other HTML documents. The changes can be for absolute positioning, z-indexing, top and left properties etc. |
|
| 45. |
Explain The Path Instructions In Xaml |
|
Answer» The <path> instruction of XAML allows to DRAW and fill a path. Various points in the path represents are represented by the Data ATTRIBUTE. The attribute includes M which means to move to command, moves to a coordinate and C represents the absolute path. The H represents LINE to command. The <path> instruction of XAML allows to draw and fill a path. Various points in the path represents are represented by the Data attribute. The attribute includes M which means to move to command, moves to a coordinate and C represents the absolute path. The H represents line to command. |
|
| 46. |
What Are The Properties That Have To Be Initialized For Creating A Silverlight Control Using Createsilverlight()? |
|
Answer» The PROPERTIES ‘source’ and ‘elementID’ are to be INITIALIZED. The ‘source’ ATTRIBUTE can be a ‘.xaml’ FILE or an ‘.ASPX’ file. The properties ‘source’ and ‘elementID’ are to be initialized. The ‘source’ attribute can be a ‘.xaml’ file or an ‘.aspx’ file. |
|
| 47. |
Does Silverlight Have A System.console Class? Why? |
|
Answer» Yes. SILVERLIGHT have System.Console class. It is cocooned in the SecurityCritical ATTRIBUTE. It is so for using for internal uses and MAKING it USELESS for remote USAGE. Yes. Silverlight have System.Console class. It is cocooned in the SecurityCritical attribute. It is so for using for internal uses and making it useless for remote usage. |
|
| 48. |
True Or False: A Web Service Can Only Be Written In .net? |
|
Answer» False False |
|
| 49. |
When Would One Use Silverlight Instead Of Asp.net Ajax? |
|
Answer» Silverlight media EXPERIENCES and Rich INTERNET APPLICATIONS can be enhanced by the existing ASP.NET AJAX applications. Web applications and ASP.NET AJAX technologies are integrated in Silverlight. Silverlight media experiences and Rich Internet Applications can be enhanced by the existing ASP.NET AJAX applications. Web applications and ASP.NET AJAX technologies are integrated in Silverlight. |
|
| 50. |
What Are The Main Features And Benefits Of Silverlight? |
|
Answer» The FOLLOWING are the features of SilverLight: 1. Built in CLR engine is available for DELIVERING a SUPER high performance execution ENVIRONMENT for the browser. The following are the features of SilverLight: 1. Built in CLR engine is available for delivering a super high performance execution environment for the browser. |
|