---Advertisement---
Android IOS Mobility PhoneGap

PhoneGap Interview Question-Answer

By smart_answer13

Updated on:

---Advertisement---

Q.1 Which of the following apps will have access to all native features?

       A. Web apps

       B. Native apps

       C. Hybrid apps

Ans : Native apps


Q.2 Which command is used to check the version of PhoneGap CLI?

       A. phonegap -v

       B. phonegap –version

       C. phonegap version

       D. All the options

Ans : All the options


Q.3 Which of the following option will be cheaper in terms of development cost?

       A. There is no difference

       B. Native apps

       C. Hybrid app

       D. Web apps

Ans : Web apps


Q.4 Which flag of PhoneGap CLI is used to copy an existing project while using create?

       A. –copy

       B. –src

       C. –copy-from

       D. None of the options

Ans : –copy-from


Q.5 Which engine powers PhoneGap?

       A. ART

       B. Cordova

       C. JavaScript

       D. Nodejs

Ans : Cordova


Q.6 Which of the following apps use webview to run on different platforms?

       A. Hybrid apps

       B. Native apps

       C. Web apps

       D. None of the options

Ans : Hybrid apps


Q.7 Where are PhoneGap project-related configurations stored?

       A. package.json

       B. config.xml

       C. config.json

       D. None of the options

Ans : config.xml


Q.8 It is possible to convert the existing HTML, CSS websites to hybrid apps using PhoneGap.

       A. True

       B. False

Ans : True


Q.9 Which of the following apps provide better performance?

       A. Web apps

       B. Native apps

       C. Hybrid apps

       D. There is no difference

Ans : Native apps


Q.10 This command creates a ready-made push notification web app.

       A. phonegap create name –template push

       B. phonegap create name push

       C. None of the options

       D. both

Ans : phonegap create name –template push


Q.11 Which property of viewport constraints on pinch zoom?

       A. Pinch-scale

       B. Minimum-scale

       C. User-scalable

       D. Maximum-scale

Ans : User-scalable


Q.12 Which folder in PhoneGap project contains codes?

       A. platform

       B. src

       C. www

       D. core

       E. plugins

Ans : plugins


Q.13 Which event is fired on receiving notifications?

       A. receive

       B. notify

       C. received

       D. notification

Ans : notification


Q.14 Which is not a valid property of a widget tag?

       A. versionCode

       B. version

       C. id

       D. versionName

Ans : versionName


Q.15 Which of the following option is not a requirement for PhoneGap CLI?

       A. JVM

       B. NodeJS

       C. Git

       D. None of the options

Ans : JVM


Q.16 Which command is used to run PhoneGap applications?

       A. phonegap run

       B. phonegap launch

       C. phonegap serve

       D. phonegap start

Ans : phonegap serve


Q.17 Which command is used to run PhoneGap applications on port 8000?

       A. phonegap serve port 8000

       B. phonegap serve –port 8000

       C. Both options

       D. None of the options

Ans : phonegap serve –port 8000


Q.18 Which flag of PhoneGap serves to hide all console.logs?

       A. phonegap serve –console

       B. phonegap serve -log

       C. phonegap serve –no-log

       D. phonegap serve –no-console

Ans : phonegap serve –no-console


Q.19 Which method is used to instantiate the Push notification system?

       A. init

       B. create

       C. instanciate

       D. constructor

Ans : init


Q.20 _________ command is used to install PhoneGap CLI globally.

       A. npm install phonegap

       B. npm -i -g phonegap@latest

       C. npm install phonegap@latest

       D. npm install -g phonegap

Ans : npm install -g phonegap


Q.21 Which of the following apps provide better performance?

       A. Hybrid apps

       B. Native apps

       C. Web apps

       D. There is no difference

Ans : Native apps


Q.22 PhoneGap Build cloud service requires you to install SDKs for building apps.

       A. True

       B. False

Ans : False


Q.23 Which command is used to check the version of PhoneGap CLI?

       A. phonegap -v

       B. phonegap version

       C. All of the options

       D. None of the options

Ans : All of the options


Q.24 Which of the following option will be cheaper in terms of development cost?

       A. Hybrid app

       B. Web apps

       C. native apps

       D. There is no difference

Ans : Web apps


Q.25 This command is used to “build” an android apk using PhoneGap CLI.

       A. phonegap run android

       B. phonegap serve android

       C. phonegap run build android

       D. phonegap platform android

Ans : phonegap run build android


Q.26 Which command adds the Android platform to the PhoneGap project?

       A. phonegap platform add google

       B. phonegap platform add android

       C. phonegap platform add droid

       D. None of the options

Ans : phonegap platform add android


Q.27 Platform tag’s name can have ________ value/values.

       A. Android

       B. iOS

       C. Windows

       D. All the options

Ans : All the options


Q.28 Which is the root element of the PhoneGap configuration file?

       A. widget

       B. plugins

       C. name

       D. platform

Ans : widget


Q.29 PhoneGap CLI allows you to “build” apps without having SDKs.

       A. True

       B. False

Ans : False


smart_answer13

---Advertisement---

Related Post

Xamarin Exordium Interview Question-Answer

Q.1 What are the different code sharing techniques in Xamarin.forms?        A. F# and C#        B. Portable Libraries (PCL) and Shared Projects   ...

Mobile App Security Interview Question-Answer

Q.1 Which among the following pave the way for malware to spread?        A. Portable Media devices        B. Malicious Software       ...

Mobile Primer (Android,IOS,Windows) Interview Question-Answer

Q.1 Ionic framework is for __________.        A. Native App Development        B. Web App Development        C. Hybrid App Development   ...

Ionic Framework Interview Question-Answer

Q.1 The following are in-built Ionic templates, except __________.        A. Navigation        B. Sidemenu        C. Tabs        D. ...

Leave a Comment