Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IT13 (Finals) - Quiz 1

Total questions: 15

Worksheet time: 5mins

Name
Class
Date
1.

What is the fundamental difference in UI rendering between React for Web and React Native?

a)

React for Web requires a compiler, while React Native does not.

b)

React for Web uses JavaScript for logic, while React Native uses Java/Kotlin.

c)

React for Web renders browser-based UI using HTML/CSS/DOM, while React Native renders native mobile components.

d)

React for Web uses a component-based architecture, while React Native uses a MVC pattern.

2.

Which of the following is a shared characteristic between React for Web and React Native?

a)

Direct manipulation of the Document Object Model (DOM).

b)

Use of JSX and a component-based architecture.

c)

Utilization of HTML and CSS for styling.

d)

Adherence to the 'Write once, learn anywhere' principle for all platforms.

3.

React for Web primarily uses which technologies for its browser-based user interface?

a)

XML and XSLT

b)

HTML, CSS, and the DOM

c)

Java and Android XML layouts

d)

Swift and Objective-C

4.

The 'Write once, run anywhere (with native look and feel)' principle is primarily associated with which technology?

a)

jQuery

b)

React for Web

c)

Vanilla JavaScript

d)

React Native

5.

What best describes Expo in the context of React Native development?

a)

A set of tools and services built around React Native to simplify development.

b)

A separate programming language for mobile applications.

c)

An integrated development environment (IDE) for React Native.

d)

A database management system for mobile apps.

6.

Which of these is a key benefit of using Expo for React Native development?

a)

Exclusive support for iOS development.

b)

Mandatory use of third-party native modules for all functionalities.

c)

Full control over native code from the very beginning.

d)

A simplified build process and easy testing on devices without complex native setup.

7.

What is the primary purpose of the Expo Go App?

a)

To compile and sign production builds for app stores.

b)

For quick testing and sharing of React Native projects on physical devices.

c)

To provide a robust local emulator for advanced debugging.

d)

To convert React Native code into a web application.

8.

In Expo, what does the 'Managed workflow' imply regarding native code?

a)

Native code is completely inaccessible and unmodifiable.

b)

Expo handles most of the native aspects and configurations.

c)

Developers must write all native code themselves.

d)

It requires manual linking of all native modules.

9.

What is the correct terminal command to create a new Expo project?

a)

create-expo-app

b)

expo init

c)

npx create-react-native-app

d)

npx create-expo-app@latest

10.

After creating a new Expo project, what is the command used to navigate into the project directory?

a)

cd

b)

open

c)

start

d)

goto

11.

How does React Native render a mobile-based UI?

a)

By displaying a web view wrapped within a native application.

b)

By converting React components into standard HTML elements.

c)

By rendering actual native UI components for iOS and Android.

d)

By directly manipulating the mobile device's graphics processor.

12.

React Native primarily extends React's capabilities for what specific purpose?

a)

Database management

b)

Desktop application development

c)

Server-side rendering

d)

Mobile application development

13.

Which of the following is NOT a similarity between React for Web and React Native?

a)

Manages state and props.

b)

Uses JSX for UI declaration.

c)

Directly interacts with the Document Object Model (DOM).

d)

Employs a component-based architecture.

14.

Expo is introduced as a tool primarily to simplify which aspect of React Native development?

a)

Optimizing network requests.

b)

The setup and overall development workflow.

c)

Designing advanced UI animations.

d)

Writing complex business logic.

15.

What is the command typically used to start an Expo application for local development with a clean cache?

a)

npm start --reset-cache

b)

npx expo start -c

c)

expo run --clean

d)

yarn dev --clear