iPhone interview questions
Difference between shallow copy and deep copy?
What is advantage of categories? What is difference between implementing a category and inheritance?
Difference between categories and extensions?
Difference between protocol in objective c and interfaces in java?
What are KVO and KVC?
What is purpose of delegates?
What are mutable and immutable types in Objective C?
When we call objective c is runtime language what does it mean?
what is difference between NSNotification and protocol?
What is push notification?
Polymorphism?
Singleton?
What is responder chain?
Difference between frame and bounds?
Difference between method and selector?
Is there any garbage collection mechanism in Objective C.?
NSOperation queue?
What is lazy loading?
Can we use two tableview controllers on one viewcontroller?
Can we use one tableview with two different datasources? How you will achieve this?
What is advantage of using RESTful webservices?
When to use NSMutableArray and when to use NSArray?
What is the difference between REST and SOAP?
Give us example of what are delegate methods and what are data source methods of uitableview.
How many autorelease you can create in your application? Is there any limit?
If we don’t create any autorelease pool in our application then is there any autorelease pool already provided to us?
When you will create an autorelease pool in your application?
When retain count increase?
Difference between copy and assign in objective c?
What are commonly used NSObject class methods?
What is convenience constructor?
How to design universal application in Xcode?
What is keyword atomic in Objective C?
What are UIView animations?
How can you store data in iPhone applications?
What is coredata?
What is NSManagedObject model?
What is NSManagedobjectContext?
What is predicate?
What kind of persistence store we can use with coredata?
General programming questions
Swap the two variable values without taking third variable?
Find the 2nd minimum number in the array? Give us the optimized algorithm with runtime nlogn.
Reverse the link list.
Analytical interview Questions phase
Some companies give very importance to this phase. I think, they asses that if we ask the candidate to learn new technology how quick he/she can adapt himself/herself to it. Also how he solves the problem, what is his technique and how logically he/she thinks? Some of the questions are given below
If given a rectangular cake with a rectangular piece removed (any size or orientation), how would you cut the remainder of the cake into two equal halves with one straight cut of a knife?
We have birthday cake and we want to divide it into 8 pieces. Place minimum cuts and divide it into 8 pieces.
You are in the tunnel. There is gold hidden in the tunnel may be on your left side or right side but you don’t know. Give us optimized plan that you will find the gold with minimum time?
You have someone working for you for seven days and you have one gold bar to pay them. The gold bar is segmented into seven connected pieces. You must give them a piece of gold at the end of every day. If you are only allowed to make two breaks in the gold bar, how do you pay your worker?
No comments:
Post a Comment