Search test library by skills or roles
⌘ K

Swift & iOS Online Test

The Swift iOS Test is designed to assess the candidate's knowledge of Swift programming language and its application in iOS development. The test uses scenario-based MCQs to evaluate the candidate's proficiency in key areas like syntax, memory management, protocols, and frameworks like UIKit, Foundation, and Core Data. The test also includes a coding question to evaluate hands-on programming skills.

Get started for free
Preview questions

Screen candidates with a 40 mins test

Test duration:  40 mins
Difficulty level:  Moderate
Availability:  Ready to use
Questions:
  • 5 Swift MCQs
  • 5 iOS MCQs
  • 1 Swift Coding Question
Covered skills:
Swift Syntax
Memory management in Swift
Error handling in Swift
Data structures in Swift
Networking in iOS
User Interface design in iOS
Core Data framework
Concurrency in iOS
Swift Programming
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 Swift & iOS Test to shortlist qualified candidates

The Swift & iOS 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:

  • Understanding and applying Swift syntax effectively
  • Managing memory in Swift efficiently
  • Handling exceptions and errors in Swift accurately
  • Working with various data structures in Swift
  • Implementing networking in iOS applications
  • Designing user interfaces in iOS effectively
  • Utilizing the Core Data framework for data management
  • Understanding and implementing concurrency in iOS
  • Proficient in Swift programming
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 Swift & iOS Test will be non-googleable.

🧐 Question

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

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

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

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

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

Easy

Registration Queue
Logic
Queues

30 mins

Coding
Solve

Medium

Visitors Count
Strings
Logic

30 mins

Coding
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
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
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
Registration Queue
Logic
Queues
Coding
Easy30 minsSolve
Visitors Count
Strings
Logic
Coding
Medium30 minsSolve

Test candidates on core Swift & iOS Hiring Test topics

Swift Syntax: Swift Syntax refers to the rules and structure of the Swift programming language. It encompasses the various components such as variables, functions, control flow, and object-oriented concepts that enable developers to write efficient and readable code.

Memory management in Swift: Memory management in Swift involves managing the allocation and deallocation of memory resources to ensure efficient memory usage and prevent memory leaks in applications. It includes concepts such as reference counting, automatic memory management with ARC (Automatic Reference Counting), and strong, weak, and unowned references.

Error handling in Swift: Error handling in Swift allows developers to handle, propagate, and recover from errors gracefully. It involves using mechanisms like do-catch blocks, throwing and catching errors, and handling different types of errors, such as runtime errors and domain-specific errors.

Data structures in Swift: Data structures in Swift represent the organization and storage of data in memory. They provide efficient ways to store, access, and manipulate data. Common data structures include arrays, dictionaries, stacks, queues, and linked lists.

Networking in iOS: Networking in iOS involves the integration of network connectivity and communication in iOS applications. It includes concepts such as making HTTP/HTTPS requests, handling response data, implementing RESTful APIs, and using libraries like URLSession or Alamofire for network operations.

User Interface design in iOS: User Interface design in iOS focuses on creating visually appealing, intuitive, and user-friendly interfaces for iOS applications. It involves using the UIKit framework, designing layouts with constraints and auto layout, implementing user interactions, and incorporating design principles to provide a seamless user experience.

Core Data framework: The Core Data framework in iOS provides an object-oriented approach to managing the model layer of an application. It enables developers to store, retrieve, and manipulate data as objects, while handling complex data relationships and providing features like data persistence, versioning, and automatic change tracking.

Concurrency in iOS: Concurrency in iOS involves simultaneously executing multiple tasks or operations to enhance application performance and responsiveness. It includes concepts such as multithreading, Grand Central Dispatch (GCD), operation queues, and synchronization techniques to manage concurrent execution and avoid race conditions.

Swift Programming: Swift Programming encompasses the overall knowledge and proficiency in the Swift language, covering the syntax, language features, best practices, and development techniques. It includes understanding concepts like optionals, closures, generics, protocols, and advanced language features that enable developers to write efficient and maintainable Swift code.

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 Swift & iOS 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 Swift & iOS Test for?

Here are few roles for which we recommend this test:

  • iOS Developer
  • Mobile App Developer
  • Swift Developer
  • iOS Engineer
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 Swift & iOS Test?
Ready to use the Adaface Swift & iOS Test?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
Terms Privacy Trust Guide
ada
Ada
● Online
Previous
Score: NA
Next
✖️