Loading

Quipoin Menu

Learn • Practice • Grow

react / Create React App Setup
mcq
Direction: Choose the correct option

Q1.

What is create-react-app?
A. A React library for creating animations
B. A tool to build React components
C. A command-line tool to set up a new React project with default configuration
D. A package for server-side rendering
Direction: Choose the correct option

Q2.

Which command creates a new React app named 'my-app'?
A. Both B and C
B. npm init react-app my-app
C. npm create-react-app my-app
D. npx create-react-app my-app
Direction: Choose the correct option

Q3.

After running create-react-app, which script starts the development server?
A. npm dev
B. npm build
C. npm run dev
D. npm start
Direction: Choose the correct option

Q4.

Which folder contains the public assets (like index.html) in a create-react-app project?
A. build
B. src
C. public
D. assets
Direction: Choose the correct option

Q5.

In a create-react-app project, where do you typically write your React components?
A. node_modules
B. public/components
C. src/components
D. build/components