CoreHRx Jobs

Apply in one click, save jobs and take free mock tests.

Register free Log in
Hiring? Post jobs with CoreHRx
My account
user

View & update profile

React Native mock test: free online practice

15 to 30 random questions in 15 to 30 minutes, by the level you choose: components, flexbox, lists, navigation, hooks, new architecture, expo. After you submit you get your score, your strong and weak topics, and the right answer with an explanation for every question.

Want to revise first? Read the React Native interview questions and answers.

Choose your experience

Free with a CoreHRx Jobs account: you will be asked to sign in or create one first.

What does the React Native mock test cover?

The test covers 13 topics across three levels. Each attempt picks 15 to 30 questions at random, by the level you choose, so every attempt is different.

  • JavaScript Essentials
  • State and Hooks
  • Build, Release and Expo
  • Lists and Performance
  • Native Modules and New Architecture
  • Networking and Storage
  • Animations and Gestures
  • Navigation
  • Styling and Flexbox
  • Debugging and Tooling
  • Core Components
  • Permissions and Device APIs
  • Platform-specific Code

Sample React Native mock test questions

One question from each level, the way they appear in the test. A new set comes on the 1st of every month. Try it, then open the answer.

  1. FresherPlatform-specific Code

    You have Header.ios.js and Header.android.js. How should another file import the component?

    • require(Platform.OS + '/Header')
    • import Header from './Header.native.ios';
    • import Header from './Header';
    • Import both files and choose one with an if
    Show the answer

    Answer: import Header from './Header';. Metro sees the platform extension and picks Header.ios.js on iOS and Header.android.js on Android, so you import './Header' with no extension. Metro needs static require paths, so a computed path fails.

  2. Intermediate (1-5 years)Lists and Performance

    Rows are exactly 64 points tall. What offset does this return for index 25, and what does that buy you?

    const ROW_H = 64;
    
    <FlatList
        data={orders}
        renderItem={renderOrder}
        getItemLayout={(data, index) => ({
            length: ROW_H,
            offset: ROW_H * index,
            index,
        })}
    />
    • 1600; FlatList can skip measuring rows and jump straight to any index
    • 1536; images inside rows load faster
    • 1664; FlatList can skip measuring rows and jump straight to any index
    • 1600; every row renders in a single batch
    Show the answer

    Answer: 1600; FlatList can skip measuring rows and jump straight to any index. offset is the distance from the top of the list: 64 x 25 = 1600. With sizes known up front, FlatList does not have to measure rows, and scrollToIndex can jump to rows that have not rendered yet.

  3. Experienced (5+ years)Native Modules and New Architecture

    Why is the C++ shadow tree in Fabric immutable?

    • Because C++ does not allow objects to be changed after creation
    • So the app bundle uses less disk space on the device
    • So threads read trees safely while React builds the next one
    • So that styles cannot change at run time after the first render
    Show the answer

    Answer: So threads read trees safely while React builds the next one. Every update creates new shadow nodes, sharing the unchanged ones, instead of editing the tree in place. That is thread-safe without locks and supports concurrent rendering on a tree that is not on screen yet.

Take the full React Native mock test: 15 to 30 questions and 15 to 30 minutes, by level.

How is the React Native mock test scored?

A question counts as right only when you pick exactly the right option, or all the right options where it says so; a question left blank counts as wrong. Your score is the share of the test's questions you got right (15 to 30, by level). The result also scores every topic, so you know what to revise before the interview.

  • 75% or more in a topica strength
  • 50% to 74%worth a revision
  • Under 50%a topic to work on

React Native mock test: questions people ask

Is the React Native mock test free?

Yes. The React Native mock test is free. You need a free CoreHRx Jobs account to start it, so your score and the topics to work on are saved.

How many questions are in the React Native mock test?

It depends on the level: Fresher has 15 questions in 15 minutes, Intermediate has 20 questions in 20 minutes, Experienced has 30 questions in 30 minutes. They are multiple-choice questions picked at random from a larger bank of React Native questions at your level, so every attempt is different.

Which React Native topics does the test cover?

The questions cover JavaScript Essentials, State and Hooks, Build, Release and Expo, Lists and Performance, Native Modules and New Architecture, Networking and Storage, Animations and Gestures, Navigation, Styling and Flexbox, Debugging and Tooling, Core Components, Permissions and Device APIs, Platform-specific Code. Your result shows how you did in each topic.

Which level should I choose?

Fresher if you are a student or have less than a year of experience, Intermediate for 1 to 5 years at work, and Experienced for 5 years or more.

Can employers see my React Native score?

Only your best React Native score, and only when it is 60% or more. It shows on the job applications you send on CoreHRx. Lower scores stay private.

Can I take the React Native mock test again?

Yes, up to 10 tests a day. Each attempt picks questions you have not seen recently first.

All mock tests