Search Header Logo

React and React Native Quiz

Authored by ahmed yasser

Education

University

Used 30+ times

React and React Native Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is React JS?

 A JavaScript library for building user interfaces

A server-side framework for building web applications

A programming language for building web applications

A front-end framework for building mobile applications

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between state and props in React JS?

State is data that can change over time, whereas props are data that are passed down from a parent component to a child component and are immutable.

 Props are data that can change over time, whereas state is data that are passed down from a parent component to a child component and are immutable

State and props are the same thing

State and props are not used in React JS

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

React Native has a set of components for....

Android Platform

IOS Platform

Both IOS And Android Platforms

Neither of the above

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following statements about styling in Javascript is/are true?

Styling in Javascript uses plain old Javascript objects.

The core components in Javascript accept a prop named style.

It is often cleaner to use StyleSheet to define several styles in one place.

StyleSheet creates a new style object every time it is referenced.

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following statements about views in Android and iOS development is/are true?

A view is the basic building block of UI.

Views can be used to display text and images.

All visual elements of an app, including buttons and text, are kinds of views.

Views cannot contain other views.

Views are only used for user input.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Events in React native …

Are numerous just as those in React

Cannot be handle if there multiple platform specific events in the same app

Can be triggered differently according to the same touch but different gesture

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of an HOC in React?

useState

useEffect

connect (from react-redux library)

useCallback

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Education