Installing and Configuring PhoneGap
What is the first step to install PhoneGap on a Windows machine?
- A) Download the PhoneGap installer
- B) Install Node.js
- C) Install Visual Studio
- D) Install Android Studio
- Correct Answer: B) Install Node.js
- Which command is used to create a new
PhoneGap project?
- A) phonegap start
- B) phonegap create
- C) phonegap new
- D) phonegap init
- Correct Answer: B) phonegap create
- What file is essential for configuring the
application’s access to device features in PhoneGap?
- A) config.json
- B) config.xml
- C) package.json
- D) settings.xml
- Correct Answer: B) config.xml
- Which command is used to build a PhoneGap
project for a specific platform?
- A) phonegap run
- B) phonegap build
- C) phonegap deploy
- D) phonegap compile
- Correct Answer: B) phonegap build
- What is the purpose of the www folder in a
PhoneGap project?
- A) To store configuration files
- B) To store application resources like
images and CSS files
- C) To store plugins
- D) To store compiled binaries
- Correct Answer: B) To store application resources
like images and CSS files
- Which of the following is a prerequisite
for building PhoneGap applications for iOS?
- A) Android SDK
- B) Xcode
- C) Visual Studio
- D) Eclipse
- Correct Answer: B) Xcode
- What command is used to list all installed
plugins in a PhoneGap project?
- A) phonegap plugin list
- B) phonegap list plugins
- C) phonegap show plugins
- D) phonegap installed plugins
- Correct Answer: A) phonegap plugin list
- Which plugin is commonly used to access
the device's camera in a PhoneGap application?
- A) cordova-plugin-camera
- B) cordova-plugin-contacts
- C) cordova-plugin-geolocation
- D) cordova-plugin-file
- Correct Answer: A) cordova-plugin-camera
- What is the primary function of the
PhoneGap Build service?
- A) To create new projects
- B) To compile source code into a binary
file for multiple platforms
- C) To manage plugins
- D) To debug applications
- Correct Answer: B) To compile source code into a
binary file for multiple platforms
- Which command is used to run a PhoneGap
application on a specific platform?
- A) phonegap run
- B) phonegap start
- C) phonegap execute
- D) phonegap launch
- Correct Answer: A) phonegap run
No comments:
Post a Comment
If you have any doubts, please let me know