You are on page 1of 1

The default task representation in gulp will be like _________.

-
gulp.task('default',function(){ });
While installing gulp, the first installation step would be ________. - $npm
install gulp g
Streams are Asynchronous. Is this True or False? - True
Streams which play vital role in gulp, has its origin from __________. - Unix
Before installation of Gulp, installation of _____________ acts as pre-requisite. -
Node.js
How many types of Streams are available? - 5
While installing gulp with $npm install gulp --save-dev, what does --save-dev
represents? - Installs Gulp as a development dependency and package.json update
Streams are represented as _________. - .pipe()
Between Grunt and Gulp, which is relatively fast? - Gulp
Which Streams provide ability to both read and write? - Transform
How does installing Gulp globally help? - Helps to run gulp command from any
project folder

Which package helps in minifying the CSS? - gulp-minify-css


gulp.src in gulpfile.js refers to ______. - Source location of files to be acted
upon
Which plugin notifies whenever there is any change in file? - gulp-watch
Which command in the CLI will trigger the 'default` task? - gulp
Which among the following helps to compile into .CSS format? - Both the option
The main objective of compressing (images / CSS / JavaScript) is to help with
____________. - All the options
Which task would be called in gulp, by default? - Default
Compression of images could be easily achieved using which gulp plug-in? - gulp-
imagemin
Which helps with sequencing the tasks one bye one? - .pipe
gulp-concat helps with __________ - Concatenation of files in given location
Which plugin helps in task dependencies? - No gulp plug-ins needed

In-memory caching is enabled with the help of which gulp plug-in? - gulp-cached
Organizing the gulp plug-ins can be easily achieved through - gulp-load-plugins
To convert .svg icons into fonts, gulp provides ________ plug-in. - gulp-iconfont

Streams give higher flow control. Is this True or False? - True


The different kinds of Streams include ______________. - readable,writable,duplex,
classic, transform
The default task / plug-ins in gulp are mentioned in this ______ file. -
gulpfile.js
Which plug-in has optimizers and compressors? - gulp-imagemin
Which streams help to pass data to writable /duplex / transform streams? - Readable

You might also like