90 MCQS, Based On Mean
90 MCQS, Based On Mean
3.Which angular decorator allows us to define the pipe name that is globally available for
use in any template in the across application?
A - pipeName
B - pipeDeco
C - Pipe
D - None of the above
Ans: c
7.What is .subscribe?
A - Streams data in asynchronously
B - Streams data in synchronously
C - Both
D - None of above
Ans: c
21. Which is a highly configurable and feature packed router. Features included are
standard view routing, nested child routes, named routes, and route parameters.
A - Distinctive Router
B - Component Router
C - Angular Router
D - Creative Router
Ans: B
A - RouterAngle
B - RouterLink
C - RouterState
D - RouterOutlet
Ans: D
23. RouterModule.forChild creates a module that contains all the directives and the given
routes, and the router service.
A - True
B - False
Ans: B
24. Which directive substitutes the normal href property and makes it easier to work with
route links in Angular. Moreover if we want to navigate between routes, we use the . . . . . . .
. . . . directive.
A - RouterLinks
B - RouterLinking
C - RouterLink
D - RouterLinq
Ans: C
26. It contains the information about a route associated with a component loaded in an
outlet. Which route can also be used to traverse the router state tree.
A - ActivatedRoute
B - NavigationRoute
C - NavigateRoute
D - ActiveRoute
Ans: A
27. Which Route allow us to pass values in our url to our component so we can dynamically
change our view content.
A - pipes
B - modules
C - variables
D - parameters
Ans: D
28. ...........is nothing but the directive which is provided by the RouterModule. The main role
of . . . . . . . . . is that the router will display each and every component immediately below
router-outlet.
A - routerresolve
B - routeroutlet
C - routerintlet
D - routerguard
Ans: B
A - RouteStart
B - RouteInitial
C - NavigationStart
D - NavigateStart
Ans: C
30. There are four different guard types we can use to protect our routes, one of these is
A - CanLoad
B - CanStart
C - CanNavigate
D - CanStop
Ans: A
31. Which of the following is a server-side solution for implementing responsive images?
A - http://adaptive-images.com
B - http://github.com/scottjehl/picturefill
C - http://www.netmagazine.com
D - http://offroadcode.com
Ans: A
33.A breadcrumb navigation provide links back to each previous page the user navigated
through, and shows the user's which location in a website.
A - Current
B - previous
C - No Location
D - Empty
Ans: A
34. How to combine filter with expression
A - Using Dot {{expression. pipe}}
B - Using Slash {{expression / pipe}}
C - Using PIpe {{expression | pipe}}
D - None of the above
Ans: C
A - manifesto
B -shell Script
C -Service Provider
D - - Application shell
Ans D
41.Which is the first component of the PWA.
A - Web App manifest
B -Application shell
C -Service worker
D -Webpack
Ans A
42. The webpack is the fourth component of the PWA.It allows the PWA-developers to
gather all JavaScript resources and data in one location.
It is used to design the PWA which end?
A - Front End
B - Back End
C - Both
D - None
Ans A
48. Jasmine is the framework which has a bunch of functionalities to allow us the write
different kinds of ?
A - code
B - Test
C - Analyse
D -None
Ans B
49.Karma is a .......... for our tests. It uses a configuration file in order to set the startup file,
the reporters, the testing framework, the browser among other things.
A - Task Runner
B - Lexical Analyser
C - Both
D - None
Ans A
52. Which of the following is the correct syntax for writing AngularJS expressions?
A - (expression)
B - {{expression}}
C - {{{expression}}}
D - [expression]
Ans B
53. Do AngularJS provide reusable components?
A - Yes
B - No
Ans A
59.Angular is a ?
A - library
B - Framework
C - Operating System
D - programming Language
Ans B
62. Which of the following is not a hook in Angular application life cycle.
A - ngOnChanges
B - ngOnInit
C - ngAfterViewInit
D - ngViewStart
Ans D
63. Angular 2 is an open source JavaScript framework to build web applications in HTML and
JavaScript. It has been conceived as a......
A - UI first approach
B - Web first approach
C - Mobile first approach
D - None of the above
Ans C
64. Which of the following service has Angular 2, that allows us to dynamically load a
component in a certain position on the page?
A - DynamicComponentLoader
B - DynamicControlLoader
C - DynamicControllerLoader
D - None of the above
Ans C
A - Javascript developed with ES5 standards and/Typescript developed with ES6 standards.
B - Javascript developed with ES6 standards and/Typescript developed with ES5 standards.
C - Both
D - None
Ans A
79. Is Built-in angular pipes are pure by default and good for performances as it is not
running on every change detection cycle.
A - True
B - False
Ans A
80. What is decoraters list down the decorators for
module/components/directives/pipes/services.
A - Module – @NgModule,Component – @Component,Directive – @Directive,Pipe –
@Pipe,Service – @Injectable
B - Directive –@Input and ervice – @Output with EventEmitter
C - Both
D - None
Ans A
83. What are the you created To Create the custom pipes in typescript class which
decorator are used
A - @Input
B - @Pipe
C - @Output
D - None
Ans B
84. What is dumb components ?
A -It is not aware of what happens outside itself. It only receives input via property bindings
and only emits output data as events.
B - Angular Object Templates
C - ahead-of-time compilation
D - None
Ans A
85........... show a collection of items one at a time. They are also known as “slideshows” and
“sliders”.
A - Glyphicons
B - Carousels
C - Both
D - None
Ans B
86. ........... are a set of symbols and icons to understand more effectively and easily in web
projects.
A - Glyphicons
B - Carousels
C - Both
D - None
Ans: A