Practice Question and Answer

Q: Why an app on iOS device behaves differently when running in foreground than in background? 911 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

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

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

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.

Q: What is the use of controller object UIApplication? 1341 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

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.

Q: What are layer objects and what do they represent? 1603 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

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.

Q: In HTML 5 we do not need DTD why? 1645 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

HTML 5 does not use SGML or XHTML itтАЩs completely a new thing so you do not need to refer DTD. For HTML 5 you just need to put the below doctype code which makes the browser identify that this is a HTML 5 document.

Q: What are the different new form element types in HTML 5? 1553 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

These are the new form elements introduced in HTML 5: Color Date Datetime-local Email Time Url Range Telephone Number Search

Q: What is SVG? 1484 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

SVG stands for scalable vector graphics. ItтАЩs a text based graphic language which draws images using text, lines, dots etc. This makes it lightweight and renders faster.

Q: What is local storage concept in HTML 5? 1532 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

Many times we would like to store information about the user locally in the computer. For example letтАЩs say user has half-filled a long form and suddenly the internet connection breaks off. So the user would like you to store this information locally and when the internet comes back.He would like to get that information and send it to the server for storage. Modern browsers have storage called as тАЬLocal storageтАЭ in which you can store this information.

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully