Android and Java Online Test

TestDome skill assessments are used by more than 5,000 companies and 450,000 individual test takers.

Jobseekers: Get a Certificate

Take a Practice Test

Companies: Try First, Pay Later

Sign Up To Use This Test

The Android and Java online test assesses candidates' knowledge of the Android operating system and its primary programming language Java.

It's an ideal test for pre-employment screening. A good Android app developer needs to be able use Java and the Android SDK to design and create quality applications.

This online test requires candidates answer questions about the Android SDK and solve coding problems using Java.

Recommended Job Roles
Android Developer
Mobile Developer
Sample Candidate Report

Sample Free Questions

Screen Orientation

3min
  -  
Easy  
  -  
MCA

Android Event handling Public

Which of these methods are called when the screen changes orientation from portrait to landscape in Android?

(Select all acceptable answers.)

Shared Preferences

3min
  -  
Easy  
  -  
FILL

Android UI Public

Fill in the blanks, so that changes in the shared preferences are saved:

SharedPreferences pref = getApplicationContext().getSharedPreferences("MyPref", MODE_PRIVATE);
Editor editor = pref.______();
editor.putString("start_message", "Hello!");
editor.putString("end_message", "Goodbye!");
editor.________();

Alert Service

10min
  -  
Easy  
  -  
CODE

Java Interfaces Inversion of control Refactoring Public

Refactor the AlertService and MapAlertDAO classes:

  • Create a new package-private interface, named AlertDAO, that contains the same methods as MapAlertDAO.
  • MapAlertDAO should implement the AlertDAO interface.
  • AlertService should have a constructor that accepts AlertDAO.
  • The raiseAlert and getAlertTime methods should use the object passed through the constructor.
Use Free Questions On a Trial Plan

Premium Questions

The premium question library contains our unique, hand-crafted questions. We offer a refund if you find any of them answered online.

Questions
Document Store, Needle, Driver Exam, Read First Line, Download, Shipping, Back, Manifest, Recycler View, Max Sum, Paper Strip, On Touch, Unloading Trucks, Read Write Execute, Shining Star, Activity Result, Stories, Runner, Segment, Battery Life, Chain Link, Chicken, Crop Ratio, Date Transform, Document Counter, Veterinarian, Fetch Username, Fragments, Hobbies, Internal Nodes, Linear Layout, List View, Log Parser, Node, Paragraph, Platformer, Product, Racer, Relative Layout, Remove Repetitions, Snapshot, Snow Storm, Stack to List, Test Results, Text Scaling, Ship, Unique Product, Unique Numbers, Username, Utilities, Weighted Average, Moving Total, Language Teacher, Book Sale, Friend, Shelf Test
Skills
Java Bug fixing Language Stream Strings Exceptions Android Multithreading Arithmetic Event handling Configuration UI Algorithmic thinking Arrays Sorting TDD Dynamic programming Memory management Battery Life Optimization Linked list Higher order function Interfaces OOP Integer division Regex Refactoring Queue Asynchronous programming Fragments HashMap Iteration Lists Tree Linear Layout List View Serialization XML Recursion Data structures Accessibility levels Synchronization Relative Layout StringBuilder ArrayList Complexity Stack Stream API Responsiveness Class modifiers HashSet Inheritance Graphs Test case design Unit testing
Score Distribution
Loading...
Pricing For Premium Questions