MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Angularjs
Quiz 2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
What is Form Builder?
Class for generating reactive forms in run-time
Class for generating template-driven forms in run-time
Function for generating reactive forms in run-time
Function for generating template-driven forms in run-time
Q.2
Who was Angular developed by?
Google
Facebook
Netflix
Angular
Q.3
What mechanism is used to use a service in a component?
Dependency injection
Legacy
Polymorphism
Q.4
What does this syntax do? routerLink="/home"
It navigates to the component with a name matching the assigned string
It links a route to a service by matching the assigned string to a service class name
It links a route with data by matching the assigned string to a property name
It navigates to the component with a path matching the assigned string
Q.5
What command will create a new Angular app with a root routing module?
ng generate my-dream-app
ng new my-dream-app --module
ng generate my-dream-app --routing
ng new my-dream-app --routing
Q.6
What is the role of services in AngularJS and name any services made available by default?
AngularJS Services are objects that provide separation of concerns to an AngularJS app.
These can be created using a factory method or a service method.
Services are singleton components and all components of the application (into which the service is injected) will work with single instance of the service
All of the above
Q.7
Which of the following is true about ng-include directive?
Embed HTML pages within a HTML page using ng-include directive
Embed JS files within a HTML page using ng-include directive
Both of the above.
None of the above.
Q.8
Which architectures does angular use
MVC
MVVM
Component Based Architecture
All the above
Q.9
What are the values assigned for datatype of void in TS ?
only null
only undefined
null and undefined
can assign any values (number, boolean etc)
Q.10
What is Transpiler ?
converts source to source and then to binary
Source to Source Compiler
converts source to binary
All of above
Q.11
What is the term Angular CLI?
Angular Command-line
Angular Command-line user interface
Angular Command-line interface
Angular Command-line interceptor
Q.12
How many types of Data Binding are there?
1 type
2 type
3 type
4 type
Q.13
Which of the below commands are used for installing dependencies in Node
npm add dependencyName
npm i / install -g dependencyName
node i / install dependencyName
node i / install dependencyName
Q.14
Node JS use which javascript engine
Squirrel Fish
Bluma
V8
None of the above
Q.15
Which statements about metadata in angular are true
Meta-data is the way for processing the class and the component.
It is used to decorate the class
All the decorator are used by the meta-data to attach variable to the component or module class.
All of the above
Q.16
@Input() is used for sharing data between
from parent to child
from child to parent
both A and B
None of the above
Q.17
AngularJS needs data in JSON format to populate its model.
yes
no
Q.18
What are the types of directives
Component
Structural
Attribute
All of above
Q.19
Select the arrays included in the angular module
Bootstrap Array
Imports Array
Providers Array
All of the above
Q.20
Select all Structaral directives from below { (i) *ngIf } { (ii) *ngFor } { (iii) *ngClass } { (iv) *ngElse } { (v) *ngWhile } { (vi) *ngSwitch }
ii, iii, v
i, ii, iv
i, ii, vi
i, iii, v
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page