Google News
logo
PhoneGap - Quiz(MCQ)

PhoneGap : PhoneGap is a popular open-source framework used for developing cross-platform mobile applications using HTML, CSS, and JavaScript. With PhoneGap, developers can create mobile apps that can run seamlessly across different platforms, including iOS, Android, and Windows Phone.

A)
Testing framework
B)
Web application framework
C)
Mobile application framework
D)
None of the above

Correct Answer :   Mobile application framework


Explanation : PhoneGap is an open-source mobile application development framework that allows developers to build hybrid mobile applications using web technologies like HTML, CSS, and JavaScript.

A)
PhoneGap is an open source framework
B)
Accelerometer is the PhoneGap API
C)
It uses the native project format for each platform
D)
All of the above

Correct Answer :   All of the above


Explanation : All of the above statement is true about phonegap.

A)
Ruby
B)
Java
C)
HTML
D)
codebase CSS

Correct Answer :   Ruby


Explanation : The scripts which are compatible with Phonegap are the codebase CSS, HTML and Java.

A)
Apple
B)
Adobe
C)
Google
D)
Microsoft

Correct Answer :   Adobe


Explanation : PhoneGap was originally developed by Nitobi Software, which was later acquired by Adobe Systems in 2011.

A)
iOS
B)
Android
C)
Windows
D)
All of the above

Correct Answer :   All of the above


Explanation : PhoneGap supports a wide range of platforms, including iOS, Android, Windows, and many others.

A)
Yes
B)
No
C)
Can Not Say
D)
None of the above

Correct Answer :   Yes


Explanation : Phone Gap is an open-source framework.

A)
Yes
B)
No
C)
Can Not Say
D)
None of the above

Correct Answer :   No


Explanation : The plugins with hook are not supported by PhoneGap Builds, which is one of the disadvantages of this framework.

A)
LocalStorage
B)
SessionStorage
C)
Absolute storage
D)
All of the above

Correct Answer :   LocalStorage


Explanation : LocalStorage object keeps data on our device indefinitely and without expiration.

A)
5
B)
4
C)
3
D)
2

Correct Answer :   3


Explanation : The localStorage object provides three methods to work with data, i.e., setItem, getItem, and removeItem.

A)
Plugin architecture
B)
Offline data storage
C)
Code sharing across multiple platforms
D)
Native app development using Java or Objective-C

Correct Answer :   Native app development using Java or Objective-C


Explanation : PhoneGap is a hybrid mobile application development framework that allows developers to build applications using web technologies. It does not support native app development using Java or Objective-C.

A)
To define the application’s functionality
B)
To define the application’s user interface
C)
To define the application’s access to device features
D)
None of the above

Correct Answer :   To define the application’s access to device features


Explanation : The config.xml file is used to define the application’s access to device features, such as the camera, GPS, and accelerometer. It also allows developers to configure the application’s appearance and behavior.

A)
Web applications
B)
Native applications
C)
Hybrid applications
D)
Phonegap applications

Correct Answer :   Native applications


Explanation : Applications that are installed locally on a mobile device are known as Native applications.

A)
1
B)
2
C)
3
D)
4

Correct Answer :   2


Explanation : There are two types of files which encompass the main constituent of the Phonegap plugin. They are as follows… the implementation file and the Javascript file.

A)
android.View.class
B)
UIWeb View class
C)
android.webkit.WebView
D)
All of the above

Correct Answer :   android.webkit.WebView


Explanation : The Phonegap user interface for iOS is an Objective C UIWeb View class. For Android users it is android.webkit.WebView.

15 .
A ___________ is that application that combines the features and attributes of both native applications and web applications also.
A)
Hybrid application
B)
Multiple application
C)
Multilevel application
D)
Hierarchical application

Correct Answer :   Hybrid application


Explaination : A Hybrid application is that application that combines the features and attributes of both native applications and web applications also.

A)
Xcode
B)
Eclipse
C)
Visual Studio
D)
All of the above

Correct Answer :   All of the above


Explanation : PhoneGap applications can be built using a wide range of tools, including Visual Studio, Xcode, and Eclipse, among others.

A)
Limited access to device features
B)
Limited support for third-party plugins
C)
Slower performance compared to native apps
D)
All of the above

Correct Answer :   All of the above


Explanation : PhoneGap has some limitations, including limited access to device features, slower performance compared to native apps, and limited support for third-party plugins.

