--:--









Quiz for Node.js and npm

Course: REACT | Subject: React | Topic: Environment Setup



Logo

Q1: What is the purpose of Node.js in React development?

Logo

Q2: What does npm stand for?

Logo

Q3: Which command is used to check the installed Node.js version?

Logo

Q4: Which command installs the React app using Create React App?

Logo

Q5: Which file lists all npm packages installed for a project?

Logo

Q6: What is the purpose of the node_modules folder?

Logo

Q7: Which command updates npm to the latest version?

Logo

Q8: What is the use of the --save flag in npm install?

Logo

Q9: Which command is used to install all project dependencies listed in package.json?

Logo

Q10: Which tool is used to execute packages without installing them globally?

Logo

Q11: Which Node.js version manager is commonly used for switching between Node versions?

Logo

Q12: How can you globally install a package using npm?

Logo

Q13: Which command starts a React app after setup?

Logo

Q14: What does the "scripts" section in package.json do?

Logo

Q15: What does the command `npm run build` do in a React app?

Logo

Q16: Which of these is a dev dependency in a React project?

Logo

Q17: What is the use of `.npmrc` file?

Logo

Q18: Which of the following is NOT an npm command?

Logo

Q19: What is the output of `npm list`?

Logo

Q20: What is the role of Babel in a Node.js + React setup?

Are you ready to start test? Set your time limit