Search test library by skills or roles
⌘ K

iOS (Swift) Online Test

The iOS Online Test uses scenario-based MCQs to evaluate candidates on their proficiency in developing iOS mobile applications, including their knowledge of Swift programming language, UIKit, Core Data, Auto Layout, memory management, and debugging. The test includes a coding question to evaluate hands-on programming skills and aims to assess a candidate's ability to design and develop iOS mobile applications that adhere to industry best practices and standards.

Get started for free
Preview questions

Screen candidates with a 40 mins test

Test duration:  ~ 40 mins
Difficulty level:  Moderate
Availability:  Available as custom test
Questions:
  • 5 iOS MCQs
  • 5 Swift MCQs
Covered skills:
Swift Programming
iOS Basics (Swift)
Views and controllers
Variables and Data Types
Control Flow
Functions
Arrays and Collections
Optionals
Classes and Objects
Memory Management
Error handling and debugging
Networking
Core Data
Testing and Debugging
Get started for free
Preview questions

Use Adaface tests trusted by recruitment teams globally

Adaface is used by 1500+ businesses in 80 countries.

Adaface skill assessments measure on-the-job skills of candidates, providing employers with an accurate tool for screening potential hires.

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte NCS Sokrati J&T Express Capegemini

Use the iOS (Swift) Test to shortlist qualified candidates

The iOS (Swift) Online Test helps recruiters and hiring managers identify qualified candidates from a pool of resumes, and helps in taking objective hiring decisions. It reduces the administrative overhead of interviewing too many candidates and saves time by filtering out unqualified candidates at the first step of the hiring process.

The test screens for the following skills that hiring managers look for in candidates:

  • Proficient in Swift Programming to develop iOS applications
  • Solid understanding of iOS Basics (Swift)
  • Ability to design and implement Views and controllers in iOS
  • Knowledge of Variables and Data Types in Swift
  • Capable of implementing Control Flow in Swift
  • Skilled in writing and using Functions in Swift
  • Ability to work with Arrays and Collections in Swift
  • Familiarity with Optionals in Swift
  • Understanding of Classes and Objects in Swift
  • Knowledge of Memory Management in iOS
  • Experience in error handling and debugging in iOS
  • Understanding of Networking in iOS
  • Familiarity with Core Data in iOS
  • Ability to perform Testing and Debugging in iOS
Get started for free
Preview questions

Screen candidates with the highest quality questions

We have a very high focus on the quality of questions that test for on-the-job skills. Every question is non-googleable and we have a very high bar for the level of subject matter experts we onboard to create these questions. We have crawlers to check if any of the questions are leaked online. If/ when a question gets leaked, we get an alert. We change the question for you & let you know.

How we design questions

These are just a small sample from our library of 15,000+ questions. The actual questions on this iOS Online Test will be non-googleable.

🧐 Question

Medium

Completion Handlers
Views
Animations
Solve
Consider the following iOS (Swift) code snippet:
 image
What will happen when this view controller appears?

A) The squareView will move 100 points to the right instantly and then change its background color to blue.
B) The squareView will not move, and its background color will not change.
C) The squareView will change its background color to blue instantly and then move 100 points to the right over 1 second.
D) The squareView will move 100 points to the right and change its background color to blue simultaneously over 1 second.
E) The squareView will move 100 points to the right over 1 second, and the background color will change to blue after 1 second.

Medium

UI Responder Chain
UI
Views
Interaction.
Solve
Consider the following iOS (Swift) code snippet:
 image
When the user taps on the CustomButton, what will be the output? Note that UIButton is a subclass of UIControl by default.

A) Only "CustomButton touchesBegan" will be printed.
B) "CustomButton touchesBegan" and "CustomView touchesBegan" will be printed.
C) "CustomButton touchesBegan", "CustomView touchesBegan", and "ViewController touchesBegan" will be printed.
D) "CustomButton touchesBegan" and "ViewController touchesBegan" will be printed.
E) No output will be printed.

