Automation with Gulp Quiz

 



1.  How does installing Gulp globally help?
Answer: Helps to run

2.  Before installation of Gulp, installation of _____________ acts as pre-requisite
Answer: node

3.  Between Grunt and Gulp, which is relatively fast?
Answer: Gulp

4.  Which Streams provide ability to both read and write?
Answer: Transform

5.  Streams are Asynchronous. Is this True or False?
Answer: True

6.  While installing gulp, the first installation step would be ________.
Answer: $npm install gulp g

7.  Streams which play vital role in gulp, has its origin from __________.
Answer: Unix

8.  The default task representation in gulp will be like _________.
Answer: {}

9.  Streams are represented as _________.
Answer: .pipe()

10. While installing gulp with $npm install gulp --save-dev, what does --save-dev represents?
Answer: .json updated

11. Which plugin notifies whenever there is any change in file?
Answer: gulp-watch

12. Which command in the CLI will trigger the 'default` task?
Answer: gulp

13. Which task would be called in gulp, by default?
Answer: Default

14. Compression of images could be easily achieved using which gulp plug-in?
Answer: gulp-imagemin

15. Which plugin helps in task dependencies?
Answer: No pulgin

16. The main objective of compressing (images / CSS / JavaScript) is to help with ____________.
Answer: All options

17. Which helps with sequencing the tasks one bye one?
Answer: .pipe

18. Which package helps in minifying the CSS?
Answer: gulp-minify-css

19. gulp.src in gulpfile.js refers to ______.
Answer: Source location file to be acted upon

20. gulp-concat helps with __________
Answer: concatenation in given location

21. In-memory caching is enabled with the help of which gulp plug-in?
Answer: gulp-cached

22. Organizing the gulp plug-ins can be easily achieved through
Answer: gulp load pulgins

23. To convert .svg icons into fonts, gulp provides ________ plug-in
Answer: gulp-iconfont

24. Which streams help to pass data to writable /duplex / transform streams?
Answer: Readable

25. The default task / plug-ins in gulp are mentioned in this ______ file.
Answer: gulpfile.js

26. How to check if gulp has been installed successfully?
Answer: gulp -v

27. The different kinds of Streams include ______________.
Answer: read,write,duplex,classic,transform

28. While installing the gulp using the syntax npm install gulp --save-dev, ________section of _________ is updated.
Answer: devDependencies, package.json

29. Which among the following helps to compile into .CSS format?
Answer: Both options