Test Your Knowledge On XAML

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Stephanie Young
S
Stephanie Young
Community Contributor
Quizzes Created: 85 | Total Attempts: 65,226
Questions: 10 | Attempts: 348

SettingsSettingsSettings
Test Your Knowledge On XAML - Quiz

XAML is a Markup language developed by Microsoft. It has functions similar to HTML. This quiz has been compiled to cover different areas of XAML and also boost your knowledge on XAML. Good Luck!


Questions and Answers
  • 1. 

    What's the file extension of an XAML file? 

    • A.

      .xml

    • B.

      .htm

    • C.

      .xaml

    • D.

      .html

    Correct Answer
    C. .xaml
    Explanation
    The file extension of an XAML file is .xaml. XAML stands for Extensible Application Markup Language and it is a markup language used to describe the user interface of an application. The .xaml file extension is used to identify and differentiate XAML files from other types of files.

    Rate this question:

  • 2. 

    XAML was developed by 

    • A.

      Microsoft

    • B.

      Amazon

    • C.

      Apple

    • D.

      W3 schools

    Correct Answer
    A. Microsoft
    Explanation
    XAML (eXtensible Application Markup Language) was developed by Microsoft. It is a markup language used to define user interfaces for applications in the .NET framework. XAML allows developers to separate the design and logic of an application, making it easier to create and maintain complex user interfaces. It is primarily used in Microsoft technologies such as Windows Presentation Foundation (WPF), Universal Windows Platform (UWP), and Silverlight.

    Rate this question:

  • 3. 

    Which of the following tags is the opening object element or container of the root?

    • A.

      Htm

    • B.

      Html

    • C.

      Window

    • D.

      Script

    Correct Answer
    C. Window
  • 4. 

    Which of the following are used to attract the attention of the user to a change?

    • A.

      Animations

    • B.

      Transitions

    • C.

      Pictures

    • D.

      Diagrams

    Correct Answer
    A. Animations
    Explanation
    Animations are used to attract the attention of the user to a change. Unlike static elements like pictures and diagrams, animations involve movement and dynamic visual effects, which can effectively capture the user's attention and highlight any changes or updates on a webpage or application. Transitions, on the other hand, refer to the smooth movement between different states or screens and can also be used to draw attention to changes. However, in this case, only animations are mentioned as the correct answer.

    Rate this question:

  • 5. 

    A control that responds to user input is

    • A.

      Key

    • B.

      Button

    • C.

      ComboBox

    • D.

      CheckBox

    Correct Answer
    B. Button
    Explanation
    A button is a control that responds to user input by performing a specific action when it is clicked. It is commonly used in user interfaces to initiate an action or trigger a function. Unlike a key, which is typically used for keyboard input, a button is a visual element that can be clicked with a mouse or tapped on a touch screen. A ComboBox and CheckBox are also user input controls, but they have different functionalities compared to a button.

    Rate this question:

  • 6. 

    Which of the following is not an XAML control?

    • A.

      ContextMenu

    • B.

      DataGrid

    • C.

      Keyboard

    • D.

      Button

    Correct Answer
    C. Keyboard
    Explanation
    The correct answer is Keyboard. XAML controls are graphical user interface elements that can be used to build the user interface of an application. ContextMenu, DataGrid, and Button are all examples of XAML controls that can be used to interact with the user. However, Keyboard is not a control in XAML. It is an input device that is used to enter data or commands into a computer.

    Rate this question:

  • 7. 

    Which of the following is a control for entering passwords?

    • A.

      Menus

    • B.

      Popup

    • C.

      MailBox

    • D.

      PasswordBox

    Correct Answer
    D. PasswordBox
    Explanation
    A PasswordBox is a control specifically designed for entering passwords. It provides a masked input field where the characters entered are not visible, ensuring the privacy and security of the password. This control is commonly used in applications that require users to enter their passwords, such as login screens or account creation forms. The other options mentioned, such as Menus, Popup, and MailBox, are not specifically designed for entering passwords and do not provide the necessary security features.

    Rate this question:

  • 8. 

    In what panel are child elements positioned in a sequential order from left to right or from top to bottom based on the orientation property?

    • A.

      StackPanel

    • B.

      WrapPanel

    • C.

      DockPanel

    • D.

      CanvasPanel

    Correct Answer
    B. WrapPanel
    Explanation
    A WrapPanel is a panel in which child elements are positioned in a sequential order from left to right or from top to bottom based on the orientation property. This means that when the available space is filled in one direction, the elements wrap to the next line or column to continue the sequence. Unlike a StackPanel, which stacks elements in a single line, a WrapPanel allows for wrapping and reflowing of elements. Therefore, a WrapPanel is the correct panel for arranging child elements in a sequential order from left to right or from top to bottom.

    Rate this question:

  • 9. 

    There are how many types of data binding in XAML? 

    • A.

      1

    • B.

      2

    • C.

      3

    • D.

      4

    Correct Answer
    B. 2
    Explanation
    There are two types of data binding in XAML. Data binding is a technique used to establish a connection between the UI elements and the data source, allowing the UI to automatically update when the data changes. The two types of data binding in XAML are "One-Way" and "Two-Way" data binding. One-Way data binding allows data to flow in one direction, from the data source to the UI element. Two-Way data binding allows data to flow in both directions, allowing changes made in the UI to be reflected back to the data source.

    Rate this question:

  • 10. 

    The following are types of Triggers except 

    • A.

      Basic Triggers

    • B.

      Property Triggers

    • C.

      Event Triggers

    • D.

      Data Triggers

    Correct Answer
    A. Basic Triggers
    Explanation
    The given options list different types of triggers, namely Property Triggers, Event Triggers, and Data Triggers. The term "except" indicates that we need to identify the type of trigger that is not included in the given options. Since the option "Basic Triggers" is not mentioned in the list, it can be inferred that Basic Triggers are the type of trigger that is not included in the given options.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 19, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 05, 2018
    Quiz Created by
    Stephanie Young
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.