Medium

ViewController Buggy Code
Solve
Here's two different ways to write the same code in iOS (Swift):
 image
Which of the following statements are correct?
 image

Medium

Data Provider DispatchQueue
Closures
Asychronous operations.
Solve
Consider the following code snippet:
 image
What will be printed after the code execution?

Medium

Property Observers
OOPs
Solve
Consider the following Swift code snippet:
 image
What does the code print after execution?
A) 800, -100, 80, 80
B) 800, 800, 80, 72
C) 1000, 800, 100, 72
D) 800, 800, 80, 80
E) 800, 0, 80, 80

Medium

Class Destructor
OOPs
Solve
What does the following Swift code output?
 image

Easy

Defer blocks
Solve
What does the following Swift code output?
 image

Easy

Lazy Variables
Solve
What does the following Swift code output?
 image

Easy

Registration Queue
Logic
Queues
Solve
We want to register students for the next semester. All students have a receipt which shows the amount pending for the previous semester. A positive amount (or zero) represents that the student has paid extra fees, and a negative amount represents that they have pending fees to be paid. The students are in a queue for the registration. We want to arrange the students in a way such that the students who have a positive amount on the receipt get registered first as compared to the students who have a negative amount. We are given a queue in the form of an array containing the pending amount.
For example, if the initial queue is [20, 70, -40, 30, -10], then the final queue will be [20, 70, 30, -40, -10]. Note that the sequence of students should not be changed while arranging them unless required to meet the condition.
⚠️⚠️⚠️ Note:
- The first line of the input is the length of the array. The second line contains all the elements of the array.
- The input is already parsed into an array of "strings" and passed to a function. You will need to convert string to integer/number type inside the function.
- You need to "print" the final result (not return it) to pass the test cases.

For the example discussed above, the input will be:
5
20 70 -40 30 -10

Your code needs to print the following to the standard output:
20 70 30 -40 -10

Medium

Visitors Count
Strings
Logic
Solve
A manager hires a staff member to keep a record of the number of men, women, and children visiting the museum daily. The staff will note W if any women visit, M for men, and C for children. You need to write code that takes the string that represents the visits and prints the count of men, woman and children. The sequencing should be in decreasing order. 
Example:

Input:
WWMMWWCCC

Expected Output: 
4W3C2M

Explanation: 
‘W’ has the highest count, then ‘C’, then ‘M’. 
⚠️⚠️⚠️ Note:
- The input is already parsed and passed to a function.
- You need to "print" the final result (not return it) to pass the test cases.
- If the input is- “MMW”, then the expected output is "2M1W" since there is no ‘C’.
- If any of them have the same count, the output should follow this order - M, W, C.
🧐 Question🔧 Skill

Medium

Completion Handlers
Views
Animations

2 mins

iOS
Solve

Medium

UI Responder Chain
UI
Views
Interaction.

3 mins

iOS
Solve

Medium

ViewController Buggy Code

3 mins

iOS
Solve

Medium

Data Provider DispatchQueue
Closures
Asychronous operations.

3 mins

Swift
Solve

Medium

Property Observers
OOPs

2 mins

Swift
Solve

Medium

Class Destructor
OOPs

2 mins

Swift
Solve

Easy

Defer blocks

2 mins

Swift
Solve

Easy

Lazy Variables

2 mins

Swift
Solve

Easy

Registration Queue
Logic
Queues

30 mins

Coding
Solve

Medium

Visitors Count
Strings
Logic

30 mins

Coding
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Completion Handlers
Views
Animations
iOS
Medium2 mins
Solve
UI Responder Chain
UI
Views
Interaction.
iOS
Medium3 mins
Solve
ViewController Buggy Code
iOS
Medium3 mins
Solve
Data Provider DispatchQueue
Closures
Asychronous operations.
Swift
Medium3 mins
Solve
Property Observers
OOPs
Swift
Medium2 mins
Solve
Class Destructor
OOPs
Swift
Medium2 mins
Solve
Defer blocks
Swift
Easy2 mins
Solve
Lazy Variables
Swift
Easy2 mins
Solve
Registration Queue
Logic
Queues
Coding
Easy30 minsSolve
Visitors Count
Strings
Logic
Coding
Medium30 minsSolve

