Home »
MCQs
PhoneGap Multiple-Choice Questions (MCQs)
PhoneGap is a software development framework by Adobe System, which is used to develop mobile applications.
PhoneGap MCQs: This section contains multiple-choice questions and answers on the various topics of PhoneGap. Practice these MCQs to test and enhance your skills on PhoneGap.
List of PhoneGap MCQs
1. PhoneGap is a ____.
- Mobile application framework
- Web application framework
- Testing framework
- None
Answer: A) Mobile application framework
Explanation:
PhoneGap is a mobile application framework.
Discuss this Question
2. Is PhoneGap an open-source framework?
- Yes
- No
Answer: A) Yes
Explanation:
Phone Gap is an open-source framework.
Discuss this Question
3. Can you create ISO apps from PhoneGap?
- NO
- Yes
Answer: B) Yes
Explanation:
Yes, we can create IOS apps from PhoneGap.
Discuss this Question
4. Which of the following company owns the PhoneGap framework?
- Microsoft
- Google
- IBM
- Adobe
Answer: D) Adobe
Explanation:
Adobe systems owns the PhoneGap framework.
Discuss this Question
5. Does PhoneGap supports plugins with hook?
- No
- Yes
Answer: A) No
Explanation:
The plugins with hook are not supported by PhoneGap Builds, which is one of the disadvantages of this framework.
Discuss this Question
6. The ____object keeps data on our device indefinitely and without expiration.
- Absolute storage
- SessionStorage
- LocalStorage
Answer: C) LocalStorage
Explanation:
LocalStorage object keeps data on our device indefinitely and without expiration.
Discuss this Question
7. How many methods does LocalStorage object provides?
- 5
- 4
- 3
- 2
Answer: C) 3
Explanation:
The localStorage object provides three methods to work with data, i.e., setItem, getItem, and removeItem.
Discuss this Question
8. Which of the following LocalStorage object, method is used to store the data?
- setItem
- getItem
- removeItem.
Answer: A) setItem
Explanation:
SetItem method is used to store the data.
Discuss this Question
9. The ____ function is used to retrieve data from the device.
- setItem
- getItem
- removeItem.
Answer: B) getItem
Explanation:
GetItem function is used to retrieve data from the device.
Discuss this Question
10. The ____ function is used to delete a specific piece of data.
- setItem
- getItem
- removeItem.
Answer: C) removeItem
Explanation:
The removeItem function is used to delete a specific piece of data.
Discuss this Question
11. The ____ object is utilised on our mobile device to store data for a certain period.
- Absolute storage
- SessionStorage
- LocalStorage
Answer: B) SessionStorage
Explanation:
The sessionStorage object is utilised on our mobile device to store data for a certain period.
Discuss this Question
12. Is PhoneGap able to access native device features?
- Yes
- No
Answer: A) Yes
Explanation:
PhoneGap relies on native code plugins to access particular native device functionalities through JavaScript.
Discuss this Question
13. What is the name of the CLI tool used to build and manage PhoneGap projects?
- View CLI
- PhoneView CLI
- PhoneGap CLI
- Apache CLI
Answer: C) PhoneGap CLI
Explanation:
PhoneGap CLI is the name of the CLI tool that is used to build and manage PhoneGap projects.
Discuss this Question
14. Which of the following are the alternative to PhoneGap?
- React native
- Xamarin
- Flutter
- All of the above
Answer: D) All of the above
Explanation:
Following are the alternatives to PhoneGap:
- React native
- Xamarin
- Flutter
Discuss this Question
15. Which of the following companies uses PhoneGap?
- IBM
- Adobe
- Sworkit
- All of the above
Answer: D) All of the above
Explanation:
Following companies uses PhoneGap:
Discuss this Question
16. Can you use Hammer.js to handle touch events in PhoneGap?
- Yes
- No
Answer: A) Yes
Explanation:
Hammer.js is a well-known JavaScript package for managing touch events; it can also handle tap events.
Discuss this Question
17. PhoneGap is also known as ____.
- Apache PhoneGap
- Adobe Application
- Apache Cordova
- Apache MobileApp
Answer: C) Apache Cordova
Explanation:
PhoneGap is also known as Apache Cordova.
Discuss this Question
18. PhoneGap apps are referred to be "____" since they integrate the greatest features of both online and native apps.
- Hybrid
- Cross Platform
Answer: A) Hybrid
Explanation:
PhoneGap apps are referred to be "hybrid" since they integrate the greatest features of both online and native apps.
Discuss this Question
19. PhoneGap makes use of ____ to gain access to native device functions like the camera, accelerometer, and GPS.
- Hybrid App
- API
- Web View
- Plugins
Answer: D) Plugins
Explanation:
PhoneGap makes use of plugins to gain access to native device functions like the camera, accelerometer, and GPS.
Discuss this Question
20. Indexed DB is a relational DB or Non-relational DB?
- Relational DB
- Non-Relational DB
Answer: B) Non-Relational DB
Explanation:
Indexed DB is a non-relational DB.
Discuss this Question
21. Which of the Databases Does PhoneGap supports?
- SQLite
- Web SQL databases
- Indexed DB
- All of the above
Answer: D) All of the above
Explanation:
PhoneGap supports various databases: SQLite, Web SQL databases, and Indexed DB.
Discuss this Question
22. Which of the following method returns the current connection's type?
- navigator.connection.type
- connection.type
- PhoneGap.connection.type
Answer: A) navigator.connection.type
Explanation:
navigator.connection.type function returns the current connection's type.
Discuss this Question
23. Is Local storage and Session storage the same thing?
- Yes
- No
Answer: B) No
Explanation:
No they are not the same data saved in a session Storage is available just for the current session and is erased when the program is stopped, whereas in local storage is just the opposite.
Discuss this Question
24. In the chosen directory, a new PhoneGap project is created, with the help of which command?
- create <path>
- Phonegap <path> Creates
- phonegap create <path>
Answer: C) phonegap create <path>
Explanation:
With the help of phonegap create <path> command a new PhoneGap project is created.
Discuss this Question
25. Suppose you want to displays a list of all the plugins that are presently installed in the app, then which of the following command you will use?
- plugin list
- phonegap plugin list
- All_plugin list
Answer: B) phonegap plugin list
Explanation:
phonegap plugin list command displays a list of all the plugins that are presently installed in the app.
Discuss this Question
26. Which of the following commands creates the app for the platform provided?
- Phonegap--build <platform>
- phonegap <platform>
- build <platform>
- phonegap build <platform>
Answer: D) phonegap build <platform>
Explanation:
phonegap build <platform> command creates the app for the platform provided.
Discuss this Question
27. Which of the following commands launches the software on the chosen platform (for example, android or iOS)?
- phonegap run <platform>
- run <platform>
- phonegap-run_<platform>
- Run_PhoneGap <platform>
Answer: A) phonegap run <platform>
Explanation:
phonegap run <platform>commands launches the software on the chosen platform (for example, android or iOS).
Discuss this Question
28. To launch the app, PhoneGap employs which sort of webview?
- Apache_view
- Cordova View
- IOS webView
- All of the above
Answer: B) Cordova View
Explanation:
PhoneGap uses Cordova view to run the app.
Discuss this Question
29. What is the primary benefit of adopting PhoneGap?
- Compatibility between platforms
- Outstanding performance
- Simple to grasp
- All of the above
- None
Answer: A) Compatibility between platforms
Explanation:
Compatibility between platforms is the primary benefit of adopting PhoneGap.
Discuss this Question