Cordova MCQ Questions & Answers - Mobile Development
Cordova MCQs : This section focuses on "Cordova" in Mobile Development. These Multiple Choice Questions (MCQ) should be practiced to improve the Cordova skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. Cordova is also called as?
A. Mobile Gap
B. Digital Gap
C. Phone Gap
D. Web Gap
View Answer
Ans : C
Explanation: Cordova is also called as Phone Gap.
2. It is a platform to develop Mobile Applications using the coding languages like?
A. HTML
B. Javascript
C. CSS
D. All of the above
View Answer
Ans : D
Explanation: It is a platform to develop Mobile Applications using the coding languages like HTML5, CSS, and JavaScript.
3. UIWebView class is for iOS android.webkit.webview is for android
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, UIWebView class is for iOS android.webkit.webview is for android.
4. Which of the following are limitations of Cordova?
A. It is not a great idea to use Cordova for large applications
B. The Cross-browser compatibility can create lots of issues.
C. Some plugins also have compatibility issues with the varying devices and platforms.
D. All of the above
View Answer
Ans : D
Explanation: All of the above are limitations of Cordova.
5. ____________ event is caused when the Cordova gets completely loaded.
A. Pause
B. Resume
C. DeviceReady
D. Backbutton
View Answer
Ans : C
Explanation: DeviceReady: This event is caused when the Cordova gets completely loaded. This also helps to get confirmed that no Cordova functions are called before it is completely loaded.
6. ___________ event is caused when the application is put into the background.
A. Startcall button
B. Endcall button
C. Resume
D. Pause
View Answer
Ans : D
Explanation: Pause: This event is caused when the application is put into the background.
7. Endcall button event is caused when the endcall button gets pressed.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, Endcall button: This event is caused when the endcall button gets pressed.
8. _____________ is a command line tool that is used for installing and managing plugins.
A. Cordova CLI
B. Cordova plugman
C. Cordova core
D. All of the above
View Answer
Ans : B
Explanation: Cordova plugman is a command line tool that is used for installing and managing plugins.
9. Which of the following is not the advantages of Cordova?
A. Cordova is faster to build hybrid application then its native application.
B. Cordova does not save a lot of time.
C. The user does not need to analyze platform specific programming languages
D. Cordova provides one platform for developing hybrid mobile applications.
View Answer
Ans : B
Explanation: Cordova does not save a lot of time is not the advantages of Cordova.
10. ___________ is used for taking photos or using images from gallery.
A. Cordova Media
B. Cordova Image
C. Cordova Camera
D. Cordova Gallery
View Answer
Ans : C
Explanation: Cordova Camera is used for taking photos or using images from gallery. This all can be done by installing Cordova camera.
11. Which file is the place where we can change the configuration of the app?
A. Source
B. Destination
C. Setting
D. Config
View Answer
Ans : D
Explanation: The config.xml file is the place where we can change the configuration of the app.
12.
A.
B.
C.
D.
View Answer
13. Cordova is licensed under the Apache License, version 2.0.
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: Yes, Cordova is licensed under the Apache License, version 2.0.
14. Which of the following are the elements of config.xml file of Cordova?
A. widget
B. name
C. content
D. All of the above
View Answer
Ans : D
Explanation: All of the above are the elements of config.xml file of Cordova.
15. Access is used to control access to external domains. The default origin value is set to _________ which means that access is allowed to any domain.
A. null
B. 0
C. *
D. @
View Answer
Ans : C
Explanation: Access used to control access to external domains. The default origin value is set to * which means that access is allowed to any domain.
16. _____________ used for removing the item from local storage.
A. getItem(key)
B. removeItem(key)
C. setItem(key, value)
D. key(index)
View Answer
Ans : B
Explanation: removeItem(key) : Used for removing the item from local storage.
17. When we create a new Cordova project, the ___________ plugin is installed and implemented by default.
A. blacklist
B. bluelist
C. yellowlist
D. whitelist
View Answer
Ans : D
Explanation: When we create a new Cordova project, the whitelist plugin is installed and implemented by default.
18. PhoneGap has a plugin-based architecture.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, PhoneGap has a plugin-based architecture.
19. Which of the following used for retrieving the number of items that exists in local storage.
A. clear()
B. length()
C. removeItem(key)
D. key(index)
View Answer
Ans : B
Explanation: length() : Used for retrieving the number of items that exists in local storage.
20. The user should use plugman if the user wants the application to run on one particular platform.
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: Yes, The user should use plugman if the user wants the application to run on one particular platform.
Discussion