Skip to content

Module quiz: Introduction to React Native :React Native (Meta iOS Developer Professional Certificate) Answers 2026

Question 1

Of the following, what are some benefits of React Native? Select all that apply.

✅ Cost-effective
✅ Large community and library support
✅ Builds cross-platform native apps
❌ Uses Swift and Kotlin

Explanation:
React Native ek single JavaScript codebase se iOS aur Android dono ke native apps banata hai, isliye cost-effective hai. Swift/Kotlin directly use nahi karta.


Question 2

React Native components can be categorized into the following groups. Select all that apply.

✅ Core Components
❌ None of the above
✅ Community Components
✅ Your native custom components

Explanation:
React Native me Core, Community, aur Custom Native components hote hain.


Question 3

Which of the following statements are true about React Native?

✅ React Native is cost-effective since there is no need for multiple teams. A single code base is shared between iOS and Android, and all code changes reflect upon both platforms.
❌ React Native has separate code bases for both iOS and Android.

Explanation:
React Native ka main advantage hi single shared codebase hai.


Question 4

If you are new to mobile development, what is the recommended way to set up React Native?

❌ Using React Native CLI
✅ Using Expo CLI

Explanation:
Beginners ke liye Expo CLI easiest hai kyunki native setup ki tension nahi hoti.


Question 5

With Expo, you can push the Over The Air (OTA) updates. This is because:

❌ Expo CLI is a paid service, and you can override app store requirements to push updates.
✅ All of the code is written in JavaScript, without native code. This enables Expo to push updates OTA.

Explanation:
Expo JavaScript layer ke updates App Store / Play Store ke bina bhej sakta hai.


Question 6

Which of the following is true about the View component?

❌ A View component is a parent element that cannot have other views inside it.
✅ A View component can be nested inside other views and can have as many children of any type.

Explanation:
View React Native ka basic container hai jo nesting support karta hai.


Question 7

Styles should not be abstracted away from the render function of a component, as this would make the code harder to read and understand.

❌ True
✅ False

Explanation:
Styles ko StyleSheet.create() me rakhna best practice hai, code clean rehta hai.


Question 8

Which job title would be most applicable if you learned React Native and used it to develop applications?

❌ iOS Developer
✅ Cross-Platform Developer
❌ Android Developer

Explanation:
React Native developers cross-platform apps banate hain.


Question 9

You are asked to write a readable and clean component. Which of the following code snippets better matches this description?

✅ First code snippet (using StyleSheet abstraction)
❌ Second code snippet (inline styles everywhere)

Explanation:
Styles ko alag file/object me rakhna readability aur maintainability improve karta hai.


Question 10

Which of the following code snippets are correct and will not throw any errors? Select all that apply.

✅ Snippet 1

<ScrollView>
<Text>Some text
<Text> Some more text</Text>
</Text>
</ScrollView>

✅ Snippet 2

<ScrollView>
<Text>
Some text
</Text>
</ScrollView>

❌ Snippet 3

<ScrollView>
Some text
</ScrollView>

❌ Snippet 4

<ScrollView>
<Text>
Some text
</ScrollView>
</Text>

Explanation:
React Native me ScrollView ke andar raw text allowed nahi hota, aur tags ka proper closing mandatory hai.


🧾 Summary Table

Q Correct Answer(s) Key Concept
1 A, B, C React Native benefits
2 A, C, D Component types
3 A Single codebase
4 B Expo CLI
5 B OTA updates
6 B View component
7 False Styling best practice
8 Cross-Platform Developer Career role
9 First snippet Clean code
10 1, 2 Valid JSX