SEO Interview Questions And Answers For Freshers

Search engine optimization technique  is used to optimize a website so as to see the web site in SERPs(Search engine results page). Here are few important interview questions and answers for  SEO fresher.

What is SEO?
SEO is search engine optimization or optimizer is a collection of techniques applied to optimize our site so that it ranks well in SERPs (Search engine result pages).
Explain the importance of domain name?
Domain name although the Age of Domain matters, search engines do not favor older and established sites with no recently updated content, it is better to have the content separated and have a different domain preferably with the keywords in it) for different niches. 

What tools do you use for doing seo?
I use Google webmaster tools, Google Analytics, Open site explorer, Alexa, Website grader etc.

What is Google Sandbox?
Google Sandbox is an imaginary area where new and less authoritative sites are kept for a specified time period until they establish themselves of being displayed on the search results. It happens by building too many links within a short period of time. 

What is the difference between on page seo and off page seo?
On page seo means optimizing your website and making changes on title, meta tags, site structure, site content, solving canonicalization problem, managing robots.txt etc.
Off page optimization means optimizing your web presence which involves backlink building and social media promotion.

What are the limitations of title and description tags?
Title tag can be between 66-70 characters and Meta description tag can be between 160-170 characters. 

How will you increase the Pagerank of a page?
By building more backlinks from authority sites and high page rank webpages. 

How will you check the number of backlinks of your competitors site?
To check if our website is seo friendly Turn off JavaScript, CSS, and Cookies in the web browser and view the website. This is how search engines most likely see our website. If we successfully view our website and navigate our website then our site is mostly search engine friendly. The only other process is to check our URL’s Not using a session ID or 'id=' in our query strings is also very helpful.

Both are important. Building great content is necessary as it is your first step towards ranking ;and building backlinks helps to build authority to your website and is an important metric for ranking well. Hence both should go parallel and both are equally important.

What do you mean by anchor text?
Click able text written on an hyperlink is known as 

How will you treat Web standards while optimizing a website?
Google loves web standards hence I will apply the web standards provided by W3C while optimizing a web site. 

If the meta robots tag has a value of "no index, no follow" what does it mean? Does Google uses keyword tags?
No, Google does not make use of keyword tags.

What is 301 redirect?
It is a method of redirecting user from the old page url to the new page url. 301 redirect is a permanent redirect and is helpful in passing the link juice from the old url to the new url.

What do you understand by Cloaking?
Cloaking involves using deceptive techniques which presents the user with a different version of the webpage than that presented to the search engines.

What methods would you apply for decreasing the loading time of a website?
I would use external style sheets, less images (unless necessary), optimize the images and decrease the file sizes of the image without reducing the quality of the image, use CSS sprites to reduce HTTP requests etc.

What are the Social Media channels you have used for marketing?
I have used blogs like blogger, word press, type pad etc, social bookmarking sites like Digg, Jumptags, Delicious etc., social networking sites like Facebook, LinkedIn etc., Video Sharing sites like YouTube, Vimeo etc.

What would you suggest to the client who has a website made on Flash?  How would you do Seo for that site?
Search engines find it harder to parse the contents presented using Flash. I would suggest the client to use an alternative to flash like HTML 5. 

What do you understand by Frames in HTML?
A frame is a HTML technique which divides the content of a page onto several parts. Search engines see Frames as completely different pages and as such Frames have a negative impact on Seo. We should avoid the usage of Frames and use basic HTML instead.

Which is the most important area to include your keywords? 
Page title and Body text are the most important areas where we can include keywords for the SEO purpose.

What are webmaster tools? 
Webmaster tools is a free service by Google from where we can get free Indexing data, backlinks information, crawl errors, search queries, CTR, website malware errors and submit the XML sitemap.

A customer can give you an access to only one tool, which one will you choose, Webmasters or Analytics? 
Of Course Webmaster tools, because these are almost the essential tools for the search engine optimization, we can have some analytics data in the webmasters as well. But now due to the inclusion of webmaster data in Analytics, we would like to have access to Analytics.

What is the main purpose of search engine spiders?
Index sites, because even though spiders visit sites, their main function is not only to visit them but to index their contents spiders do not monitor sites for unethical activities.

What is the best way to maximize the frequency of crawling of your website by search engines? 
Frequently adding new, original and quality content on the website.

When do you apply for re inclusion in a search engine's index?
If our website is banned by the search engines for black hat practices and if we have corrected our wrong doings we apply for reinclusion.

