Ionic MCQ Questions & Answers - Mobile Development
Ionic MCQs : This section focuses on "Ionic" in Mobile Development. These Multiple Choice Questions (MCQ) should be practiced to improve the Ionic skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. What is true about the Ionic Framework?
A. Ionic framework is an open-source UI toolkit
B. It allows developers to build once and run everywhere.
C. The Ionic framework mainly focuses on front-end user experience or UI interaction
D. All of the above
View Answer
Ans : D
Explanation: All of the above statement is true about ionic.
2. Ionic framework was created by Max Lynch, Ben Sperry, and Adam Bradley of Drifty Co. in ?
A. 2011
B. 2012
C. 2013
D. 2014
View Answer
Ans : C
Explanation: It was created by Max Lynch, Ben Sperry, and Adam Bradley of Drifty Co. in 2013. The first beta version of the Ionic framework was released in March 2014.
3. WhIich are the advantages of an Ionic Framework?
A. Easy to learn
B. Easy documentation
C. Cross-platform
D. All of the above
View Answer
Ans : D
Explanation: All of the above are advantages of an Ionic Framework.
4. ____________ is a general process where we load that thing whenever we need them.
A. Lazy routing
B. Lazy loading
C. Lazy component
D. Lazy page
View Answer
Ans : B
Explanation: Lazy loading is a general process where we load that thing whenever we need them. The main idea behind this concept is that we do not need to load every page in the application when the application is launched.
5. Sworkit apps built with the Ionic Framework.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, Sworkit apps built with the Ionic Framework.
6. CORS stands for?
A. cross-outside resource sharing
B. cross-origin resource sharing
C. cross-origin request sharing
D. cross-origin resource server
View Answer
Ans : B
Explanation: CORS stands for cross-origin resource sharing.
7. Which file is used to rename an Ionic app?
A. resource.xml
B. admin.xml
C. config.xml
D. setting.xml
View Answer
Ans : C
Explanation: To rename the Ionic app, open the config.xml file from your project's root directory and update the value inside the name tag.
8. ___________ is a container element for the whole Ionic app.
A. ionic-app
B. i-app
C. ionic-application
D. ion-app
View Answer
Ans : D
Explanation: The ion-app is a container element for the whole Ionic app. The Ionic project should have only one ion-app element and can have many Ionic components such as header, footers, menus, content, etc. All these components wrapped into the ion-app component when they are presented.
9. The Ionic framework has a set of _________ pre-defined colors
A. 8
B. 9
C. 10
D. 11
View Answer
Ans : B
Explanation: The Ionic framework has a set of nine pre-defined colors, which is used to change the color of many components. Each color is a collection of multiple properties, including shade and a tint. We can apply color to an Ionic component by using the color attribute.
10. If you have not set any color to the required element, it sets the primary color by default.
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: Yes, If you have not set any color to the required element, it sets the primary color by default.
11. ____________ are internet-enabled apps, which have specific functionality for mobile devices.
A. Native Apps
B. Hybrid Apps
C. Mobile web apps
D. All of the above
View Answer
Ans : C
Explanation: Mobile web apps are internet-enabled apps, which have specific functionality for mobile devices. The mobile web apps accessed through the mobile device's web browsers.
12. Which are the disadvantages of an Ionic Framework?
A. Security
B. Not good for video game
C. Performance
D. All of the above
View Answer
Ans : D
Explanation: All of the above are the disadvantages of an Ionic Framework.
13. The ______________<platform> copies all files from the www folder into the target platform www folder.
A. ionic build
B. ionic prepare
C. ionic alert
D. ionic content
View Answer
Ans : B
Explanation: The ionic prepare <platform> copies all files from the www folder into the target platform's www folder.
14. The Ionic grid is made up of ______ column layout with different breakpoints based on the screen size.
A. 10
B. 11
C. 12
D. 13
View Answer
Ans : C
Explanation: The Ionic grid is made up of 12 column layout with different breakpoints based on the screen size.
15. In an ion-grid component, If columns are without size value, it will automatically take equal widths.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, If columns are without size value, it will automatically take equal widths.
16. ____________ is a dialog that notifies the user with important information to make a decision or provide the ability to choose a specific action or list of actions.
A. Ion-Buttons
B. Ion-Content
C. Ion-List
D. Ion-Alert
View Answer
Ans : D
Explanation: An alert is a dialog that notifies the user with important information to make a decision or provide the ability to choose a specific action or list of actions. It appears on top of the app content. It can be dismissed manually by the user before resuming interaction with the app.
17. ______________ is fired when the component routing-to is about to animate into view.
A. ngOnDestroy
B. ionViewWillEnter
C. ionViewDidEnter
D. ionViewWillLeave
View Answer
Ans : B
Explanation: ionViewWillEnter: It is fired when the component routing-to is about to animate into view.
18. A progressive web app is a normal web app, which looks and feels like native mobile apps.
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: Yes, A progressive web app is a normal web app, which looks and feels like native mobile apps.
19. Which event is fired when nav will load a component?
A. ionNavDidChange
B. ionNavWillChange
C. ionNavWillLoad
D. All of the above
View Answer
Ans : C
Explanation: ionNavWillLoad: This event is fired when nav will load a component
20. Can we use Firebase with Ionic?
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: Yes, we can use Firebase with Ionic. It is one of the most powerful and popular databases as a service solution available today. Firebase SDK is also available as a node module. It can be installed within your project, import it, and can use it.
Discussion