A)
To debug the application’s source code
B)
To test the application on multiple platforms
C)
To compile the application’s source code into a binary file
D)
None of the above

Correct Answer :   To compile the application’s source code into a binary file


Explanation : PhoneGap Build is a cloud-based service that allows developers to compile their application’s source code into a binary file that can be installed on multiple platforms.

A)
To store the application’s source code
B)
To store the application’s configuration files
C)
To store the application’s resources, such as images and CSS files
D)
None of the above

Correct Answer :   To store the application’s resources, such as images and CSS files


Explanation : The www folder in a PhoneGap project is used to store the application’s resources, such as images, CSS files, and JavaScript files. This folder is then compiled into the application’s binary file during the build process.

A)
cordova-plugin-camera
B)
cordova-plugin-file
C)
cordova-plugin-contacts
D)
cordova-plugin-geolocation

Correct Answer :   cordova-plugin-camera


Explanation : The cordova-plugin-camera plugin is used to access the device’s camera in a PhoneGap application.

A)
cordova-plugin-file
B)
cordova-plugin-contacts
C)
cordova-plugin-camera
D)
cordova-plugin-geolocation

Correct Answer :   cordova-plugin-contacts


Explanation : The cordova-plugin-contacts plugin is used to access the device’s contacts in a PhoneGap application.

A)
getItem
B)
setItem
C)
removeItem
D)
None of the above

Correct Answer :   setItem


Explanation : SetItem method is used to store the data.

A)
getItem
B)
setItem
C)
removeItem
D)
None of the above

Correct Answer :   getItem


Explanation : GetItem function is used to retrieve data from the device.

A)
setItem
B)
getItem
C)
Both (A) and (B)
D)
removeItem

Correct Answer :   removeItem


Explanation : The removeItem function is used to delete a specific piece of data.

A)
LocalStorage
B)
Absolute storage
C)
SessionStorage
D)
None of the above

Correct Answer :   SessionStorage


Explanation : The sessionStorage object is utilised on our mobile device to store data for a certain period.

A)
View CLI
B)
Apache CLI
C)
PhoneView CLI
D)
PhoneGap CLI

Correct Answer :   PhoneGap CLI


Explanation : PhoneGap CLI is the name of the CLI tool that is used to build and manage PhoneGap projects.

A)
IBM
B)
Adobe
C)
Sworkit
D)
All of the above

Correct Answer :   All of the above


Explanation : Following companies uses PhoneGap :

* IBM
* Adobe
* Sworkit

A)
Apache PhoneGap
B)
Apache Cordova
C)
Adobe Application
D)
Apache MobileApp

Correct Answer :   Apache Cordova


Explanation : PhoneGap is also known as Apache Cordova.

29 .
PhoneGap makes use of ____ to gain access to native device functions like the camera, accelerometer, and GPS.
A)
Plugins
B)
API
C)
Web View
D)
Hybrid App

Correct Answer :   Plugins


Explaination : PhoneGap makes use of plugins to gain access to native device functions like the camera, accelerometer, and GPS.

30 .
PhoneGap apps are referred to be "____" since they integrate the greatest features of both online and native apps.
A)
Hybrid
B)
Cross Platform
C)
Can not say
D)
None of the above

Correct Answer :   Hybrid


Explaination : PhoneGap apps are referred to be "hybrid" since they integrate the greatest features of both online and native apps.

A)
cordova-plugin-file
B)
cordova-plugin-camera
C)
cordova-plugin-geolocation
D)
cordova-plugin-contacts

Correct Answer :   cordova-plugin-geolocation


Explanation : The cordova-plugin-geolocation plugin is used to access the device’s geolocation in a PhoneGap application.

A)
Using the browser’s developer tools
B)
Using the PhoneGap Developer App
C)
Using a third-party debugging tool, such as Weinre
D)
All of the above

Correct Answer :   All of the above


Explanation : PhoneGap applications can be debugged using a variety of methods, including the browser’s developer tools, the PhoneGap Developer App, and third-party debugging tools such as Weinre.

A)
Flutter
B)
Xamarin
C)
React native
D)
All of the above

Correct Answer :   All of the above


Explanation : Following are the alternatives to PhoneGap :

* React native
* Xamarin
* Flutter