What aspects of a hyperlink are important for SEO?
The place from which the link originates, The anchor text, especially the keywords in it is very important. The place to which the link leads and for back links the reputation of the web site from which the link originates is also crucial, because if you link to link farms, this might get you banned from search engines.

What is robots.txt?
Robots.txt is a text file used to give instructions to the search engine crawlers about the caching and indexing of a webpage, domain, directory or a file of a website.

What is Keyword Difficulty?
Keyword difficulty identifies how difficult it would be to rank well for a particular keyword. and the value is higher for more popular words because it will be more difficult to compete with 1,000s of other sites for a popular word than with 10s of others for the less popular ones

Which of the options below is the best way to select the keywords to optimize for?
Use a tool to determine the theme of your web site, because it is the whole theme of a website that is more important than separate keywords. Selecting competitors keywords which have the highest density  is not recommendable because if your competitor has wrongly selected the keywords, or even if the keywords are right for them, this does not mean that they are right for you, so actually you get on the wrong trace from the very beginning.

Which is better Robots.txt or Meta Robots Tag?
Meta Robots tag is much better as it helps in forcing the search engine crawlers not to index and display the hidden pages in your server.

What is a landing page? 
A landing page is a page in the website which is designed to attract the visitors to contact/subscribe/buy a service or the product by reading few lines of important information about that particular service or the product on that page

With the help of the link operator on Google and by using various external tools like Alexa, Backlink Watch , Open Site Explorer, Backlink finder etc.

If you have a site that is targeted at a particular country only, which of the following are recommendable to do in order to rank well in country specific search results?
Use the appropriate language attribute in the HTML code of the page, The web site should be hosted in the same country, so that its IP falls in the range of IPs that are specific for this country. Have the web site written in the language of the country. Submit the site to local search engines, search engines use their own algorithms to determine the language of a a particular sites, even there are SEO experts who say that no efforts on your side are necessary for ranking well in country specific search results.

Why are metatags important?
Because search engines still use them for estimating search relevancy. although search engines might not rely on metatags to generate search results, metatags are used (to a differing extend) by most of the search engines Because it is a professional approach to Web design to have complete and accurate metatags,  since metatags are part of the html code of a page, they must also be done professionally, as the rest of the code.

Do you know who Danny Sullivan is? 
He is a Journalist who covers the field of web search, considered as search engine guru and editor at searchengineland.com

Who is Matt Cutts? 
He is the head of web spam team at Google.
It means the search engine crawlers would not index the contents and would not follow the links present on the page.

From seo point of view, which is better - one big site or several smaller site?
If you have enough content in the same niche it is better to have it in one big site because first, this way the site is easier to maintain and the great number of pages is good for ranking high in search results. Many small sites allow focusing on specific niches, therefore competing for different keywords.

How do you know how much to pay for a text link from another site to yours?
The price of a text link from another site to yours depends on many factors, The price is often different because it depends on the current rating of the site that will back link to us. The most important of which is the Web Site the back link originates from, because there can't be universal prices for text links. when you don't know the real price of a link, negotiating to drop the price is pointless and generally, reputable sites are not going to negotiate the price of their links.

Do you use separate Seo strategies for Google,Yahoo and Bing?
Yes I use separate strategies for Google,Yahoo and other search engines.More backlinks are required for Google .It pays more attention to backlinks and site authority while Yahoo and Bing pays more attention to title and Meta tags. Hence, a site takes time to rank on Google as compared to Yahoo and Bing. 

Which of the following techniques is unethical and can be a reason for banning?
Creating a doorway page instead a home page is considered as unethical because doorway pages are aimed at misleading search engines.

Explain some seo practices?
Building back links. Rewriting the titles to include the target keywords, Rewriting dynamic URLs into static.

For which of the following file types a SEO expert needs to provide an alternative textual description?
(swf. ---- gif.) Since .html, .pdf and .doc are text file formats and spiders can read their contents directly, it is pointless to provide an alternative textual description. On the contrary, .swf and image file types, like .gif and .jpg, need alternative textual descriptions because spiders cannot read their contents directly.

What is Keyword proximity?
It measures the distance between two keywords in the text. Keyword proximity is used by some search engines to measure relevancy of a given page to the search request. The idea is that the closer two keywords to each other are, the more relevant the page , keyword density measures how many times (not how far) a given keyword appears on a page.

