WorksheetsIT13 (Finals) - Quiz 1
Total questions: 15
Worksheet time: 5mins
What is the fundamental difference in UI rendering between React for Web and React Native?
React for Web requires a compiler, while React Native does not.
React for Web uses JavaScript for logic, while React Native uses Java/Kotlin.
React for Web renders browser-based UI using HTML/CSS/DOM, while React Native renders native mobile components.
React for Web uses a component-based architecture, while React Native uses a MVC pattern.
Which of the following is a shared characteristic between React for Web and React Native?
Direct manipulation of the Document Object Model (DOM).
Use of JSX and a component-based architecture.
Utilization of HTML and CSS for styling.
Adherence to the 'Write once, learn anywhere' principle for all platforms.
React for Web primarily uses which technologies for its browser-based user interface?
XML and XSLT
HTML, CSS, and the DOM
Java and Android XML layouts
Swift and Objective-C
The 'Write once, run anywhere (with native look and feel)' principle is primarily associated with which technology?
jQuery
React for Web
Vanilla JavaScript
React Native
What best describes Expo in the context of React Native development?
A set of tools and services built around React Native to simplify development.
A separate programming language for mobile applications.
An integrated development environment (IDE) for React Native.
A database management system for mobile apps.
Which of these is a key benefit of using Expo for React Native development?
Exclusive support for iOS development.
Mandatory use of third-party native modules for all functionalities.
Full control over native code from the very beginning.
A simplified build process and easy testing on devices without complex native setup.
What is the primary purpose of the Expo Go App?
To compile and sign production builds for app stores.
For quick testing and sharing of React Native projects on physical devices.
To provide a robust local emulator for advanced debugging.
To convert React Native code into a web application.
In Expo, what does the 'Managed workflow' imply regarding native code?
Native code is completely inaccessible and unmodifiable.
Expo handles most of the native aspects and configurations.
Developers must write all native code themselves.
It requires manual linking of all native modules.
What is the correct terminal command to create a new Expo project?
create-expo-app
expo init
npx create-react-native-app
npx create-expo-app@latest
After creating a new Expo project, what is the command used to navigate into the project directory?
cd
open
start
goto
How does React Native render a mobile-based UI?
By displaying a web view wrapped within a native application.
By converting React components into standard HTML elements.
By rendering actual native UI components for iOS and Android.
By directly manipulating the mobile device's graphics processor.
React Native primarily extends React's capabilities for what specific purpose?
Database management
Desktop application development
Server-side rendering
Mobile application development
Which of the following is NOT a similarity between React for Web and React Native?
Manages state and props.
Uses JSX for UI declaration.
Directly interacts with the Document Object Model (DOM).
Employs a component-based architecture.
Expo is introduced as a tool primarily to simplify which aspect of React Native development?
Optimizing network requests.
The setup and overall development workflow.
Designing advanced UI animations.
Writing complex business logic.
What is the command typically used to start an Expo application for local development with a clean cache?
npm start --reset-cache
npx expo start -c
expo run --clean
yarn dev --clear
