Back To Lesson

Quiz: Introduction to Package Managers and Build Tools

Quiz Instructions:

  • Each question is followed by multiple-choice answers (A, B, C, D, and sometimes E).
  • Carefully read each question and all answer options before selecting the best answer.
  • Choose the option that most accurately aligns with the key concepts or information provided.

Question 1: What is the primary purpose of NPM (Node Package Manager)?

Question 2: Which command initializes a project and creates a package.json file?

Question 3: What does Webpack primarily handle in development workflows?

Question 4: Which of the following commands installs a library as a development dependency?

Question 5: True or False: Webpack only processes JavaScript files.

Question 6: What is the role of Jenkins in a CI/CD workflow?

Question 7: What command in NPM allows you to install all project dependencies listed in the package.json file?

Question 8: True or False: Tree-shaking in Webpack eliminates unused code during production builds.

Question 9: What command would you use to check for outdated dependencies in NPM?

Question 10: What is the default file where Webpack configurations are stored?