If you were a SEO for a technology web site, what would you do to build backlinks for it?
Four practices are a quite legal and recommendable way of building backlinks are.
  •  Post in technology blogs.
  •  Submit articles to technology engines.
  •  Exchange links with other reputable technology web sites.
  •  Provide free syndicated content to partner-websites.
Explain onsite search box, and how it helps to attract traffic?
An onsite search box allows searching for pages that are inaccessible to unregistered users (i.e. search engine spiders). When you have an onsite search box, your visitors will get more search results than in comparison to using Google and the other search engines. If you have an onsite search box and see what users are searching for, you will be able to notice new keywords that are of interest to your audience.

Using the “site:” operator in search engines makes onsite search boxes obsolete is false because generally search engines do not index every single page of a site, even if these pages are not disallowed in the robots.txt or are password-protected. A good onsite search box is really valuable but it is a fact that occasionally onsite search boxes use so imprecise algorithms that using the “site:” operator in Google gives much more reliable results.

What are the advantages of submitting sites to search directories?
By submitting to a search directory, you get a back link to your web site. When your site is listed in search directories, this increases the chances that search engines will index it sooner, compared to when it is not listed. Submitting to search directories is a good Web marketing initiative. Because that increases the chances of having your web site index and when your site is listed in a search directory, you list its URL as well, so you actually get a valuable link
Submitting to search directories neither gets higher ranking nor gets your web site certified.

Which of the following are criteria for the uniqueness of a page (unique as opposed to duplicate content)?
Code similarity, Text similarity, Page names. Titles, headings, page titles and metatags.

What does the abbreviation PPC stand for?
Pay per click, Pay per Click measures how much online advertisers must pay each time their advertisement is clicked on.

What is LSI?
LSI stands for Latent Semantic Indexing. It is a data retrieval technique which finds connection between words and the use of synonyms while fetching data from the index.

Will you use an ordinary html sitemap with Google?
Google has a special format for sitemaps rather than ordinary html format. So it is good to use  special XML format that Google uses for sitemaps.

What is Page Rank?
This is the Google technology for measuring popularity among users. Yahoo has a similar technology, called Web Rank, and Alexa Rank is the Alexa technology. The way Google measures how popular a given page is based on the number and quality of sites that link to it.

You have just launched a new web site. Unfortunately, nobody visits it, even search engines' spiders don't notice it. What can you do for its SEO success?
Submit the URL of the web site to search engines and search directories

Why are metatags important?
Because search engines still use them for estimating search relevancy. although search engines might not rely on metatags to generate search results, metatags are used (to a differing extend) by most of the search engines Because it is a professional approach to Web design to have complete and accurate metatags,  since metatags are part of the html code of a page, they must also be done professionally, as the rest of the code.

If you own a web site and have a weekly newsletter that features the same content as the site, how can you include Google AdSense in your newsletter when you mail it to your subscribers?
We can’t include AdSense in our newsletter, because we cannot include Google ads in offsite content, as an e-mail newsletter.

Difference between exit rate and bounce rate?
Bounce rate is the percentage of people who leaves a particular website just after visiting a single page on this and exit rate refers to the percentage of people who leaves from a particular page.

Can search engines see password protected pages?
In most of the cases Search engines are not different from regular users. Search engines cannot go anywhere that a regular user cannot go. If we have a password protected area on our website that cannot be accessed without a login and password then the search engines also cannot see it.

For seo which is better text links or graphical links?
Text links are better for SEO. Text links can contain the anchor text that our web page wishes to rank well for and that is an important factor in many search engines, especially Google. Image links are still valuable but do have less benefits compared to text links. When we have alt attribute



Labels: Interview

iPhone Interview Questions And Answers For Freshers


Hello friends this time i’m posting some iPhone, iPad and iOS questions and answer for fresher because they are easy to face open interviewer questions on iPhone . I will be updating this post on regular basis.So, Keep in touch.
What is iPhone?
IPhone is a combination of internet and multimedia enabled smart phone developed by Apple Inc.IPhone functions as a camera phone, including text messaging, and visual voice mail. IPhone is a portable media player that resembles a video iPod It has user interface that is built around the multi-touch screen including virtual keyboard.
What is an iPhone app?
An iPhone app is a program that runs on our iPhone/iPod Touch. It enables us to ccomplish a certain task. They could be utility apps, games, enterprise apps, entertainment apps, apps to access our bank account etc.
Introduction to Iphone application Development?
In 2007, Apple entered the cellular phone business with the introduction of the iPhone, a multi-touch display cell phone, which also includes the features of iPod.

