
- Angular 2 Tutorial
- Angular 2 - Home
- Angular 2 - Overview
- Angular 2 - Environment
- Angular 2 - Hello World
- Angular 2 - Modules
- Angular 2 - Architecture
- Angular 2 - Components
- Angular 2 - Templates
- Angular 2 - Directives
- Angular 2 - Metadata
- Angular 2 - Data Binding
- CRUD Operations Using HTTP
- Angular 2 - Error Handling
- Angular 2 - Routing
- Angular 2 - Navigation
- Angular 2 - Forms
- Angular 2 - CLI
- Angular 2 - Dependency Injection
- Angular 2 - Advanced Configuration
- Angular 2 - Third Party Controls
- Angular 2 - Data Display
- Angular 2 - Handling Events
- Angular 2 - Transforming Data
- Angular 2 - Custom Pipes
- Angular 2 - User Input
- Angular 2 - Lifecycle Hooks
- Angular 2 - Nested Containers
- Angular 2 - Services
- Angular 2 Useful Resources
- Angular 2 - Questions and Answers
- Angular 2 - Quick Guide
- Angular 2 - Useful Resources
- Angular 2 - Discussion
Angular 2 Mock Test
This section presents you various set of Mock Tests related to Angular 2. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.

Angular 2 Mock Test I
Q 1 - Which of the following is correct about Angular 2 Components?
B - Components help to build the applications into many modules.
C - This helps in better maintaining the application over a period of time.
Answer : D
Explanation
All of the above options are correct.
Q 2 - Which of the following is correct about TypeScript?
A - Angular 2 is based on TypeScript.
B - This is a superset of JavaScript.
Answer : D
Explanation
All of the above options are correct.
Q 3 - Which of the following is correct about Services?
B - Angular 2 Services cannot be used across multiple applications.
C - Angular 2 Services help to build the applications into many modules.
Answer : A
Explanation
Services are a set of code that can be shared by different components of an application. So for example if you had a data component that picked data from a database, you could have it as a shared service that could be used across multiple applications.
Q 4 - Which of the following is true?
A - Angular 2 Service is used to break up the application into logical pieces of code.
B - Angular 2 Module is used to break up the application into logical pieces of code.
C - Angular 2 Template is used to break up the application into logical pieces of code.
Answer : B
Explanation
Angular 2 Module is used to break up the application into logical pieces of code. Each piece of code or module is designed to perform a single task.
Q 5 - Which of the following is true?
A - Angular 2 Service can be used to bring the modules together.
B - Angular 2 Template can be used to bring the modules together.
C - Angular 2 Component can be used to bring the modules together.
Answer : C
Explanation
Angular 2 Component can be used to bring the modules together.
Q 6 - Which of the following is true?
A - Angular 2 Services are used to define the views of an Angular JS application.
B - Angular 2 Templates are used to define the views of an Angular JS application.
C - Angular 2 Components are used to define the views of an Angular JS application.
Answer : B
Explanation
Angular 2 Templates are used to define the views of an Angular JS application.
Q 7 - Which of the following is true?
A - Angular 2 Services can be used to add more data to an Angular JS class.
B - Angular 2 Metadata can be used to add more data to an Angular JS class.
C - Angular 2 Components can be used to add more data to an Angular JS class.
Answer : B
Explanation
Angular 2 Metadata can be used to add more data to an Angular JS class.
Q 8 - Which of the following is true?
Answer : C
Explanation
Angular 2 Services are used to create components which can be shared across the entire application.
Q 9 - Which of the following is correct about Bootstrap Array in Angular 2 Modules?
Answer : C
Explanation
Angular 2 Bootstrap array is used to tell Angular which components need to be loaded so that its functionality can be accessed in the application. Once you include the component in the bootstrap array, you need to declare them so that they can be used across other components in the Angular application.
Answer Sheet
Question Number | Answer Key |
---|---|
1 | D |
2 | D |
3 | A |
4 | B |
5 | C |
6 | B |
7 | B |
8 | C |
9 | C |