wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

REACT-NATIVE

Total questions: 12

Worksheet time: 8mins

Name
Class
Date
1.

What is React Native?

a)

JavaScript library

b)

JavaScript framework

c)

Programming language

d)

Neither of the above

2.

React Native has a set components for:

a)

IOS platform

b)

Android platform

c)

Both IOS and Android platform

d)

neither of the above

3.

What is props?

a)

which used for rendering dynamic changes whithin component

b)

import component from one another component like react-native in app.js, custom component

c)

which stands for properties and is being used for passing data from one component to another

d)

neither of the above

4.

What is state?

a)

Align children within the main axis of our container

b)

which used for rendering dynamic changes within component

c)

which stands for properties and is being used for passing data from one component to another

d)

neither of the above

5.

what is Class components?

a)

used as container components to handle state management and wrap child components

b)

which are just used for display purposes - these components call functions from parent components to handle user interactions or state updates

c)

are the building blocks of any React app and a typical React app will have many of these

d)

neither of above

6.

What is hook?

a)

helps you to create lifecycle

b)

helps you to customize the component

c)

helps you use state and lifecycle methods behavior in functional React components

d)

neither of the above

7.

Command to create new react native app project called Demo

(a)  

8.

Command to run project:

(a)  

9.

Which component is for displaying different types of images, including network images, static resources, temporary local images, and images from local disk, such as the camera roll

(a)  

10.

Which component is for inputting text into the app via a keyboard

(a)  

11.

Look at the Given Code below. Explain how will the program execute?

a)

It will get Camera Permissions for scanning the barcode scanner.

b)

it will get camera permissions for scanning the QR CODE.

c)

it will get camera permissions for optional purposes

d)

none of these

12.

what is TouchableOpacity in the code above?

a)

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it.

b)

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it.

Opacity is controlled by wrapping the children in an Animated.View, which is added to the view hierarchy. Be aware that this can affect layout.

c)

A wrapper for making views respond properly to touches.

d)

none of these