MCQs > Website Designing & Development > Ionic Framework MCQs > Basic Ionic Framework MCQs

Basic Ionic Framework MCQ

1. Which service is used for navigation in Ionic?

Answer

Correct Answer: $ionicHistory

Note: This Question is unanswered, help us to find answer for this one

2.

Which of following options are true regarding native audio? Check all that apply.

Answer

Correct Answer: preloadSimple is used for simple sounds that will be played once
preloadComplex for sounds that will be played as looping sounds or background audio

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

3.

By default,  Ionic will cache a maximum of ............... views.

Answer

Correct Answer: 10

Note: This Question is unanswered, help us to find answer for this one

4.

Which command(s) can you use to start an an app from scratch?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

5.

How can "tap for a div and all of its children elements" be disabled?

Answer

Correct Answer: div data-tap-disabled=“true”> ... /div>

Note: This Question is unanswered, help us to find answer for this one

6.

Which cordova plugin is used to open external links from your app inside a web browser view?

Answer

Correct Answer: org.apache.cordova.inappbrowser

Note: This Question is unanswered, help us to find answer for this one

7.

Which of the following $colors exists in Ionic 2? Check all that apply.

Answer

Correct Answer: primary
secondary

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

8.

How can you call node server using ionic?

Answer

Correct Answer: angular.module('starter.services', ['ngResource']) .factory('Session', function ($resource) { return

Note: This Question is unanswered, help us to find answer for this one

9.

Using the following code, How to call node server using ionic?

Answer

Correct Answer: angular.module('starter.services', ['ngResource']) .factory('Session', function ($resource) { return

Note: This Question is unanswered, help us to find answer for this one

10.

Using the following code, how can you call node server using ionic?

Answer

Correct Answer: angular.module('starter.services', ['ngResource']) .factory('Session', function ($resource) { return

Note: This Question is unanswered, help us to find answer for this one

11.

In AppCtrl controller, how can you retrieve and set the platform using ionic.Platform?

Answer

Correct Answer: .controller('AppCtrl', function($scope) { $scope.platform = ionic.Platform.platform(); })

Note: This Question is unanswered, help us to find answer for this one

12.

What is the default color of the button defined below? <button class="button button-positive"> button-positive

Answer

Correct Answer: Blue

Note: This Question is unanswered, help us to find answer for this one

13.

For example, the NativeStorage is connected. Which of the following lines of code correctly adds newItem to storage ?

Answer

Correct Answer: NativeStorage.setItem('newItem', {new: 1}).then(()=>);

Note: This Question is unanswered, help us to find answer for this one

14.

Which one is the main class for Header & Footer?

Answer

Correct Answer: bar

Note: This Question is unanswered, help us to find answer for this one

15.

Using the following code, how can you disable cache with an attribute?

Answer

Correct Answer: ion-view cache-view="false" view-title="My Title!"> ... /ion-view>

Note: This Question is unanswered, help us to find answer for this one

16.

The CLI automatically adds a new ........... named resources.

Answer

Correct Answer: Folder

Note: This Question is unanswered, help us to find answer for this one

17.

Which of the following lines is starting template for Ionic 2 application ?

Answer

Correct Answer: <ion-nav [root]="rootPage"></ion-nav>

Note: This Question is unanswered, help us to find answer for this one

18.

$scope.clickMe = function(){ console.log(myVar) };Assume use the following code int the controller , Which of the following prints the value of the myVar in each click to the checkbox? $scope.myVar = false;

Answer

Correct Answer: <ion-checkbox ng-model="myVar" ng-change="clickMe()"></ion-checkbox>

Note: This Question is unanswered, help us to find answer for this one

19.

$scope.myVar = false; $scope.clickMe = function(){ console.log(myVar) };

Answer

Correct Answer: <ion-checkbox ng-model="myVar" ng-change="clickMe()"></ion-checkbox>

Note: This Question is unanswered, help us to find answer for this one

20.

Assume the following code in the controller. Which of the following prints the value of the myVar in each click to the checkbox?

Answer

Correct Answer: <ion-checkbox ng-model="myVar" ng-change="clickMe()"></ion-checkbox>

Note: This Question is unanswered, help us to find answer for this one

21.

How i can get the input value within ionic 2 in my Component as following?

Answer

Correct Answer: Both of the above

Note: This Question is unanswered, help us to find answer for this one

22.

Sub header is created when bar-subheader class is added to ion-header-bar. We will add bar-assertive class to apply red color to our sub header?

Answer

Correct Answer: <ion-header-bar class="bar-positive"> <div class="buttons"> <button class="button">Button</button> </div> <h1 class="title">Title!</h1> <div class="buttons"> <button class="button icon ion-home"></button> </div> </ion-header-bar><ion-header-bar class="bar-subheader bar-assertive"><h1 class="title">Subheader</h1></ion-header-bar>

Note: This Question is unanswered, help us to find answer for this one

23.

How to create dropdown menu & Side menu in Ionic?

Answer

Correct Answer: ion-list> div ng-repeat="group in groups"> ion-item class="item-stable" ng-click="toggleGroup(group)" ng-class="{active: isGroupShown(group)}"> i class="icon" ng-class="isGroupShown(group) ? 'ion-minus' : 'ion-plus'"> /i> Group {{group.name}} /ion-item> ion-item class="item-accordion" ng-repeat="item in group.items" ng-show="isGroupShown(group)"> {{item}} /ion-item> /div> /ion-list>

Note: This Question is unanswered, help us to find answer for this one

24.

How can you create a dropdown menu & side menu in Ionic? (choose all that apply)

Answer

Correct Answer: ion-list> div ng-repeat="group in groups"> ion-item class="item-stable" ng-click="toggleGroup(group)" ng-class="{active: isGroupShown(group)}"> i class="icon" ng-class="isGroupShown(group) ? 'ion-minus' : 'ion-plus'"> /i> Group {{group.name}} /ion-item> ion-item class="item-accordion" ng-repeat="item in group.items" ng-show="isGroupShown(group)"> {{item}} /ion-item> /div> /ion-list>
$scope.groups = []; for (var i=0; i<10; i++) { $scope.groups[i] = { name: i, items: [] }; for (var j=0; j<3; j++) { $scope.groups[i].items.push(i + '-' + j); } } $scope.toggleGroup = function(group) { if ($scope.isGroupShown(group)) { $scope.shownGroup = null; } else { $scope.shownGroup = group; } }; $scope.isGroupShown = function(group) { return $scope.shownGroup === group; };

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

25.

Range will usually require icons to display data clearly. We just need to add icons before and after range input to place them on both sides of the range element choose a correct answer?

Answer

Correct Answer: <div class = "item range"> <i class = "icon ion-volume-low"></i> <input type = "range" name = "volume"> <i class = "icon ion-volume-high"></i> </div>

Note: This Question is unanswered, help us to find answer for this one

26.

$scope.clickMe = function(){ console.log(myVar) };Assume use the following code int the controller , Which of the following prints the value of the myVar in each click to the checkbox? $scope.myVar = false;

Answer

Correct Answer: <ion-checkbox ng-model="myVar" ng-change="clickMe()"></ion-checkbox>

Note: This Question is unanswered, help us to find answer for this one

27.

$scope.myVar = false; $scope.clickMe = function(){ console.log(myVar) };

Answer

Correct Answer: <ion-checkbox ng-model="myVar" ng-change="clickMe()"></ion-checkbox>

Note: This Question is unanswered, help us to find answer for this one

28.

How i can get the input value within ionic 2 in my Component as following?

Answer

Correct Answer: Both of the above

Note: This Question is unanswered, help us to find answer for this one

29.

What options will allow you to get the input value within Ionic 2 in my Component?

Answer

Correct Answer: Both of the above

Note: This Question is unanswered, help us to find answer for this one

30.

Sub header is created when bar-subheader class is added to ion-header-bar. We will add bar-assertive class to apply red color to our sub header?

Answer

Correct Answer: <ion-header-bar class="bar-positive"> <div class="buttons"> <button class="button">Button</button> </div> <h1 class="title">Title!</h1> <div class="buttons"> <button class="button icon ion-home"></button> </div> </ion-header-bar><ion-header-bar class="bar-subheader bar-assertive"><h1 class="title">Subheader</h1></ion-header-bar>

Note: This Question is unanswered, help us to find answer for this one

31.

Sub header is created when bar-subheader class is added to ion-header-bar. How can we add bar-assertive class to apply red color to our sub header?

Answer

Correct Answer: <ion-header-bar class="bar-positive"> <div class="buttons"> <button class="button">Button</button> </div> <h1 class="title">Title!</h1> <div class="buttons"> <button class="button icon ion-home"></button> </div> </ion-header-bar><ion-header-bar class="bar-subheader bar-assertive"><h1 class="title">Subheader</h1></ion-header-bar>

Note: This Question is unanswered, help us to find answer for this one

32.

How to create dropdown menu & Side menu in Ionic?

Answer

Correct Answer: ion-list> <div ng-repeat="group in groups"> ion-item class="item-stable" ng-click="toggleGroup(group)" ng-class="{active: isGroupShown(group)}"> <i class="icon" ng-class="isGroupShown(group) ? 'ion-minus' : 'ion-plus'"></i> Group {{group.name}} </ion-item> <ion-item class="item-accordion" ng-repeat="item in group.items" ng-show="isGroupShown(group)"> {{item}} </ion-item> </div> </ion-list>

Note: This Question is unanswered, help us to find answer for this one

33.

$scope.clickMe = function(){ console.log(myVar) };Assume use the following code int the controller , Which of the following prints the value of the myVar in each click to the checkbox? $scope.myVar = false;

Answer

Correct Answer: <ion-checkbox ng-model="myVar" ng-change="clickMe()"></ion-checkbox>

Note: This Question is unanswered, help us to find answer for this one

34.

$scope.myVar = false; $scope.clickMe = function(){ console.log(myVar) };

Answer

Correct Answer: <ion-checkbox ng-model="myVar" ng-change="clickMe()"></ion-checkbox>

Note: This Question is unanswered, help us to find answer for this one

35.

How i can get the input value within ionic 2 in my Component as following?

Answer

Correct Answer: Both of the above

Note: This Question is unanswered, help us to find answer for this one

36.

Sub header is created when bar-subheader class is added to ion-header-bar. We will add bar-assertive class to apply red color to our sub header?

Answer

Correct Answer: <ion-header-bar class="bar-positive"> <div class="buttons"> <button class="button">Button</button> </div> <h1 class="title">Title!</h1> <div class="buttons"> <button class="button icon ion-home"></button> </div> </ion-header-bar><ion-header-bar class="bar-subheader bar-assertive"><h1 class="title">Subheader</h1></ion-header-bar>

Note: This Question is unanswered, help us to find answer for this one

37.

How to create dropdown menu & Side menu in Ionic?

Answer

Correct Answer: ion-list> <div ng-repeat="group in groups"> <ion-item class="item-stable" ng-click="toggleGroup(group)" ng-class="{active: isGroupShown(group)}"> <i class="icon" ng-class="isGroupShown(group) ? 'ion-minus' : 'ion-plus'"></i> Group {{group.name}} </ion-item> <ion-item class="item-accordion" ng-repeat="item in group.items" ng-show="isGroupShown(group)"> {{item}} </ion-item> </div> </ion-list>

Note: This Question is unanswered, help us to find answer for this one

38.

What can be called after current play/record or stop action has completed?

Answer

Correct Answer: mediaSuccess

Note: This Question is unanswered, help us to find answer for this one

39.

Which of the following components needed to start with Ionic?

Answer

Correct Answer: NodeJS

Note: This Question is unanswered, help us to find answer for this one

40.

Which is a delegate service that Ionic does not provide:

Answer

Correct Answer: $scope

Note: This Question is unanswered, help us to find answer for this one

41.

The _____ repository contains all of the AngularJS wrappers for Cordova plugins to make it easier for you to use the plugins?

Answer

Correct Answer: ngCordova

Note: This Question is unanswered, help us to find answer for this one

42.

The _____ repository contains all of the AngularJS wrappers for Cordova plugins to make it easier for you to use the plugins.

Answer

Correct Answer: ngCordova

Note: This Question is unanswered, help us to find answer for this one

43.

Which of the following $colors are exists in Ionic 2?

Answer

Correct Answer: primary

Note: This Question is unanswered, help us to find answer for this one

44.

Which of the following are CSS components of Ionic?

Answer

Correct Answer: Colors
Checkbox

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

45.

Which of the following statements is True of Ionic-nav-view?

Answer

Correct Answer: used for navigation

Note: This Question is unanswered, help us to find answer for this one

46.

Which of the following statements are true about Ionic-nav-view? (choose all that apply)

Answer

Correct Answer: used for navigation
should be placed in index.html

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

47.

You can start an app using one of our starter templates or start from scratch, using the following command?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

48.

Ionic components with ___ to make the page more functional?

Answer

Correct Answer: Cordova

Note: This Question is unanswered, help us to find answer for this one

49.

Which of the following lines of code will pass the {status: "ACTIVE"} to MainPage ?

Answer

Correct Answer: this.nav.push(MainPage, {status: "ACTIVE"});

Note: This Question is unanswered, help us to find answer for this one

50.

How can you pass data from one view to another by using UI-router?

Answer

Correct Answer: $stateProvider .state('todos', { url: '/todos', controller: 'TodosCtrl', templateUrl: 'todos.html', resolve: { todos: function(TodosService) { return TodosService.getTodos() } } })

Note: This Question is unanswered, help us to find answer for this one

51.

For the given code below how can you detect the user’s platform? import { Platform } from 'ionic-angular'; @Component({...}) export MyPage { constructor(platform: Platform) { this.platform = platform; // TODO : check if the device is iOS }

Answer

Correct Answer: if (this.platform.is('ios')) { .. }

Note: This Question is unanswered, help us to find answer for this one

52.

Which of the following plugins are exists in Ionic Native?

Answer

Correct Answer: Camera

Note: This Question is unanswered, help us to find answer for this one

53.

Which of the following plugins exists in Ionic Native? Check all that apply.

Answer

Correct Answer: Camera
Bluetooth Status

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

54.

Which of the following options allows to customize navigation transition?

Answer

Correct Answer: None of the above

Note: This Question is unanswered, help us to find answer for this one

55.

The CLI automatically adds a new ____ named resources?

Answer

Correct Answer: Icon

Note: This Question is unanswered, help us to find answer for this one

56.

Which of the following components allows to see the next page in navigation stack?

Answer

Correct Answer: navPush

Note: This Question is unanswered, help us to find answer for this one

57.

Which of the following components allows you to see the next page in navigation stack?

Answer

Correct Answer: navPush

Note: This Question is unanswered, help us to find answer for this one

58.

Which of the following properties can be passed while creating marker?

Answer

Correct Answer: snippet

Note: This Question is unanswered, help us to find answer for this one

59.

Ionic is a open source, front-end?

Answer

Correct Answer: SDK

Note: This Question is unanswered, help us to find answer for this one

60.

Which of the following SASS files is the "main" style file in Ionic 2 project?

Answer

Correct Answer: global.scss

Note: This Question is unanswered, help us to find answer for this one

61.

How can Ionic framework be injected into javascript?

Answer

Correct Answer: angular.module('myApp', [‘ionic'])

Note: This Question is unanswered, help us to find answer for this one

62.

Which of the following controllers is responsive for navigating in Ionic 2?

Answer

Correct Answer: NavigationController

Note: This Question is unanswered, help us to find answer for this one

63.

Which directive is used to attach a controller to the DOM?

Answer

Correct Answer: ng-controller

Note: This Question is unanswered, help us to find answer for this one

64.

Which of the following global objects will include installed plugin?

Answer

Correct Answer: plugins

Note: This Question is unanswered, help us to find answer for this one

65.

Which of the following params should be passed first while creating new Map instance ?

Answer

Correct Answer: DOM element

Note: This Question is unanswered, help us to find answer for this one

66.

Which of the following attribute needed to define for ionic application?

Answer

Correct Answer: ng-app

Note: This Question is unanswered, help us to find answer for this one

67.

Which attribute is needed to define for ionic application?

Answer

Correct Answer: ng-app

Note: This Question is unanswered, help us to find answer for this one

68.

Which of the following methods will display location on the map with special zoom level?

Answer

Correct Answer: animateCamera

Note: This Question is unanswered, help us to find answer for this one

69.

Which of the following components is not exist in Ionic 2?

Answer

Correct Answer: Tooltip

Note: This Question is unanswered, help us to find answer for this one

70.

Which component does not exist in Ionic 2?

Answer

Correct Answer: Tooltip

Note: This Question is unanswered, help us to find answer for this one

71.

Which of the following commands can be used to create a component with preview-box selector?

Answer

Correct Answer: ionic -g component PreviewBox

Note: This Question is unanswered, help us to find answer for this one

72.

$scope.clickMe = function(){ console.log(myVar) };Assume use the following code int the controller , Which of the following prints the value of the myVar in each click to the checkbox? $scope.myVar = false;

Answer

Correct Answer: <ion-checkbox ng-model="myVar" ng-change="clickMe()"></ion-checkbox>

Note: This Question is unanswered, help us to find answer for this one

73.

$scope.clickMe = function(){ console.log(myVar) };Assume use the following code int the controller , Which of the following prints the value of the myVar in each click to the checkbox? $scope.myVar = false;

Answer

Correct Answer: <ion-checkbox ng-model="myVar" ng-change="clickMe()"></ion-checkbox>

Note: This Question is unanswered, help us to find answer for this one

74.

Using the following code, How to pass data between Controller/View in Ionic?

Answer

Correct Answer: .controller('SearchCtrl', function($scope, $state, $http) { $scope.search = function() { console.log('Starting search..'); var res = $http.post('http://endpoint:8080/search',{"language":"en"}) .success(function(data) { alert("Search OK"); //take the data.results and make sure its available when I move to tab.search-results $state.go('tabs.search-results', {result: data}); }).error(function(data) { alert("Search Bad"); }); }; })

Note: This Question is unanswered, help us to find answer for this one

75.

Which of the following is the correct way to pass data between Controller/View in Ionic?

Answer

Correct Answer: .controller('SearchCtrl', function($scope, $state, $http) { $scope.search = function() { console.log('Starting search..'); var res = $http.post('http://endpoint:8080/search',{"language":"en"}) .success(function(data) { alert("Search OK"); //take the data.results and make sure its available when I move to tab.search-results $state.go('tabs.search-results', {result: data}); }).error(function(data) { alert("Search Bad"); }); }; })

Note: This Question is unanswered, help us to find answer for this one

76.

How i can get the input value within ionic 2 in my Component as following?

Answer

Correct Answer: Both of the above

Note: This Question is unanswered, help us to find answer for this one

77.

Sub header is created when bar-subheader class is added to ion-header-bar. We will add bar-assertive class to apply red color to our sub header?

Answer

Correct Answer: <ion-header-bar class="bar-positive"> <div class="buttons"> <button class="button">Button</button> </div> <h1 class="title">Title!</h1> <div class="buttons"> <button class="button icon ion-home"></button> </div> </ion-header-bar><ion-header-bar class="bar-subheader bar-assertive"><h1 class="title">Subheader</h1></ion-header-bar>

Note: This Question is unanswered, help us to find answer for this one

78.

Ionic provides many services like __ and various delegate services?

Answer

Correct Answer: $loading, $actionSheet

Note: This Question is unanswered, help us to find answer for this one

79.

Ionic provides many services like .................. and various delegate services.

Answer

Correct Answer: $loading, $actionSheet

Note: This Question is unanswered, help us to find answer for this one

80.

Which of the following are Ionic 2 decorators?

Answer

Correct Answer: @Pipe
@Page

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

81.

Which service is used for Ionic Popover?

Answer

Correct Answer: $ionicPopover

Note: This Question is unanswered, help us to find answer for this one

82.

How to programmatically enable and disable GPS in Ionic Framework or Cordova?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

83.

Which of the following command, “copies all files from the www folder into the target platform’s www folder and builds the app’s source code so that it can be run on a simulator/emulator or a device”?

Answer

Correct Answer: ionic build <platform>

Note: This Question is unanswered, help us to find answer for this one

84.

Plugins are where Cordova stores the plugins that you add to your project. Plugins are added by the following command?

Answer

Correct Answer: ionic plugin add {plugin}

Note: This Question is unanswered, help us to find answer for this one

85.

Plugins can be added using the following command?

Answer

Correct Answer: ionic plugin add {plugin}

Note: This Question is unanswered, help us to find answer for this one

86.

How to create dropdown menu & Side menu in Ionic?

Answer

Correct Answer: <ion-list> <div ng-repeat="group in groups"> <ion-item class="item-stable" ng-click="toggleGroup(group)" ng-class="{active: isGroupShown(group)}"> <i class="icon" ng-class="isGroupShown(group) ? 'ion-minus' : 'ion-plus'"></i> Group {{group.name}} </ion-item> <ion-item class="item-accordion" ng-repeat="item in group.items" ng-show="isGroupShown(group)"> {{item}} </ion-item> </div> </ion-list>

Note: This Question is unanswered, help us to find answer for this one

87.

Ionic Framework navigating from a view on One tab to a view on another tab?

Answer

Correct Answer: .state('tab.chats', { urls: '/chats', views: { 'tab-chats': { templateUrls: 'templates/tab-chats.html', controller: 'ChatsCtrl' } } })

Note: This Question is unanswered, help us to find answer for this one

88.

What option shows Ionic Framework navigating from a view on one tab to a view on another tab?

Answer

Correct Answer: .state('tab.chats', { urls: '/chats', views: { 'tab-chats': { templateUrls: 'templates/tab-chats.html', controller: 'ChatsCtrl' } } })

Note: This Question is unanswered, help us to find answer for this one

89.

Ionic Framework has the following Features?

Answer

Correct Answer: AngularJS
CSS components
Ionic CLI

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

90.

How to set ion-select component with 100% width in IONIC 2?

Answer

Correct Answer: .myCustomSelect{ max-width: 100% !important;}

Note: This Question is unanswered, help us to find answer for this one

91.

Which option will allow you to set ion-select component with 100% width in IONIC 2?

Answer

Correct Answer: .myCustomSelect{ max-width: 100% !important;}

Note: This Question is unanswered, help us to find answer for this one

92.

Which service is used for navigation in Ionic?

Answer

Correct Answer: $stateProvider

Note: This Question is unanswered, help us to find answer for this one

93.

How to hide some elements when keyboard open?

Answer

Correct Answer: By using hide-on-keyboard-open class in elements

Note: This Question is unanswered, help us to find answer for this one

94.

All Ionic color classes can be applied to toggle element?

Answer

Correct Answer: Styling Toggle

Note: This Question is unanswered, help us to find answer for this one

95.

All Ionic color classes can be applied to which toggle element?

Answer

Correct Answer: Styling Toggle

Note: This Question is unanswered, help us to find answer for this one

96.

Which of the followings are True regarding native audio?

Answer

Correct Answer: preloadSimple is used for simple sounds that will be played once
preloadComplex for sounds that will be played as looping sounds or background audio

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

97.

Used to set global options for all InAppBrowsers?

Answer

Correct Answer: setDefaultOptions(parameter1)

Note: This Question is unanswered, help us to find answer for this one

98.

Whether the application is running on the device, as the device uses Cordova to display the application?

Answer

Correct Answer: Cordova

Note: This Question is unanswered, help us to find answer for this one

99.

The __ is a content pane that can go over the user’s main view temporarily. Usually used for making a choice or editing an item?

Answer

Correct Answer: Modal

Note: This Question is unanswered, help us to find answer for this one

100.

The ............. is a content pane that can go over the user’s main view temporarily. It is usually used for making a choice or editing an item.

Answer

Correct Answer: Modal

Note: This Question is unanswered, help us to find answer for this one

101.

Which option is used for making a choice or editing an item by temporarily going over the user's main view?

Answer

Correct Answer: Modal

Note: This Question is unanswered, help us to find answer for this one

102.

When creating checkbox form you need to add checkbox class name to both label and _____ elements?

Answer

Correct Answer: input

Note: This Question is unanswered, help us to find answer for this one

103.

Used the clear method to entire view history?

Answer

Correct Answer: clearHistory()

Note: This Question is unanswered, help us to find answer for this one

104.

Which option allows you to clear the entire view history?

Answer

Correct Answer: clearHistory()

Note: This Question is unanswered, help us to find answer for this one

105.

The direction which the nav view transition should animate?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

106.

__ keeps track of views as the user navigates through an app. Similar to the way a browser behaves, an Ionic app is able to keep track of the previous view, the current view, and the forward view (if there is one). However, a typical web browser only keeps track of one history stack in a linear fashion?

Answer

Correct Answer: $ionicHistory

Note: This Question is unanswered, help us to find answer for this one

107.

The $ionicConfigProvider can be used to set the maximum allowable views which can be cached, But this can also be use to disable all caching by the following setting?

Answer

Correct Answer: $ionicConfigProvider.views.maxCache(0);

Note: This Question is unanswered, help us to find answer for this one

108.

The $ionicConfigProvider can be used to set the maximum allowable views which can be cached. This can also be used to disable all caching by the following setting?

Answer

Correct Answer: $ionicConfigProvider.views.maxCache(0);

Note: This Question is unanswered, help us to find answer for this one

109.

The view is about to enter and become the active view?

Answer

Correct Answer: $ionicView.beforeEnter

Note: This Question is unanswered, help us to find answer for this one

110.

Which option shows that the view is about to be entered and become the active view?

Answer

Correct Answer: $ionicView.beforeEnter

Note: This Question is unanswered, help us to find answer for this one

111.

By default, views are cached to improve performance. When a view is navigated away from, its element is left in the DOM, and its scope is disconnected from the $watch cycle. When navigating to a view that is already cached, its scope is then reconnected, and the existing element that was left in the DOM becomes the active view?

Answer

Correct Answer: Caching

Note: This Question is unanswered, help us to find answer for this one

112.

Add custom page transition on ionic 2, As following code?

Answer

Correct Answer: import { Config } from 'ionic-angular'; @NgModule({}) class AppModule { constructor(private config: Config) { this.config.setTransition('fade-transition', FadeTransition); } }

Note: This Question is unanswered, help us to find answer for this one

113.

Which code below will add a custom page transition on ionic 2?

Answer

Correct Answer: import { Config } from 'ionic-angular'; @NgModule({}) class AppModule { constructor(private config: Config) { this.config.setTransition('fade-transition', FadeTransition); } }

Note: This Question is unanswered, help us to find answer for this one

114.

In your AppCtrl controller, retrieve and set the platform using ionic.Platform, Choose a following code?

Answer

Correct Answer: .controller('AppCtrl', function($scope) { $scope.platform = ionic.Platform.platform(); })

Note: This Question is unanswered, help us to find answer for this one

115.

What are the Ionic Events?

Answer

Correct Answer: on-hold

Note: This Question is unanswered, help us to find answer for this one

116.

Which of the following are Ionic Events? Check all that apply.

Answer

Correct Answer: on-hold
on-touch
on-swipe

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

117.

How to include ngCordova plugins in my Ionic app?

Answer

Correct Answer: Both of the above

Note: This Question is unanswered, help us to find answer for this one

118.

Which option allows you to include ngCordova plugins in an Ionic app?

Answer

Correct Answer: Both of the above

Note: This Question is unanswered, help us to find answer for this one

119.

To do this, in our markup we use ionNavView top level directive. To display a header bar we use the ____ directive that updates as we navigate through the navigation stack?

Answer

Correct Answer: ionNavBar

Note: This Question is unanswered, help us to find answer for this one

120.

In our markup we use ionNavView top level directive. To display a header bar we can use the directive that updates as we navigate through the navigation stack.

Answer

Correct Answer: ionNavBar

Note: This Question is unanswered, help us to find answer for this one

121.

Called after current play/record or stop action has completed?

Answer

Correct Answer: mediaSuccess

Note: This Question is unanswered, help us to find answer for this one

122.

What is the Ionic Framework Features as following?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

123.

What are Ionic Framework features?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

124.

Use input-label to place a label to the left of the input element. When the user enters text the label does not hide. Note that there's nothing stopping you from also using a placeholder label too?

Answer

Correct Answer: <div class="list"> <label class="item item-input"> <span class="input-label">Username</span> <input type="text"> </label> <label class="item item-input"> <span class="input-label">Password</span> <input type="password"> </label> </div>

Note: This Question is unanswered, help us to find answer for this one

125.

Use an input-label to place a label to the left of the input element. When the user enters text the label does not hide. Note that there's nothing stopping you from also using a placeholder label too. Choose the best option.

Answer

Correct Answer: <div class="list"> <label class="item item-input"> <span class="input-label">Username</span> <input type="text"> </label> <label class="item item-input"> <span class="input-label">Password</span> <input type="password"> </label> </div>

Note: This Question is unanswered, help us to find answer for this one

126.

What is the impact on performance of localStorage in an Ionic app?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

127.

Toggle can be implemented using Ionic classes?

Answer

Correct Answer: two

Note: This Question is unanswered, help us to find answer for this one

128.

Toggle can be implemented using how many Ionic classes?

Answer

Correct Answer: two

Note: This Question is unanswered, help us to find answer for this one

129.

How you can Remove caching completely in Ionic?

Answer

Correct Answer: $scope.$on('$ionicView.beforeEnter', function () { $scope.doRefresh(); });

Note: This Question is unanswered, help us to find answer for this one

130.

Returns: promise A promise which is resolved when the modal is finished animating in?

Answer

Correct Answer: show()

Note: This Question is unanswered, help us to find answer for this one

131.

Which cordova plugin is used to open external links form your app inside a web browser view?

Answer

Correct Answer: org.apache.cordova.inappbrowser

Note: This Question is unanswered, help us to find answer for this one

132.

Choose a correct answer, Ionic framework JSON data retrieving?

Answer

Correct Answer: $http.get('content.js').success(function(response) { //whereever you want to put the data });

Note: This Question is unanswered, help us to find answer for this one

133.

Which option displays Ionic framework JSON data retrieving?

Answer

Correct Answer: $http.get('content.js').success(function(response) { //whereever you want to put the data });

Note: This Question is unanswered, help us to find answer for this one

134.

Which directive in Ionic allows to show huge lists, without affecting scroll performance?

Answer

Correct Answer: collection-repeat

Note: This Question is unanswered, help us to find answer for this one

135.

Which of the following components are needed to start with Ionic? Check all that apply.

Answer

Correct Answer: NodeJS
Android SDK
XCode
Cordova and Ionic

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

136.

Remove pager (dots) in new ion-slides ionic component?

Answer

Correct Answer: options="{pagination: false}"

Note: This Question is unanswered, help us to find answer for this one

137.

How can you remove pager (dots) in new ion-slides ionic component?

 

Answer

Correct Answer: options="{pagination: false}"

Note: This Question is unanswered, help us to find answer for this one

138.

Which of the following statement is True for a command line utility?

Answer

Correct Answer: A command line utility is one to be used from a shell (or commonly known as a Terminal). It receives input from this shell, and reports its output in the same shell.

Note: This Question is unanswered, help us to find answer for this one

139.

When we start our app and open the ____ it will log the latitude and longitude of the device. When our position is changed, the lat and long values will change?

Answer

Correct Answer: console

Note: This Question is unanswered, help us to find answer for this one

140.

Which method will be used to get real time location using cordova-plugin-geolocation?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

141.

Which of the following are True regarding Ionic Framework?

Answer

Correct Answer: Ionic is open source
Ionic is used for developing mobile application
It provides tools and services for building mobile UI with native look and feel

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

142.

Ionic to provide all ten of the animated _____ within 3KB?

Answer

Correct Answer: SVGs

Note: This Question is unanswered, help us to find answer for this one

143.

Which of the following SASS variables are exists in Ionic 2?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

144.

What is the default colour of the button defined below? <button class="button button-positive"> button-positive

Answer

Correct Answer: Blue

Note: This Question is unanswered, help us to find answer for this one

145.

Ionic ____ system is that it is FlexBox?

Answer

Correct Answer: Grid

Note: This Question is unanswered, help us to find answer for this one

146.

Which of the following options can be used to customize Ionic popup?

Answer

Correct Answer: subTitle

Note: This Question is unanswered, help us to find answer for this one

147.

Which of the following options can be used to customize Ionic popup? Check all that apply.

Answer

Correct Answer: subTitle
okText

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

148.

The ionNavView directive is used to _____ templates?

Answer

Correct Answer: Render

Note: This Question is unanswered, help us to find answer for this one

149.

A complex popup has a buttons _____ with each button having a text?

Answer

Correct Answer: Array

Note: This Question is unanswered, help us to find answer for this one

150.

Which of the following life cycle events are exists in Ionic 2 navigation?

Answer

Correct Answer: ionViewDidEnter

Note: This Question is unanswered, help us to find answer for this one

151.

Which of the following life cycle events exist in Ionic 2 navigation? Check all that apply.

Answer

Correct Answer: ionViewDidEnter
ionViewDidLoad

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

152.

Ionic is front end __ framework built on top of AngularJS and Cordova?

Answer

Correct Answer: Hybrid

Note: This Question is unanswered, help us to find answer for this one

153.

Which service should be injected into controller to make http request?

Answer

Correct Answer: $http

Note: This Question is unanswered, help us to find answer for this one

154.

Which of the following is correct explanation of abbreviature FAB?

Answer

Correct Answer: Floating Action Buttons

Note: This Question is unanswered, help us to find answer for this one

155.

Which of the following is the correct explanation of abbreviation FAB?

Answer

Correct Answer: Floating Action Buttons

Note: This Question is unanswered, help us to find answer for this one

156.

Ionic provides custom ___ and methods?

Answer

Correct Answer: Components

Note: This Question is unanswered, help us to find answer for this one

157.

Ionic provides custom ............... and methods?

Answer

Correct Answer: Components

Note: This Question is unanswered, help us to find answer for this one

158.

Which of the following lines shows the Unique Device id ?

Answer

Correct Answer: console.log(Device.device.uuid);

Note: This Question is unanswered, help us to find answer for this one

159.

Which gesture is used for the touch stays at the same location 500ms?

Answer

Correct Answer: on-hold

Note: This Question is unanswered, help us to find answer for this one

160.

Which gesture is used for the touch that stays at the same location 500ms?

Answer

Correct Answer: on-hold

Note: This Question is unanswered, help us to find answer for this one

161.

What are the methods of the ionic.EventController?

Answer

Correct Answer: on, of, trigger, onGesture, ofGesture

Note: This Question is unanswered, help us to find answer for this one

162.

Ionic has __ that are purely CSS-driven?

Answer

Correct Answer: components

Note: This Question is unanswered, help us to find answer for this one

163.

Ionic has ................. that are purely CSS-driven.

Answer

Correct Answer: components

Note: This Question is unanswered, help us to find answer for this one

164.

Which of the following properties can be passed to create method of Toast component?

Answer

Correct Answer: duration
position

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

165.

Which of the following Google Maps instances are exists in ionic-native after installing google-maps package ?

Answer

Correct Answer: GoogleMapsLatLng

Note: This Question is unanswered, help us to find answer for this one

166.

Which of the following Google Maps instances exist in ionic-native after installing google-maps package? Check all that apply.

Answer

Correct Answer: GoogleMap
GoogleMapsEvent

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

167.

Which of the following Cordova plugins can be used for geolocation?

 

Answer

Correct Answer: cordova-plugin-geolocation

Note: This Question is unanswered, help us to find answer for this one

168.

Disable all caching globally in Ionic?

 

Answer

Correct Answer: $ionicConfigProvider.views.maxCache(0);

Note: This Question is unanswered, help us to find answer for this one

169.

Which of the following disables caching the views in Ionic apps?

 

Answer

Correct Answer: $ionicConfigProvider.views.maxCache(0);

Note: This Question is unanswered, help us to find answer for this one

170.

In Ionic, localStorage has size limit around?

 

Answer

Correct Answer: 5 MB

Note: This Question is unanswered, help us to find answer for this one

171.

How do you persist data between application launches and you can use?

Answer

Correct Answer: localStorage

Note: This Question is unanswered, help us to find answer for this one

172.

How do you persist data between application launches? Check all that apply.

Answer

Correct Answer: localStorage
sessionStorage

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

173.

27- By default Ionic will cache a maximum of ____ views?

Answer

Correct Answer: 10

Note: This Question is unanswered, help us to find answer for this one

174.

Which of the following plugins can be used for safety storage?

Answer

Correct Answer: cordova-plugin-secure-storage

Note: This Question is unanswered, help us to find answer for this one

175.

Which of the following components needed to start with Ionic?

Answer

Correct Answer: Cordova and Ionic

Note: This Question is unanswered, help us to find answer for this one

176.

Which of the following statements is True of Ionic-nav-view?

Answer

Correct Answer: None of the above

Note: This Question is unanswered, help us to find answer for this one

177.

What are the Ionic Events?

Answer

Correct Answer: on-hide

Note: This Question is unanswered, help us to find answer for this one

178.

How to create dropdown menu & Side menu in Ionic?

Answer

Correct Answer: }; $scope.isGroupShown = function(group) { return $scope.shownGroup === group; }; $scope.group = []; for (var i=0; i<10; i++) { $scope.groups[i] = { name: i, item: [] }; $scope.isGroupShown = function(group) { return $scope.shownGroup === group; };

Note: This Question is unanswered, help us to find answer for this one

179.

Which of the following options can be used to customize Ionic popup?

Answer

Correct Answer: okText

Note: This Question is unanswered, help us to find answer for this one

180.

Which of the following life cycle events are exists in Ionic 2 navigation?

Answer

Correct Answer: ionViewDidLoad

Note: This Question is unanswered, help us to find answer for this one

181.

Which of the following $colors are exists in Ionic 2?

Answer

Correct Answer: priority

Note: This Question is unanswered, help us to find answer for this one

182.

Which of the following plugins are exists in Ionic Native?

Answer

Correct Answer: Bluetooth Status

Note: This Question is unanswered, help us to find answer for this one

183.

Which of the following Google Maps instances are exists in ionic-native after installing google-maps package ?

Answer

Correct Answer: GoogleMapsEvent

Note: This Question is unanswered, help us to find answer for this one

184.

How do you persist data between application launches and you can use?

Answer

Correct Answer: webStorage

Note: This Question is unanswered, help us to find answer for this one

search
Ionic Framework Subjects