Search test library by skills or roles
โŒ˜ K

Adaface Sample Swift Questions

Here are some sample Swift questions from our premium questions library (10273 non-googleable questions).

Skills

๐Ÿง 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
๐Ÿง 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
๐Ÿง 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

Trusted by recruitment teams in enterprises globally

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

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

hashtag image heart icon Swayam
customers across world
Join 1500+ companies in 80+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
ada
Ada
โ— Online
Previous
Score: NA
Next
โœ–๏ธ