Multitasking support is available from which version?

iOS 4.0

How many bytes we can send to apple push notification server.

256bytes.

What are the features of iPhone 3gs?
  • Video: Videos can be edited, shared. High quality VGA video can be shot in portrait or landscape.
  • 3 Mega pixel Camera: Still photos with greater quality can be taken
  • Voice control: It recognizes the names in contacts and recognizes the music on iPod.
  • Compass: iPhone 3GS has built-in digital compass, used to point the way.
  • Internet Tethering: Internet surfing can be done from anywhere. A 3G connection can be shared on Iphon3 with Mac notebook or laptop.

Why iPhone apps are popular?

Give our business a whole new way of transacting business for millions of users.
IPhones are the market leaders in the smart phone segment. The iPhone has become a great device to surf the internet, play games, interact with social networks and transact business.

Where can you test Apple iPhone apps if you don’t have the device?

iOS Simulator can be used to test mobile applications. Xcode tool that comes along with iOS SDK includes Xcode IDE as well as the iOS Simulator. Xcode also includes all required tools and frameworks for building iOS apps.  However, it is strongly recommended to test the app on the real device before publishing it.

Does iOS support multitasking? 


iOS 4 and above supports multi-tasking and allows apps to remain in the background until they are launched again or until they are terminated.  

Which JSON framework is supported by iOS? 
SBJson framework is supported by iOS.  It is a JSON parser and generator for Objective-C. SBJson provides flexible APIs and additional control that makes JSON handling easier.

What is iPhone OS?
iPhone OS runs on iPhone and iPod touch devices.
Hardware devices are managed by iPhone OS and provides the technologies needed for implementing native applications on the phone.
The OS ships with several system applications such as Mail, Safari, Phone, which provide standard services to the user.
Difference between shallow copy and deep copy?
Shallow copy is also known as address copy. In this process you only copy address not actual data while in deep copy you copy data.
Suppose there are two objects A and B. A is pointing to a different array while B is pointing to different array. Now what I will do is following to do shallow copy.Char *A = {‘a’,’b’,’c’};Char *B = {‘x’,’y’,’z’};B = A;Now B is pointing is at same location where A pointer is pointing.Both A and B in this case sharing same data. if change is made both will get altered value of data.Advantage is that coping process is very fast and is independent of size of array.
while in deep copy data is also copied. This process is slow but Both A and B have their own copies and changes made to any copy, other will copy will not be affected.
What are the requirements for developing iPhone Apps?
Mac OS 10.5/10.6 iPhone SDK (Software Development Kit 3.0/4.0).
IPhone SDK consists of:
  •  IDE to develop iPhone Apps is XCode(This tool is inbuilt in iPhone SDK)
  •  Interface Builder This is used to design GUI of Apps(Inbuilt feature of iPhone SDK)
  •  Instruments  This is used to check any memory leaks in our apps (Inbuilt in SDK)
  •  Simulator This is used to test our apps before deploying into real device.

What are the popular apps of iPhone?
  • Face book-Social networking
  • Doodle Buddy-drawing
  • Pandora Radio-radio on our iPhone
  • Yelp-restaurant reviews

What is iPhone reference library?
iPhone reference library is a set of reference documents for iPhone OS. It can be downloaded by subscribing to the iPhone OS Library doc set. Select Help>Documentation from X code, and click the subscribe button next to the iPhone OS Library doc set, which appears in the left column.
What is iPhone sdk?
iPhone SDK is available with tools and interfaces needed for developing, installing and running custom native applications. Native applications are built using the iPhone OS’s system frameworks and Objective-C language and run directly on iPhone OS. Native applications are installed physically on a device and can run in presence or absence of network connection.
What is iPhone architecture?
It is similar to Mac OS X architecture
It acts as an intermediary between the iPhone and iPod hardware an the appearing applications on the screen
The user created applications never interact directly with the appropriate drivers, which protects the user applications from changes to the hardware.
What are the location services?
Applications such as Maps, camera and compass are allowed to use the information from cellular, Wi-Fi and Global Positioning System networks for determining the approximate locations.
The location is displayed on the screen, using a blue marker.
Describe the functionality of accelerometer of an iPhone ?
iPhone responds to motion using a built-in accelerometer.
The accelerometer detects the movement and changes the display accordingly, at the time of rotating iPhone from portrait to landscape.
Name the application thread from where UIKit classes should be used?
 