Test candidates on core iOS (Swift) Hiring Test topics

Swift Programming: Swift programming language is a powerful and modern language used for developing iOS applications. It provides a concise and expressive syntax, which makes code easier to read and maintain. Testing candidates on Swift programming ensures that they have a good understanding of the language and can write clean and efficient code.

iOS Basics (Swift): iOS basics in Swift covers the fundamental concepts and principles of iOS development. It includes topics such as creating user interfaces, managing application lifecycles, and utilizing built-in iOS features. Candidates with a strong grasp of iOS basics are equipped to build robust and user-friendly applications on the iOS platform.

Views and Controllers: Views and controllers are crucial components in iOS development. Views are responsible for presenting the user interface and receiving user input, while controllers handle the logic and behavior of the application. Assessing candidates on views and controllers ensures that they have the skills to design and implement well-structured and interactive interfaces.

Variables and Data Types: Variables and data types are essential concepts in programming. Understanding variables allows developers to store and manipulate values, while data types define the kind of values that can be stored. Testing candidates on variables and data types ensures that they are proficient in handling different data and can effectively manage memory resources in their applications.

Control Flow: Control flow refers to the order in which statements are executed in a program. It includes concepts such as conditional statements, loops, and branching. Evaluating candidates on control flow helps determine their ability to implement logical and efficient algorithms, ensuring that their code executes correctly and efficiently.

Functions: Functions are reusable blocks of code that perform specific tasks. They allow developers to organize their code and make it more modular and maintainable. Assessing candidates on functions ensures that they can write well-structured and efficient code, enabling them to solve complex problems and build scalable applications.

Arrays and Collections: Arrays and collections are used to store and manage multiple values. They provide a way to organize and manipulate data efficiently. Testing candidates on arrays and collections ensures that they can work with complex data structures, enabling them to handle large amounts of data in their applications.

Optionals: Optionals are a feature in Swift that allows for the representation of both a value and the absence of a value. They provide a safe and concise way to handle scenarios where a value may be missing or uncertain. Assessing candidates on optionals ensures that they have a solid understanding of handling optional values, reducing the likelihood of runtime errors and improving code reliability.

Classes and Objects: Classes and objects are fundamental concepts in object-oriented programming. Classes define the blueprint for creating objects, while objects are instances of classes. Evaluating candidates on classes and objects ensures they can design and implement well-structured and reusable code, fostering code reusability and maintainability.

Memory Management: Memory management is the process of managing computer memory resources to ensure efficient utilization and prevent memory leaks. It involves allocating and deallocating memory when needed, as well as handling reference counting and memory cleanup. Testing candidates on memory management ensures that they can write memory-efficient code, minimizing resource consumption and improving application performance.

Error Handling and Debugging: Error handling and debugging are essential skills for any developer. Error handling involves anticipating and handling errors that may occur during program execution, while debugging is the process of identifying and fixing issues in code. Assessing candidates on error handling and debugging ensures that they can effectively troubleshoot and resolve issues, ensuring the stability and reliability of their applications.

Networking: Networking is a critical aspect of many iOS applications, enabling communication with remote servers and APIs. It involves sending and receiving data over the internet and handling network-related tasks such as authentication and encryption. Evaluating candidates on networking ensures that they have the knowledge and skills to implement secure and efficient network communication in their applications.

Core Data: Core Data is a framework used for data persistence in iOS applications. It provides an object-oriented approach to managing and persisting application data, including support for data modeling, data storage, and query execution. Testing candidates on Core Data ensures that they can effectively implement data storage and retrieval, enabling them to build robust and scalable data-driven applications.

