Ios Developer Internship Interview Questions

5,596 ios developer internship interview questions shared by candidates

FizzBuzz. Given a loop that counts upwards to X, print "Fizz" if the number is divisible by 3, "Buzz" if its divisible by 5, "FizzBuzz" if divisible by both, otherwise print the counter value. Then complexity is added when you are asked to introduce new words like "Guzz", "Muzz", etc for different values. Order matters (you'll never have "BuzzFizz")
avatar

IOS Developer

Interviewed at TribalScale

3.4
Jun 19, 2017

FizzBuzz. Given a loop that counts upwards to X, print "Fizz" if the number is divisible by 3, "Buzz" if its divisible by 5, "FizzBuzz" if divisible by both, otherwise print the counter value. Then complexity is added when you are asked to introduce new words like "Guzz", "Muzz", etc for different values. Order matters (you'll never have "BuzzFizz")

For this swift code below, what's the order of things being printed out in the console? class Master { lazy var detail = Detail(master: self) init() { Swift.print("Master init") } deinit { Swift.print("Master deinit") } } class Detail { var master : Master init(master : Master) { Swift.print("Detail init") self.master = master } deinit { Swift.print("Detail deinit") } } func createMaster() { var master: Master = Master() var detail = master.detail } createMaster()
avatar

IOS Developer

Interviewed at Gap Inc.

3.7
Feb 19, 2019

For this swift code below, what's the order of things being printed out in the console? class Master { lazy var detail = Detail(master: self) init() { Swift.print("Master init") } deinit { Swift.print("Master deinit") } } class Detail { var master : Master init(master : Master) { Swift.print("Detail init") self.master = master } deinit { Swift.print("Detail deinit") } } func createMaster() { var master: Master = Master() var detail = master.detail } createMaster()

Viewing 641 - 650 interview questions

Glassdoor has 5,596 interview questions and reports from Ios developer internship interviews. Prepare for your interview. Get hired. Love your job.