UIKit classes should be used only from an application’s main thread.  Note: The derived classes of UIResponder and the classes which manipulate application’s user interface should be used from application’s main thread. 

Which API is used to write test scripts that help in exercising the application's user interface elements? 


UI Automation API is used to automate test procedures. Tests scripts are written in JavaScript to the UI Automation API.  This in turn simulates user interaction with the application and returns log information to the host computer.

Explain about the applications that can be used with iPhone ?
Technology, Entertainment and Design (TED): Allows to watch and listen to world’s most fascinating people have to say, all on the iPhone.
What are the tools required to develop iOS applications? 


iOS development requires Intel-based Macintosh computer and iOS SDK.

Name the framework that is used to construct application’s user interface for iOS. 

The UIKit framework is used to develop application’s user interface for iOS. UIKit framework provides event handling, drawing model, windows, views, and controls specifically designed for a touch screen interface.

What is iPhone reference library?
iPhone reference library is a set of reference documents for iPhone OS.
It can be downloaded by subscribing to the iPhone OS Library doc set.
Select Help>Documentation from X code, and click the subscribe button next to the iPhone OS Library doc set, which appears in the left column.
What are sensors in iPhone?
The proximity sensor immediately turns off the display when the iPhone is lifted to ear. With this sensor the power is saved and accidental dialing is prevented.
The display is automatically brightens the iPhone by the ambient light sensor when the sunlight or bright rooms and dims in darker places.
How can an operating system improve battery life while running an app? 


An app is notified whenever the operating system moves the apps between foreground and background.  The operating system improves battery life while it bounds what your app can do in the background. This also improves the user experience with foreground app.

Why an app on iOS device behaves differently when running in foreground than in background? 


An application behaves differently when running in foreground than in background because of the limitation of resources on iOS devices.

Which framework delivers event to custom object when app is in foreground? 


The UIKit infrastructure takes care of delivering events to custom objects. As an app developer, you have to override methods in the appropriate objects to process those events.

When an app is said to be in not running state? 


An app is said to be in 'not running' state when: 
  •  it is not launched. 
  •  it gets terminated by the system during running.


Assume that your app is running in the foreground but is currently not receiving events. In which sate it would be in?
 
An app will be in InActive state if it is running in the foreground but is currently not receiving events. An app stays in InActive state only briefly as it transitions to a different state.

How can you respond to state transitions on your app? 


On state transitions can be responded to state changes in an appropriate way by calling corresponding methods on app's delegate object.

For example: 


applicationDidBecomeActive method can be used to prepare to run as the foreground app. 
applicationDidEnterBackground method can be used to execute some code when app is running in the background and may be suspended at any time.

 
applicationWillEnterForeground method can be used to execute some code when your app is moving out of the background 


applicationWillTerminate method is called when your app is being terminated.

List down app's state transitions when it gets launched. 


Before the launch of an app, it is said to be in not running state.
When an app is launched, it moves to the active or background state, after transitioning briefly through the inactive state.


Who calls the main function of you app during the app launch cycle? 


During app launching, the system creates a main thread for the app and calls the app’s main function on that main thread. The Xcode project's default main function hands over control to the UIKit framework, which takes care of initializing the app before it is run.

Give example scenarios when an application goes into InActive state? 


An app can get into InActive state when the user locks the screen or the system prompts the user to respond to some event e.g. SMS message, incoming call etc.

When an app is said to be in active state? 


An app is said to be in active state when it is running in foreground and is receiving events.

Name the app sate which it reaches briefly on its way to being suspended. 


An app enters background state briefly on its way to being suspended.

Assume that an app is not in foreground but is still executing code. In which state will it be in? 


Background state.

An app is loaded into memory but is not executing any code. In which state will it be in? 


An app is said to be in suspended state when it is still in memory but is not executing any code.

Assume that system is running low on memory. What can system do for suspended apps? 


In case system is running low on memory, the system may purge suspended apps without notice.

What is the use of controller object UIApplication?


Controller object UIApplication is used without subclassing to manage the application event loop. It coordinates other high-level app behaviors. 


It works along with the app delegate object which contains app-level logic.

How is the app delegate is declared by Xcode project templates?


App delegate is declared as a subclass of UIResponder by Xcode project templates.

What happens if IApplication object does not handle an event?


In such case the event will be dispatched to your app delegate for processing.

Which app specific objects store the app's content?


Data model objects are app specific objects and store app’s content. Apps can also use document objects to manage some or all of their data model objects.