Testing and Debugging: Testing and debugging are critical phases in software development, ensuring the quality and stability of applications. Testing involves verifying that the application behaves as expected under various scenarios, while debugging involves identifying and fixing issues in the code. Assessing candidates on testing and debugging ensures that they can effectively validate and troubleshoot their applications, delivering high-quality and reliable software.

Get started for free
Preview questions

Make informed decisions with actionable reports and benchmarks

View sample scorecard

Screen candidates in 3 easy steps

Pick a test from over 500+ tests

The Adaface test library features 500+ tests to enable you to test candidates on all popular skills- everything from programming languages, software frameworks, devops, logical reasoning, abstract reasoning, critical thinking, fluid intelligence, content marketing, talent acquisition, customer service, accounting, product management, sales and more.

Invite your candidates with 2-clicks

Make informed hiring decisions

Get started for free
Preview questions

Try the most advanced candidate assessment platform

ChatGPT Protection

Non-googleable Questions

Web Proctoring

IP Proctoring

Webcam Proctoring

MCQ Questions

Coding Questions

Typing Questions

Personality Questions

Custom Questions

Ready-to-use Tests

Custom Tests

Custom Branding

Bulk Invites

Public Links

ATS Integrations

Multiple Question Sets

Custom API integrations

Role-based Access

Priority Support

GDPR Compliance


Pick a plan based on your hiring needs

The most advanced candidate screening platform.
14-day free trial. No credit card required.

From
$15
per month (paid annually)
love bonito

With Adaface, we were able to optimise our initial screening process by upwards of 75%, freeing up precious time for both hiring managers and our talent acquisition team alike!

Brandon Lee, Head of People, Love, Bonito

Brandon
love bonito

It's very easy to share assessments with candidates and for candidates to use. We get good feedback from candidates about completing the tests. Adaface are very responsive and friendly to deal with.

Kirsty Wood, Human Resources, WillyWeather

Brandon
love bonito

We were able to close 106 positions in a record time of 45 days! Adaface enables us to conduct aptitude and psychometric assessments seamlessly. My hiring managers have never been happier with the quality of candidates shortlisted.

Amit Kataria, CHRO, Hanu

Brandon
love bonito

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.

Swayam Narain, CTO, Affable

Brandon

Have questions about the iOS (Swift) Hiring Test?

How does pricing work?

You can check out our pricing plans.

Can I customize the test?

Yes, absolutely. Custom assessments are set up within 48 hours based on your job description, and will include questions on all must-have skills you specify. Here's a quick guide on how you can request a custom test. You can also customize a test by uploading your own questions.

Can I combine multiple skills into one test?

Yes, absolutely. Custom assessments are set up based on your job description, and will include questions on all must-have skills you specify. Here's a quick guide on how you can request a custom test.

What roles can I use the iOS (Swift) Test for?

Here are few roles for which we recommend this test:

  • iOS Developer
  • Swift Developer
  • Mobile Developer
Can I see a sample test, or do you have a free trial?

Yes!

The free trial includes one sample technical test (Java/ JavaScript) and one sample aptitude test that you will find in your dashboard when you sign up. You can use it to review the quality of questions and the candidate experience of giving a test on Adaface.

You can preview any of the 500+ tests and see the sample questions to decide if it would be a good fit for your requirements.

How do I interpret test scores?

The primary thing to keep in mind is that an assessment is an elimination tool, not a selection tool. A skills assessment is optimized to help you eliminate candidates who are not technically qualified for the role, it is not optimized to help you find the best candidate for the role. So the ideal way to use an assessment is to decide a threshold score (typically 55%, we help you benchmark) and invite all candidates who score above the threshold for the next rounds of interview.

I'm a candidate. Can I try a practice test?

No. Unfortunately, we do not support practice tests at the moment. However, you can use our sample questions for practice.

customers across world
Join 1500+ companies in 80+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to use the Adaface iOS Online Test?
Ready to use the Adaface iOS Online Test?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
Terms Privacy Trust Guide
ada
Ada
● Online
Previous
Score: NA
Next
✖️