A)
The primary function is updating the position of the audio file.
B)
The primary function is insert the position of the audio file.
C)
The primary function is delete the position of the audio file.
D)
The primary function is to define the position of the audio file.

Correct Answer :   The primary function is updating the position of the audio file.


Explanation : The primary function is updating the position of the audio file.

35 .
Along with the regular Phonegap applications, a plugin which can be easily assimilated into the platform is known as?
A)
a parent browser
B)
a child browser
C)
a sub browser
D)
a derived browser

Correct Answer :   a child browser


Explaination : Along with the regular Phonegap applications, a plugin which can be easily assimilated into the platform is known as a child browser.

A)
media.filesTo
B)
media.update
C)
media.seekTo
D)
media.getduration

Correct Answer :   media.seekTo


Explanation : seekTo : For updating the latest post of the underlined files of the audio of the media item.

A)
iOS
B)
Blackberry
C)
Android
D)
Windows

Correct Answer :   Blackberry


Explanation : PhoneGap does not currently support Blackberry as a platform for mobile application development.

A)
Simple to grasp
B)
Outstanding performance
C)
Compatibility between platforms
D)
All of the above

Correct Answer :   Compatibility between platforms


Explanation : Compatibility between platforms is the primary benefit of adopting PhoneGap.

A)
Cordova View
B)
iOS webView
C)
Apache_view
D)
All of the above

Correct Answer :   Cordova View


Explanation : PhoneGap uses Cordova view to run the app.

40 .
Which of the following commands launches the software on the chosen platform (for example, android or iOS)?
A)
run <platform>
B)
phonegap-run_<platform>
C)
phonegap run <platform>
D)
Run_PhoneGap <platform>

Correct Answer :   phonegap run <platform>


Explaination : phonegap run <platform> commands launches the software on the chosen platform (for example, android or iOS).

A)
Relational DB
B)
Non-Relational DB
C)
Can Not Say
D)
None of the above

Correct Answer :   Non-Relational DB


Explanation : Indexed DB is a non-relational DB.

A)
SQLite
B)
Indexed DB
C)
Web SQL databases
D)
All of the above

Correct Answer :   All of the above


Explanation : PhoneGap supports various databases: SQLite, Web SQL databases, and Indexed DB.

A)
connection.type
B)
PhoneGap.connection.type
C)
navigator.connection.type
D)
None of the above

Correct Answer :   navigator.connection.type


Explanation : navigator.connection.type function returns the current connection's type.

44 .
In the chosen directory, a new PhoneGap project is created, with the help of which command?
A)
create <path>
B)
phonegap create <path>
C)
Phonegap <path> Creates
D)
None of the above

Correct Answer :   phonegap create <path>


Explaination : With the help of phonegap create <path> command a new PhoneGap project is created.

45 .
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?
A)
plugin list
B)
All_plugin list
C)
phonegap plugin list
D)
None of the above

Correct Answer :   phonegap plugin list


Explaination : phonegap plugin list command displays a list of all the plugins that are presently installed in the app.

46 .
Which of the following commands creates the app for the platform provided?
A)
build <platform>
B)
phonegap <platform>
C)
Phonegap--build <platform>
D)
phonegap build <platform>

Correct Answer :   phonegap build <platform>


Explaination : phonegap build <platform> command creates the app for the platform provided.

A)
Limited customization options
B)
Limited access to native device features
C)
More complex build process compared to PhoneGap Build
D)
All of the above

Correct Answer :   More complex build process compared to PhoneGap Build


Explanation : One disadvantage of using Cordova CLI is that the build process can be more complex compared to PhoneGap Build, which may make it more difficult for developers to manage build settings and customization options.

A)
Access to Adobe PhoneGap Build
B)
Integration with Adobe Creative Cloud
C)
Visual drag-and-drop interface for designing app layouts
D)
All of the above

Correct Answer :   All of the above


Explanation : Adobe Dreamweaver offers several advantages for mobile application development, including a visual drag-and-drop interface for designing app layouts, integration with Adobe Creative Cloud, and access to Adobe PhoneGap Build.

A)
Ionic
B)
Flutter
C)
React Native
D)
None of the above

Correct Answer :   Ionic


Explanation : Ionic is a popular framework for developing mobile applications using PhoneGap. It provides a variety of pre-built UI components and tools for building hybrid mobile applications.

A)
Yes
B)
No
C)
Can Not Say
D)
None of the above

Correct Answer :   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.