Are document objects required for an application? What does they offer?


Document objects are not required but are very useful in grouping data that belongs in a single file or file package.

How do you change the content of your app in order to change the views displayed in the corresponding window?


To change the content of your app, you use a view controller to change the views displayed in the corresponding window. Remember, window itself is never replaced.

Define view object.


Views along with controls are used to provide visual representation of the app content. View is an object that draws content in a designated rectangular area and it responds to events within that area.

You wish to define your custom view. Which class will be subclassed?


Custom views can be defined by subclassing UIView.

Which object is create by UIApplicationMain function at app launch time?


The app delegate object is created by UIApplicationMain function at app launch time. The app delegate object's main job is to handle state transitions within the app.

Which object manage the presentation of app's content on the screen?


View controller objects takes care of the presentation of app's content on the screen. A view controller is used to manage a single view along with the collection of subviews. It makes its views visible by installing them in the app’s window.

Which is the super class of all view controller objects?


UIViewController class. The functionality for loading views, presenting them, rotating them in response to device rotations, and several other standard system behaviors are provided by UIViewController class.

What is the purpose of UIWindow object?


The presentation of one or more views on a screen is coordinated by UIWindow object.

Apart from incorporating views and controls, what else an app can incorporate?


Apart from incorporating views and controls, an app can also incorporate Core Animation layers into its view and control hierarchies.

What are layer objects and what do they represent?


Layer objects are data objects which represent visual content. Layer objects are used by views to render their content. Custom layer objects can also be added to the interface to implement complex animations and other types of sophisticated visual effects.

Difference between categories and extensions?

Class extensions are similar to categories. The main difference is that with an extension, the compiler will expect you to implement the methods within your main @implementation, whereas with a category you have a separate @implementation block. So you should pretty much only use an extension at the top of your main .m file (the only place you should care about ivars, incidentally) — it’s meant to be just that, an extension.
What are KVO and KVC?
KVC: Normally instance variables are accessed through properties or accessors but KVC gives another way to access variables in form of strings. In this way your class acts like a dictionary and your property name for example “age” becomes key and value that property holds becomes value for that key. For example, you have employee class with name property.
You access property like
NSString age = emp.age;
setting property value.
emp.age = @”20″;
Now how KVC works is like this
[emp valueForKey:@"age"];
[emp setValue:@"25" forKey:@"age"];
KVO : The mechanism through which objects are notified when there is change in any of property is called KVO.
For example, person object is interested in getting notification when accountBalance property is changed in BankAccount object.To achieve this, Person Object must register as an observer of the BankAccount’s accountBalance property by sending an 
addObserver:forKeyPath:options:context: message.
What is difference between NSNotification and delegate?
Delegate is passing message from one object to other object. It is like one to one communication while nsnotification is like passing message to multiple objects at the same time. All other objects that have subscribed to that notification or acting observers to that notification can or can’t respond to that event. Notifications are easier but you can get into trouble by using those like bad architecture. Delegates are more frequently used and are used with help of protocols.
What is push notification?
Imagine, you are looking for a job. You go to software company daily and ask sir “is there any job for me” and they keep on saying no.  Your time and money is wasted on each trip.(Pull Request mechanism).
So, one day owner says, if there is any suitable job for you, I will let you know. In this mechanism, your time and money is not wasted. (Push Mechanism).
What is Automatic Reference Counting (ARC) ?

ARC is a compiler-level feature that simplifies the process of managing the lifetimes of Objective  C objects. Instead of you having to remember when to retain or release an object, ARC evaluates the lifetime requirements of your objects and automatically inserts the appropriate method calls at compile time.

What is polymorphism?
This is very famous question and every interviewer asks this. Few people say polymorphism means multiple forms and they start giving example of draw function which is right to some extent but interviewer is looking for more detailed answer.
Ability of base class pointer to call function from derived class at runtime is called polymorphism.
Whats fast enumeration?

Fast enumeration is a language feature that allows you to enumerate over the contents of a collection. (Your code will also run faster because the internal implementation reduces
message send overhead and increases pipelining potential.)

Whats a struct?

A struct is a special C data type that encapsulates other pieces of data into a single cohesive unit. Like an object, but built into C. 

Whats the difference between frame and bounds?

The frame of a view is the rectangle, expressed as a location (x,y) and size (width,height) relative to the superview it is contained within. The bounds of a view is the rectangle, expressed as a location (x,y) and size (width,height) relative to its own coordinate system (0,0).


Labels: Interview