Apple Interview Questions
- 0of 0 votes
AnswersAt the Kernel level, if you want to write a memory leak analyzer, how will you implement it?
- snehaldesh1 June 26, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersIs there a restriction on the types of objects that can be stored in an NSDictionary?
- apple-maybe? April 10, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer - 0of 0 votes
AnswersIs there a restriction on the types of objects that can be serialized?
- apple-maybe? April 10, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer - 0of 0 votes
AnswerWhat is an NSDictionary and how would you implement it?
- apple-maybe? April 10, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer - 0of 0 votes
AnswersWhat is a protocol?
- apple-maybe? April 10, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer - 0of 0 votes
AnswerAre you familiar with the object send method?
- apple-maybe? April 10, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer - 0of 0 votes
AnswerWhere in the Model-View-Controller would you find the NSCoder protocol being used?
- apple-maybe? April 10, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer - 0of 0 votes
AnswersWhat is the big-O algorithmic complexity of insertions, deletions, and find operations in a binary tree?
- apple-maybe? April 10, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer - 0of 0 votes
AnswersWhat is the big-O algorithmic complexity of insertions, deletions, and find operations in a hash table?
- apple-maybe? April 10, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer - 0of 0 votes
AnswersWhat are the ways to extend classes in Objective-C?
- apple-maybe? April 10, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer - 0of 0 votes
AnswersWhat is the NS Coding Protocol?
- apple-maybe? April 10, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer - 0of 0 votes
AnswerWhat are the five most commonly used Objective-C objects?
- apple-maybe? April 10, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer - 1of 1 vote
AnswersExplain dynamic binding?
- apple-maybe? April 10, 2012 in United States| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer - 0of 2 votes
AnswersHow do you not know this?
- apple-maybe? April 08, 2012 in United States
(After a missed technical question.)| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer General Questions and Comments - 0of 0 votes
Answers(Backstory: This interview is for the fifth job I've interviewed for at Apple this semester. This question arose in a phone conversation with HR.)
- apple-maybe? April 08, 2012 in United States for Wireless
HR: (Snarky Tone) So what did you learn from your past three interview experiences with Apple?
Me: I learned that at Apple, whatever subspecialty for whatever job your applying for, you have to be the best in the world. If you have equivalent skill, but someone has more work experience than you, there always going to pick the person with more work experience, and coming right out of college, that means you don't get the job. I had asked my interviewer during one of my interviews, "Do people move around at Apple?" and she said "No, most people don't move around at Apple, they usually leave Apple. You're not going to learn how to do someone else's job at this job."
HR: Awkward silence...
How do I answer this question more professionally and succinctly? Why was the conversation awkward after I had made my remark?| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer General Questions and Comments - 0of 0 votes
AnswersWhat are you looking for?
- apple-maybe? April 08, 2012 in United States for Software Engineer iWork - Keynote
Me: " I'm looking to work in a software engineering position at Apple because I really enjoy building projects with iOS."
Interviewer: "Is that all you've got? haha."
Question: How do I respond to this?| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersHow does memory management work in Objective-C?
- apple-maybe? April 08, 2012 in United States for QA
(Me: I've had this question five times already.)
Well then, explain to me how Automatic Reference Counting works?| Report Duplicate | Flag | PURGE
Apple General Questions and Comments - 0of 0 votes
Answers- (void)setFinishedSelectedImage:(UIImage *)selectedImage withFinishedUnselectedImage:(UIImage *)unselectedImage
How would you automate testing for this method?
- apple-maybe? April 08, 2012 in United States for QA| Report Duplicate | Flag | PURGE
Apple - 0of 0 votes
AnswersGiven a two lists, list A with size N, and list B with size M, write an algorithm to find all of the items that are in both list A and list B.
- apple-maybe? April 08, 2012 in United States for QA
N is large ~ at least 20,000
M <<< is single digit length
Cases:
(i) M <<< N
(ii) M < N
(iii) M = N| Report Duplicate | Flag | PURGE
Apple Algorithm - 0of 0 votes
AnswersImplement the find substring method in c++ which takes two input, the string, and the substring to look for, and returns the start index of the first occurrence of the string.
- apple-maybe? April 08, 2012 in United States for QA| Report Duplicate | Flag | PURGE
Apple Algorithm - -1of 1 vote
AnswerImplement a stack-based linked lists for generic objects in c++?
- apple-maybe? April 08, 2012 in United States for QA| Report Duplicate | Flag | PURGE
Apple Data Structures - 0of 0 votes
AnswerHow do you allocate a singleton in Objective-C?
- apple-maybe? April 08, 2012 in United States for QA| Report Duplicate | Flag | PURGE
Apple General Questions and Comments - 0of 0 votes
Answer// // UIAccelerometer.h // UIKit // // Copyright (c) 2007-2011, Apple Inc. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKitDefines.h> /* UIAcceleration and UIAccelerometer are deprecated as of iOS 5.0. These classes have been replaced by the Core Motion framework. These classes will be marked with formal deprecation attributes in a future release of iOS. */ typedef double UIAccelerationValue; @protocol UIAccelerometerDelegate; UIKIT_CLASS_AVAILABLE(2_0) @interface UIAcceleration : NSObject { @private NSTimeInterval timestamp; UIAccelerationValue x, y, z; } @property(nonatomic,readonly) NSTimeInterval timestamp; @property(nonatomic,readonly) UIAccelerationValue x; @property(nonatomic,readonly) UIAccelerationValue y; @property(nonatomic,readonly) UIAccelerationValue z; @end UIKIT_CLASS_AVAILABLE(2_0) @interface UIAccelerometer : NSObject { @private NSTimeInterval _updateInterval; id <UIAccelerometerDelegate> _delegate; struct { unsigned int delegateDidAccelerate:1; unsigned int reserved:31; } _accelerometerFlags; } + (UIAccelerometer *)sharedAccelerometer; @property(nonatomic) NSTimeInterval updateInterval; //May be capped at a minimum interval @property(nonatomic,assign) id<UIAccelerometerDelegate> delegate; @end @protocol UIAccelerometerDelegate<NSObject> @optional - (void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_NA,__MAC_NA,__IPHONE_2_0,__IPHONE_5_0); @end
If you were given this header file, how would you test this?
- apple-maybe? April 08, 2012 in United States for QA| Report Duplicate | Flag | PURGE
Apple Testing - 1of 1 vote
AnswersWhere are the stack and heap located? How would you write a c program to tell if the stack frame was growing?
- apple-maybe? April 08, 2012 in United States for Data Mining| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Operating System - 0of 0 votes
AnswersIn regular expressions, what is the mean of the "+","*","?" operators?
- apple-maybe? April 08, 2012 in United States for Data Mining| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer General Questions and Comments - 0of 0 votes
AnswerSuppose you have 100,000 files spread across multiple servers and you wanted to process all of them? How would you do that in Hadoop?
- apple-maybe? April 08, 2012 in United States for Data Mining| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Knowledge Based - 0of 0 votes
AnswerIn the Hadoop Hello World Word Count program what are the Map and Reduce functions?
- apple-maybe? April 08, 2012 in United States for Data Mining| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer General Questions and Comments - -1of 1 vote
AnswersWhat is the SQL statement to query two tables at once?
- apple-maybe? April 08, 2012 in United States for Data Mining| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Database - 0of 0 votes
AnswersHow would you kill a process by name in terminal in one line? i.e. NOT kill -9 pid. Follow-up what happens when you type kill processname or kill pid(actual pid)
- apple-maybe? April 08, 2012 in United States for Data Mining| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Unix - 0of 0 votes
AnswersSuppose you have a Lion class and you implemented a draw() function that draws the entire body of the lion. Now suppose you want to make a Tiger class, and the tiger is like a lion, but it doesn't have a mane and has stripes. How would you do this?
- apple-maybe? April 08, 2012 in United States for Data Mining| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Object Oriented Design