
- 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 III
Q 1 - Which of the following is correct about package.json?
Answer : C
Explanation
There are two types of dependencies, first is the dependencies and then there are dev dependencies. The dev ones are required during the development process and the others are needed to run the application.
Q 2 - Which of the following is correct about systemjs.config.json?
A - This file is used to give the options about TypeScript used for the Angular JS project.
B - This file contains information about Angular 2 project.
C - This file contains the system files required for Angular JS application.
Answer : C
Explanation
systemjs.config.json contains the system files required for Angular JS application. This loads all the necessary script files without the need to add a script tag to the html pages.
Q 3 - Which of the following is correct about systemjs.config.json?
A - 'npm:': 'node_modules/' tells the location in our project where all the npm modules are located.
B - The mapping of app: 'app' tells the folder where all our applications files are loaded.
Answer : C
Explanation
'npm:': 'node_modules/' tells the location in our project where all the npm modules are located. The mapping of app: 'app' tells the folder where all our applications files are loaded.
Q 4 - Which of the following filter is used to convert input to all lowercase?
Answer : A
Explanation
lowercase filter is used to convert the input to all lowercase.
Q 5 - Which of the following is the correct way to apply a filter?
Answer : C
Explanation
filter are applied using pipe character.
Q 6 - Which of the following filter is used to convert input to all uppercase?
Answer : A
Explanation
uppercase filter is used to convert the input to all uppercase.
Q 7 - Which of the following filter is used to slice a piece of data from the input string.
Answer : A
Explanation
slice filter is used to slice a piece of data from the input string.
Q 8 - Which of the following filter is used to convert an input string to date format.
Answer : B
Explanation
date filter is used to convert an input string to date format.
Q 9 - Which of the following filter is used to convert an input string to currency format.
Answer : A
Explanation
currency filter is used to convert an input string to currency format.
Answer Sheet
Question Number | Answer Key |
---|---|
1 | C |
2 | C |
3 | C |
4 | A |
5 | C |
6 | A |
7 | A |
8 | B |
9 | A |