Xamarin Online Test

TestDome skill assessments are used by more than 11,000 companies and 1,030,000 test takers.

For Jobseekers

Practice your skills and earn a certificate of achievement when you score in the top 25%.

Take a Practice Test

For Companies

Test candidates with real-world problems and interview the best ones.

Sign Up to Offer this Test

About the test

The Xamarin online test assesses mobile development skills using the Xamarin development framework.

The assessment includes work-sample tasks such as:

  • Creating user interfaces using XAML.

  • Linking objects with data binding.

  • Using the MVVM design pattern to separate the development of UI and business logic.

A good Xamarin developer needs to have a solid understanding of the Xamarin framework and the MVVM design pattern to develop mobile applications.

Sample public questions

Easy
5 min
mca
Public
Xamarin
Layout
XAML

You are working on an app to read e-books. Your teammate shared the following code meant as a guideline for creating the table of contents:

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="StackLayoutTutorial.MainPage">
    <StackLayout Orientation="Horizontal">
        <StackLayout Padding="0, 20, 0, 0">
            <Label Text="Chapter 1" Margin="0, 20, 15, 5" />
            <Label Text="Topic 1" Margin="10, 15" />
            <Label Text="Sub-topic 1 A" Margin="20" />
        </StackLayout>

        <StackLayout Padding="0, 20, 0, 0">
            <Label Text="Chapter 2" Margin="0, 20, 15, 5" />
            <Label Text="Topic 2" Margin="10, 15" />
            <Label Text="Sub-topic 2 A" Margin="20" />
        </StackLayout>
    </StackLayout>
</ContentPage>

What options are correct about the layout of the XAML elements?

Easy
5 min
mca
Public
Xamarin
MVVM
Services
XAML

A song rating web service exposes an endpoint that returns a JSON containing the latest top 10 hit songs. Given below is the code for a Xamarin app that consumes the web service.

ContentPage contains the following in MainPage.xaml:

<StackLayout Margin="20,35,20,20">
  <Button Text="Get Top Songs"
     Clicked="OnButtonClicked" />
  <CollectionView x:Name="collectionView">
    <CollectionView.ItemTemplate>
      <DataTemplate>
        <StackLayout>
          <Label Text="{Binding SongName}"/>
          <Label Text="{Binding SingerName}"/>
        </StackLayout>
      </DataTemplate>
    </CollectionView.ItemTemplate>
  </CollectionView>
</StackLayout>

MainPage.xaml.cs:

public partial class MainPage : ContentPage
{
    // RestService is used to make web service calls
    RestService _restService;

    public MainPage()
    {
        InitializeComponent();
        _restService = new RestService();
    }
    async void OnButtonClicked(object sender, EventArgs e)
    {
        List<Song> songs = await _restService.GetTopSongs();
        collectionView.ItemsSource = songs;
    }
}

What needs to be implemented so that the CollectionView on the MainPage shows the list of top 10 songs?

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the Xamarin test with public questions.

Take a Certification Test

Sample silver certificate

Sunshine Caprio

Java and SQL
TestDome
Certificate
TestDome logo icon

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

5 more premium Xamarin questions

Log Levels, Web Search, Get Contacts, Attempt Game, App Theme.

Skills and topics tested

  • Xamarin
  • XAML
  • MVVM
  • Xamarin Data Binding
  • Navigation
  • Xamarin Shell
  • Bug Fixing
  • Event Handling

For job roles

  • Mobile Developer
  • Xamarin Developer

Sample candidate report

What others say

Decorative quote

Simple, straight-forward technical testing

TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.

Jan Opperman, Grindrod Bank

Product reviews

G2 - Crowd Badge
G2 - High Performer (2022)
Capterra - 4.5 Stars
Capterra - Shortlist (2023)

Used by

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

90+ skills

From JavaScript and SQL to English and customer support. See all questions to filter by skill.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1

Choose a pre-made test
or create a custom test

2

Invite candidates via
email, URL, or your ATS

3

Candidates take
a test remotely

4

Sort candidates and
get individual reports

Want to know more?