Search test library by skills or roles
⌘ K

Adaface Sample iOS Questions

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

Skills

🧐 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
🧐 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
🧐 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

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 1200+ companies in 75+ 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
✖️