Computer Knowledge

GUI and Web Frameworks

1,915 Questions

Graphical user interface and web frameworks involve layout management, directives, and application design across platforms like Android and Angular. These concepts are tested in computer science and IT officer competitive exams. Review these questions to understand UI components and coding standards.

Android layout attributesAngular structural directivesVB.Net web methodsJava Swing componentsSiebel application framework

GUI and Web Frameworks Questions

Multiple choice technology platforms and products
  1. Silverlight uses a particular implementation of a XAML parser, with that parser being part of the Silverlight core install

  2. The only supported XAML namespace (http://schemas.microsoft.com/winfx/2006/xaml) constructs in Silverlight are: x:Array, x:Code, x:Type, x:Subclass

  3. In some cases, the parsing behavior differs from the parsing behavior in Windows Presentation Foundation (WPF), which also has a particular implementation

  4. The only supported xml: construct in Silverlight is xml:lang

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Silverlight's XAML parser has limitations compared to WPF. Option B is correct because Silverlight does NOT support all XAML constructs mentioned - it has a more limited XAML namespace support than WPF. Silverlight supports x:Array, x:Class, x:Name, x:Key, x:Null, and x:Type, but NOT x:Code or x:Subclass.

Multiple choice technology platforms and products
  1. Extensible Application Markup Language (XAML) is a declarative XML-based language created by Microsoft

  2. XAML is not case sensitive

  3. XAML is used as a user interface markup language to define UI elements, data binding, eventing, and other features

  4. XAML is used extensively in .NET Framework 3.0 technologies, particularly Windows Presentation Foundation, Silverlight, and Windows Workflow Foundation (WF)

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XAML is case-sensitive like other XML-based languages, so option B is incorrect. Option A correctly defines XAML as Microsoft's declarative markup language. Option C accurately describes XAML's purpose in defining UI elements and features. Option D correctly lists its use in WPF, Silverlight, and WF.

Multiple choice technology platforms and products
  1. Controls animations with a timeline, and provides object and property targeting information for its child animations

  2. Storyboard is a container for animation objects

  3. We can use the interactive methods of the Storyboard object to start, pause, resume, and stop an animation

  4. We can not nest Storyboard objects within each other

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Storyboards CAN be nested within each other in Silverlight - this is a common pattern for complex animations. Option A correctly describes Storyboard's timeline-based animation control. Option B is correct - Storyboard serves as a container. Option C accurately lists the interactive control methods available.

Multiple choice technology platforms and products
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Silverlight is intentionally a subset of WPF, designed for cross-platform web delivery with limited functionality. WPF offers full desktop application capabilities including 3D, advanced text, and full OS integration that Silverlight lacks. They serve different purposes.

Multiple choice technology platforms and products
  1. Canvas

  2. DockPanel

  3. Grid

  4. StackPanel

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

DockPanel is NOT a built-in Silverlight layout container - it exists only in WPF. Canvas (absolute positioning), Grid (row/column layout), and StackPanel (sequential stacking) are all standard Silverlight containers. Silverlight's layout system is intentionally simplified.

Multiple choice technology platforms and products
  1. ContentTemplate

  2. Styles

  3. CSS

  4. ControlTemplate

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Silverlight uses XAML-based templating, not web CSS. ContentTemplate defines content presentation, ControlTemplate defines entire control structure, and Styles provide property setters. CSS is a web technology completely separate from Silverlight's XAML styling system.

Multiple choice technology platforms and products
  1. Printing

  2. 3D Effects

  3. SaveFileDialog

  4. Out-of-Browser Support

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Silverlight 3.0 introduced several major features including 3D Effects (for perspective transforms), Out-of-Browser Support (allowing apps to run offline), and SaveFileDialog (for user-initiated file saving). Printing was actually introduced in Silverlight 4, not Silverlight 3.0, making it the correct answer to what was NOT a new feature in version 3.0.

Multiple choice technology platforms and products
  1. Silverlight SDK

  2. XAMLPad

  3. Silverlight developer runtime

  4. Silverlight Tools

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Silverlight 3 Tools for Visual Studio 2008 installs the Silverlight SDK, Silverlight developer runtime, and Silverlight Tools (project templates and Visual Studio integration). XAMLPad is a standalone tool that is NOT included with the Silverlight 3 Tools installation - it's a separate utility for testing XAML markup independently.

Multiple choice technology platforms and products
  1. XamlPadX

  2. Visual C# 2008 Expression Edition

  3. Expression Blend

  4. Visual Web Developer 2008 Express Edition

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XamlPadX is a XAML editing tool. Expression Blend is a design tool for Silverlight/WPF applications. Visual Web Developer 2008 Express Edition is a free IDE that supports Silverlight development. Visual C# 2008 Expression Edition does not exist as a product - there's no C# Express Edition from Expression (Expression Studio is for designers, not programming languages).

Multiple choice technology platforms and products
  1. crossdomain.xml

  2. Web.config

  3. App.xaml

  4. clientaccesspolicy.xml

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Silverlight uses policy files to enable cross-domain network access. While crossdomain.xml is supported (for Flash compatibility), the primary and more flexible Silverlight-specific policy file is clientaccesspolicy.xml. Web.config is for ASP.NET configuration, and App.xaml is for Silverlight application settings - neither handles cross-domain policy.

Multiple choice technology platforms and products
  1. Silverlight SDK

  2. XAMLPad

  3. Silverlight developer runtime

  4. Silverlight Tools

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This is a duplicate of question 140642. Silverlight 3 Tools for Visual Studio 2008 installs the SDK, developer runtime, and Tools. XAMLPad is NOT included in this installation - it's a separate standalone XAML testing utility.