WorksheetsREACT-NATIVE
Total questions: 12
Worksheet time: 8mins
What is React Native?
JavaScript library
JavaScript framework
Programming language
Neither of the above
React Native has a set components for:
IOS platform
Android platform
Both IOS and Android platform
neither of the above
What is props?
which used for rendering dynamic changes whithin component
import component from one another component like react-native in app.js, custom component
which stands for properties and is being used for passing data from one component to another
neither of the above
What is state?
Align children within the main axis of our container
which used for rendering dynamic changes within component
which stands for properties and is being used for passing data from one component to another
neither of the above
what is Class components?
used as container components to handle state management and wrap child components
which are just used for display purposes - these components call functions from parent components to handle user interactions or state updates
are the building blocks of any React app and a typical React app will have many of these
neither of above
What is hook?
helps you to create lifecycle
helps you to customize the component
helps you use state and lifecycle methods behavior in functional React components
neither of the above
Command to create new react native app project called Demo
(a)
Command to run project:
(a)
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)
Which component is for inputting text into the app via a keyboard
(a)
Look at the Given Code below. Explain how will the program execute?
It will get Camera Permissions for scanning the barcode scanner.
it will get camera permissions for scanning the QR CODE.
it will get camera permissions for optional purposes
none of these
what is TouchableOpacity in the code above?
A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it.
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.
A wrapper for making views respond properly to touches.
none of these
