Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Online Gulp Test

Topics Covered

  • Sourcing Files
  • Compatibility
  • Pipelining
  • Sourcing Files
  • Watcher
  • Tasks
  • Callbacks

Useful for hiring

  • Frontend Application Engineer
  • Node JS Engineer

Start hiring job-fit candidates using this assessment


"Interview Mocha has provided UNEECOPS with a veritable assessment platform with a comprehensive test library, online test platform, and intelligent reports. This made it easier for us to map different job openings with job-fit candidates and recruit faster."

Nisha Chandila, UNEECOPS,
Talent Acquisition Manager

You use the following expression in your Gulp script:
gulp.src(['author/*.js', '!author/s*.js', 'author/sad.js'])

Which of the following files will not match the following processed by the above expression?

Note: There can be multiple correct answers to this question.

    • android.js

    • sad.js

    • simple.js

    • s.js


You are going to install the Gulp CLI on your machine, but you had installed an older version of Gulp on the same machine. How can you make sure that there is no collision between the older version of Gulp and the Gulp CLI?

    • By updating the Gulp to the latest version using the following command.
      gulp update

    • By running the following command.
      npm rm --global gulp

    • By running the following command.
      npm check --global gulp

    • None of the mentioned


To process few files in Gulp, you used the following expression the identify the files:
gulp.src(['manager/*.js', '!manager/gu*.js', 'manager/g*.js'])

Select the correct option regarding the execution of this expression.

    • All the files present in the "manager" folder will be included.

    • All the files present in the "manager" folder will be included except those starting with "gu".

    • The statement first includes all the files, then removes the files(names) starting with "gu" and then adds the files(names) starting with "g".

    • None of the mentioned

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates