Gulp is a toolkit which has features of cross-platform, streaming task runner that lets developers automate many development tasks. Get yourself help and access the answers to hundreds of Workflow Automation with Gulp Interview questions that are explained in a way that’s easy for you to understand.

At a high level, gulp reads files as streams and pipes the streams to different tasks. These tasks are code-based and use plugins. The tasks modify the files, building source files into production files.
Workflow Automation with Gulp MCQ
Question:1 The default task representation in gulp is _.
- ABgulp.call(‘default’,function(){ ‘d’,void});
- gulp.task(‘default’,function(){ });
- gulp.call(‘default’,function(){ ‘default’});
- gulp.call(‘default’,function(){ ‘d’,null});
Correct Answer is:gulp.task(‘default’,function(){ });
Question:2 Between Grunt and gulp, which is relatively fast?
- Grunt
- gulp
- Both are of the same speed
- Neither of them are fast
Correct Answer is:gulp
Question:3 While installing gulp with $npm install gulp –save-dev, what does –save- dev represent?
- Ensures CLI installation
- Missed out components of global installation will be taken here
- Installs gulp as a development dependency and updates package.json
- Triggers dependency between project and CLI
Correct Answer is:Installs gulp as a development dependency and updates package.json
Question:4 Code in a gulp file will be __ the code in a grunt file.
- lesser than
- larger than
- Equal to
- 2x times than
Correct Answer is:2x times than
Question:5 What was used by the gulp files?
- JSON
- JS
- None of the options
- Both the options
Correct Answer is:JS
Question:6 Which command in the CLI triggers the ‘default` task?
- run gulp
- run gulp default
- gulp
- run default gulp
Correct Answer is:gulp
Question:7 Which among the following helps to compile into .CSS format?
- gulp-sass
- gulp-less
- Both the options
Correct Answer is:Both the options
Question:8 Which helps with sequencing the tasks one by one?
- Only watch and plumber
- .pipe
- watch
- plumber
Correct Answer is:.pipe
Question:9 Which plug-in helps in task dependencies?
- No gulp plug-in is required
- gulp-depend
- gulp-seq
- gulp-order
Correct Answer is:No gulp plug-in is required
Question:10 gulp-concat helps with the __.
- Concatenation of files in the given location
- Concatenation of .js/.css files alone
- Concatenation of CSS files
- Concatenation of JavaScript files
Correct Answer is:Concatenation of files in the given location
Question:11 In-memory caching is enabled with the help of which gulp plug-in?
- gulp-tempcache
- gulp-cached
- gulp-sess
- gulp-cookie
Correct Answer is:gulp-cached
Gulp Automation Interview Questions
Question:12 To convert .svg icons into fonts, gulp provides __ plug-in.
- gulp-svgfont
- gulp-iconfont
- gulp-svgchange
- All the options
Correct Answer is:gulp-iconfont
Question:13 Organizing the gulp plug-ins can be easily achieved through __.
- gulp-load-plugins
- gulp-reload-plugins
- gulp-reload-package
- gulp-load-package
Correct Answer is:gulp-load-plugins
Question:14 Before installation of gulp, installation of _ acts as a prerequisite.
- Node.js
- Brocolli.js
- Grunt.js
- Bower.js
Correct Answer is:Node.js
Question:15 While installing gulp using the syntax npm install gulp –save-dev, __section of ___ is updated.
- globalDependencies, gulpfile
- devDependencies, gulpfile
- globalDependencies, package.json
- devDependencies, package.json
Correct Answer is:devDependencies, package.json
Question:16 Which package helps in minifying the CSS?
- gulp-min-css
- gulp-minify-css
- gulp-css-minify
- gulp-compressify-css
Correct Answer is:gulp-minify-css
Question:17 Which plug-in has optimizers and compressors?
- gulp-watch
- gulp-imagemin
- gulp-plumber
- gulp-changed
Correct Answer is:gulp-imagemin
Question:18 How does installing gulp globally help?
- Can draw reference within Grunt easily
- All files in any directory can be mapped easily
- Helps to run gulp command from any project folder
- All the options
Correct Answer is:Helps to run gulp command from any project folder
Question:19 How to check if gulp has been installed successfully?
- gulp -verify
- gulp -check
- gulp -val
- gulp -v
Correct Answer is:gulp -v
Question:20 Which Stream(s) provide the ability to both read and write?
- Transform
- Duplex
- Classic
- All the options
Correct Answer is:Transform
Question:21 Which task would be called in gulp, by default?
- Jshint
- Plumber
- Default
- Watch
Correct Answer is:Default
Question:22 The different kinds of Streams include __.
- readable, writable, divide, classic, transcend
- readable, writable, duplex, classic, transform
- readable, writable, divide, correspond, transform
- readable, writable, divide, check, transform
Correct Answer is:readable, writable, duplex, classic, transform
Question:23 The default task/plug-ins in gulp are mentioned in the __ file.
- index.html
- gulpfile.js
- app.js
- node.js
Correct Answer is:gulpfile.js
Question:24 While installing gulp, the first step would be __.
- $npm install gulp –save-dev
- $npm install gulp g –save-dev
- $npm install gulp g
- $npm install gulp g savedev
Correct Answer is:$npm install gulp g
Question:25 Which plug-in notifies whenever there is any change in file?
- gulp-notify
- gulp-watch
- gulp-plumber
- gulp-timber
Correct Answer is:gulp-timber
Question:26 Streams give higher flow control.
- True
- False
Correct Answer is:True