Interview Questions

AJAX Interview Questions Android Interview Questions Angular 2 Interview Questions AngularJs Interview Questions Apache Presto Interview Questions Apache Tapestry Interview Questions Arduino Interview Questions ASP.NET MVC Interview Questions Aurelia Interview Questions AWS Interview Questions Blockchain Interview Questions Bootstrap Interview Questions C Interview Questions C Programming Coding Interview Questions C# Interview Questions Cakephp Interview Questions Cassandra Interview Questions CherryPy Interview Questions Clojure Interview Questions Cobol Interview Questions CodeIgniter interview Questions CoffeeScript Interview Questions Cordova Interview Questions CouchDB interview questions CSS Buttons Interview Questions CSS Interview Questions D Programming Language Interview Questions Dart Programming Language Interview Questions Data structure & Algorithm Interview Questions DB2 Interview Questions DBMS Interview Questions Django Interview Questions Docker Interview Questions DOJO Interview Questions Drupal Interview Questions Electron Interview Questions Elixir Interview Questions Erlang Interview Questions ES6 Interview Questions and Answers Euphoria Interview Questions ExpressJS Interview Questions Ext Js Interview Questions Firebase Interview Questions Flask Interview Questions Flex Interview Questions Fortran Interview Questions Foundation Interview Questions Framework7 Interview Questions FuelPHP Framework Interview Questions Go Programming Language Interview Questions Google Maps Interview Questions Groovy interview Questions GWT Interview Questions Hadoop Interview Questions Haskell Interview Questions Highcharts Interview Questions HTML Interview Questions HTTP Interview Questions Ionic Interview Questions iOS Interview Questions IoT Interview Questions Java BeanUtils Interview Questions Java Collections Interview Questions Java Interview Questions Java JDBC Interview Questions Java Multithreading Interview Questions Java OOPS Interview Questions Java Programming Coding Interview Questions Java Swing Interview Questions JavaFX Interview Questions JavaScript Interview Questions JCL (Job Control Language) Interview Questions Joomla Interview Questions jQuery Interview Questions js Interview Questions JSF Interview Questions JSP Interview Questions KnockoutJS Interview Questions Koa Interview Questions Laravel Interview Questions Less Interview Questions LISP Interview Questions Magento Interview Questions MariaDB Interview Questions Material Design Lite Interview Questions Materialize CSS Framework Interview Questions MathML Interview Questions MATLAB Interview Questions Meteor Interview Questions MongoDB interview Questions Moo Tools Interview Questions MySQL Interview Questions NodeJS Interview Questions OpenStack Interview Questions Oracle DBA Interview Questions Pascal Interview Questions Perl interview questions Phalcon Framework Interview Questions PhantomJS Interview Questions PhoneGap Interview Questions Php Interview Questions PL/SQL Interview Questions PostgreSQL Interview Questions PouchDB Interview Questions Prototype Interview Questions Pure CSS Interview Questions Python Interview Questions R programming Language Interview Questions React Native Interview Questions ReactJS Interview Questions RequireJs Interview Questions RESTful Web Services Interview Questions RPA Interview Questions Ruby on Rails Interview Questions SAS Interview Questions SASS Interview Questions Scala Interview Questions Sencha Touch Interview Questions SEO Interview Questions Servlet Interview Questions SQL Interview Questions SQL Server Interview Questions SQLite Interview Questions Struts Interview Questions SVG Interview Questions Swift Interview Questions Symfony PHP Framework Interview Questions T-SQL(Transact-SQL) Interview Questions TurboGears Framework Interview Questions TypeScript Interview Questions UiPath Interview Questions VB Script Interview Questions VBA Interview Questions WCF Interview Questions Web icon Interview Questions Web Service Interview Questions Web2py Framework Interview Questions WebGL Interview Questions Website Development Interview Questions WordPress Interview Questions Xamarin Interview Questions XHTML Interview Questions XML Interview Questions XSL Interview Questions Yii PHP Framework Interview Questions Zend Framework Interview Questions Network Architect Interview Questions

Top 16 Ionic Interview Questions for 2022

Top 20 Ionic Interview Questions and Answers for Freshers

1) What is Ionic framework?

Ionic is open source HTML5 framework used for hybrid mobile application development. It provides tools and services for building Mobile UI with native looks and feel.

2) What are the features provided by Ionic?

Following important features provided by Ionic are:
  • It uses AngularJS MVC architecture for developing rich single page application.
  • It gives implementation of CSS components to accommodate your own designs.
  • Apache Cordova plugins provide API required for using native device function with JavaScript code.
  • Ionic license is released under MIT.

3) What are the advantages of Ionic?

Following are the advantages of Ionic framework:
  • Ionic is used for Hybrid application development. It means you can develop your application for IOS, Android, Windows Phone and Firefox OS.
  • Ionic provides useful pre-generated app setup with simple layout which makes very easy for starting your app.
  • App developed in Ionic are very maintainable and easy to update.

4) What are the disadvantages of Ionic?

Some disadvantages of Ionic are:
  • Testing is tricky because the browser does not always give right information about the phone environment.
  • Hybrid application tends to be slower as compare to native application.
  • It is difficult to combining different native functionalities.

5) How can you identify a platform (iOS or Android) at runtime in Ionic application?

Ionic provides platform classes when an application is loaded. It adds CSS classes to the <body> tag. For example, it adds platform-android4_4 (for Android 4.4) class to <body> tag, for iOS it adds platform-ios class to <body> tag.

6) How can you test Ionic application?

Ionic application is developed using AngularJS. AngularJS has a collection of test libraries and frameworks such as Karma and Jasmine test runner. Ionic uses these frameworks for unit tests of application.

7) What is the difference between "ionic build" and "ionic prepare" ?

ionic prepare <platform> copies all files from www folder into the target platform's www folder.
ionic build<platform> perform the task of ionic prepare as well as it builds the app's source code which facilitate to run over simulator of emulator or a device.

8) What is the role of AngularJS in Ionic application?

AngularJS provide testing facility for application developed in Ionic, because AngularJS is set of test libraries and frameworks.

9) What are the storage types in Ionic framework?

Ionic supports both external as well as internal storage of data.
  • External storage ( MySql, IndexedDB, WebSQL,MongoDB,PouchDB,).
  • Internal storage (SQLite)
  • Session, Cookie.

10) What is Ionic Market?

Ionic market provides ready starter, thems, plugins etc. for developer to download them for their own projects.

11) What is Native Apps?

Native Apps are those which are develop for specific platform or device. Native apps are device specific software and hardware since apps are developed byb using a particular platform.

12) What is Mobile Web Apps?

Mobile Web Apps are really websites, not real applications. Their look and feel is like native applications, but their implementation is not different from native application. It is also called as mobile website.

13) What is Hybrid Apps?

Hybrid Apps are developed by using HTML-5 and native based web features. HTML-5 is basically a web page or collection of web pages which are developed to support and run on small screen. Hybrid apps are also known as web apps.

14) Give some examples of hybrid mobile app frameworks?

There are several frameworks are available for hybrid mobile app development.
  • PhoneGap
  • Ionic
  • Mobile Angular UI
  • Intel XDX
  • Appcelerator Titanium
  • Kendo UI

15) What is Ionic header bar and where it is located?

Iconic header bar is used to build header on the application. It is located on the top of application. The bar class is a main class with bar-header used for creating header bar in your app.
<div class = "bar bar-header">  
   <h1 class = "title">Header</h1>  
</div>

16) What is Ionic footer bar and where it is located?

Ionic footer bar is used to build footer on the application. It is located on the bottom of application. The bar-footer class is used for creating footer bar in your app.
<div class = "bar bar-footer">  
   <h1 class = "title">Footer</h1>  
</div>