Search Your Question...!

React Native MCQ's

1. It is compulsory to install Xcode or Android studio for react native mobile application development.

   View Answer   

   False



2. Developer of React Native is _______________.

   View Answer   

    Facebook



3. React Native is ‘learn once, run anywhere’.

   View Answer   

   False



4. JSX is JavaScript with a syntax extension which allows a mixture between _______________ and ___________.

   View Answer   

   Java and XML tags



5. Which method is called when a component is being removed from the DOM?

   View Answer   

   componentWillUnmount()



6. AppRegistry is the JavaScript exit point to run all React Native apps.

   View Answer   

   False



7. Please select the one which is not a React Native UI Component.

   View Answer   

   Switch



8. _______________ are the building blocks for a React Native application.

   View Answer   

   Components



9. The application file for Android is .apk extension and for iOS is _______________ extension.

   View Answer   

   ipa



10. Which of the following properties Flex box Layout has?

   View Answer   

    All



11. With React Native,you just style your application using _______________ -

   View Answer   

   javascript



12. _______________ is a component that enable navigation between different screens in the applications.

   View Answer   

   Navigator



13. How do you create a new React Native project?

   View Answer   

   react-native init



14. _______________ is an architectural pattern that enforces unidirectional data flow.

   View Answer   

   view



15. You can use any CSS in the styles of the React Native StyleSheet object.

   View Answer   

   True



16. AppRegistry is the JavaScript entry point for running all React Native apps.

   View Answer   

   True



17. By writing CSS in JavaScript, you are isolating styles from _______________.

   View Answer   

   Global namespace



18.  The _______________ file defines some metadata for our project and, most importantly, declares react-native as a dependency of our own project

   View Answer   

   package.json



19. In React Native, Geolocation API is available through the _______________ global, so you do not need to import it.

   View Answer   

    - navigator.geolocation.



20. ______________ captures user touch events.

   View Answer   

   touchablehighlightd



21. FormsModule is imported from @angular/_______ in Model Driven Form.

   View Answer   

   none of these



22. React Native is like other Hybrid Apps which are actually slower than Native mobile apps.

   View Answer   

   False



23. In Reactive forms, the HTML of the forms are automatically created.

   View Answer   

   False



24. React Native supports DOM and Virtual DOM concept.

   View Answer   

   False



25. What type of data does a ListView take?

   View Answer   

   data source



26. Which method retrieves automatic updates about the current location of the device?

   View Answer   

   watch position



27. One of the benefits of React Native vs. Native Development is that React Native has the live reload ability

   View Answer   

   True



28. Live Reloading and Hot Loading is present in React Native Developer Tools.

   View Answer   

    true



29. For networking needs, React Native framework provides the fetch API.

   View Answer   

    true



30. Which command you have to run for installing React Native?

   View Answer   

   npm install -g react-native-cli



31. To build an iOS app, you need a Mac OS and to build an android app you want ____________

   View Answer   

   any



32. _______________ captures user touch events.

   View Answer   

   touchable highlight



33. Which command you have to run for installing React Native?

   View Answer   

   npm install -g create-react-native-app



34. React Native supports DOM and Virtual DOM concept.

   View Answer   

   False



35. The _______________ file defines some metadata for our project and, most importantly, declares react-native as a dependency of our own project

   View Answer   

   package.json



36. By writing CSS in JavaScript, you are isolating styles from _______________.

   View Answer   

    Global namespace



37. AppRegistry is the JavaScript entry point for running all React Native apps.

   View Answer   

   True



38. _______________ is an architectural pattern that enforces unidirectional data flow.

   View Answer   

   Flex



39. What is the main difference between React and React Native?

   View Answer   

   ReactJS is a Library where react native is a framework.



40. React Native is not having third-party plugin compatibility.

   View Answer   

   False



41. Which Objective C file can be used to switch the React Native bundle location in bundle.cc?

   View Answer   

   Appdelegate.m



42. React Native is ‘learn once, write anywhere’.

   View Answer   

   True



43. Which of the following is not a React Native API?

   View Answer   

   Modal



No comments:

Post a Comment