Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Bower is a new package manager for ______.

Answer»

Bower is a NEW PACKAGE manager for ______.
Choose the correct option from below LIST
(1)Server side COMPONENTS
(2)None of the options
(3)Client side components
(4)Both the options

Answer:-(3)Client side components

2.

The testing framework we have used in our course is ____.

Answer»

The testing framework we have used in our COURSE is ____.
Choose the CORRECT option from below list
(1)Jasmine
(2)Karma
(3)Tester
(4)NONE of the options

Answer:-(1)Jasmine

3.

In Package.json, to include the latest version we can use ______.

Answer»

In Package.json, to include the latest version we can USE ______.
Choose the correct option from below LIST
(1).symbol
(2)None of the options
(3)~ symbol
(4)^ symbol

Answer:-(1).symbol

4.

Grunt relies on _______.

Answer»

Grunt RELIES on _______.
Choose the CORRECT option from below LIST
(1)None of the OPTIONS
(2)GruntFile.js
(3)package.json
(4)Both the options

Answer:-(4)Both the options

5.

Bower was introduced by engineers at _____.

Answer»

Bower was INTRODUCED by ENGINEERS at _____.
CHOOSE the correct option from below LIST
(1)Facebook
(2)TWITTER
(3)Google
(4)LinkedIn

Answer:-(2)Twitter

6.

The following code is used to install Protractor _________.

Answer»

The following code is used to install Protractor _________.
npm install -G protractor
Choose the correct option from below LIST
(1)Globally
(2)None of the OPTIONS
(3)With GRUNT
(4)With Jasmine

Answer:-(1)Globally

7.

______ allows you to inject and mock angular services to help you test your application.

Answer»

______ ALLOWS you to INJECT and mock angular services to HELP you TEST your application.
Choose the correct option from below LIST
(1)mockdb
(2)MockAllow
(3)mocLoc
(4)ngMock

Answer:-(4)ngMock

8.

Testing an individual working part of source code is called _____.

Answer»

Testing an individual working part of SOURCE CODE is called _____.
CHOOSE the correct option from below list
(1)Integration testing
(2)Unit testing
(3)E2E testing
(4)All the options

Answer:-(2)Unit testing

9.

The webdriver-manager can be used, and the necessary binaries can be downloaded using _______.

Answer»

The webdriver-manager can be USED, and the necessary BINARIES can be downloaded using _______.
Choose the correct option from below LIST
(1)webdriver-manager update
(2)webdriver-manager update-binary
(3)webdriver-manager auto-update
(4)webdriver-manager update-binaries
(5)webdriver-manager binary-update

Answer:-(1)webdriver-manager update

10.

_____ is all about splitting your code into small testable modules with each module having its own functionality and level of abstraction.

Answer»

_____ is all about splitting your code into SMALL testable modules with each module having its own functionality and level of abstraction.
Choose the correct option from below list
(1)NONE of the OPTIONS
(2)Unit testing
(3)E2E testing
(4)INTEGRATION testing

Answer:-(2)Unit testing

11.

When will you start writing the unit testwriting the unit test?

Answer»

When will you start writing the unit testwriting the unit TEST?
Choose the correct option from below list
(1)As desired by the tester
(2)As soon as possible
(3)After each module completion
(4)During test planning
(5)During mock

Answer:-(2)As soon as possible

12.

The E2E testing framework for AngularJS is ______.

Answer»

The E2E testing framework for AngularJS is ______.
CHOOSE the correct OPTION from below list
(1)Jasmine
(2)Protractor
(3)KARMA
(4)All the options

Answer:-(2)Protractor

13.

_________ acts as a type of documentation because it describes the expected behavior of the functions and modules.

Answer»

_________ acts as a type of documentation because it DESCRIBES the expected BEHAVIOR of the functions and modules.
Choose the correct OPTION from below list
(1)Integration testing
(2)Unit testing
(3)None of the OPTIONS
(4)E2E testing

Answer:-(2)Unit testing

14.

Which one of the following is a Bower Concept?

Answer»

Which ONE of the following is a Bower CONCEPT?
Choose the correct option from below list
(1)Package
(2)None of the options
(3)Task
(4)Element

Answer:-(1)Package

15.

Protractor is built on top of ______.

Answer»

Protractor is built on TOP of ______.
CHOOSE the CORRECT option from below LIST
(1)TesterJS
(2)TestDriverJS
(3)WebDriverJS
(4)E2EJS

Answer:-(3)WebDriverJS

16.

App folder contains ______ and tests folder contains ______.

Answer»

App FOLDER contains ______ and tests folder contains ______.
Choose the correct OPTION from below list
(1)None of the options
(2)script files, tests
(3)tests, filters
(4)CONTROLLERS, testing methodologies

Answer:-(2)script files, tests

17.

The syntax for installing a component in Bower is ______.

Answer»

The syntax for installing a component in Bower is ______.
Choose the correct OPTION from below LIST
(1)component INSTALL component-name
(2)bower install component-name
(3)bower component component-name
(4)bower install component component-name

Answer:-(2)bower install component-name

18.

To run the test, we have to type ______.

Answer»

To RUN the test, we have to type ______.
Choose the correct OPTION from below LIST
(1)Run Jasmine
(2)Load KARMA
(3)Start Jasmine
(4)karma start

Answer:-(4)karma start

19.

Grunt runs tasks using temporary files, which are disk I/O operations.

Answer»

Grunt runs tasks using TEMPORARY files, which are disk I/O operations.
Choose the CORRECT option from below LIST
(1)True
(2)False

Answer:-(1)True

20.

What will be the output of the following snippet , if we pass 3e,5?

Answer»

What will be the output of the following SNIPPET , if we pass 3e,5?
Choose the correct option from below list
vm.add = FUNCTION(a,b){
if(typeof a !== 'number' || typeof b !== 'number'){
return 'invalid args';
}
return a+b;
}
(1)logical ERROR
(2)compile time error
(3)invalid args
(4)runtime error

Answer:-(3)invalid args