Angular

Angular

2nd - 3rd Grade

18 Qs

quiz-placeholder

Similar activities

Grade 2 Math Quiz bee

Grade 2 Math Quiz bee

2nd Grade

15 Qs

Network ports

Network ports

1st Grade - University

20 Qs

Ôn tập Tin học 5

Ôn tập Tin học 5

2nd Grade

20 Qs

2nd SUMMATIVE TEST IN MATH 3 Q2

2nd SUMMATIVE TEST IN MATH 3 Q2

3rd Grade

21 Qs

ข้อสอบเก็บคะแนนวิทยาการคำนวณ ป.5

ข้อสอบเก็บคะแนนวิทยาการคำนวณ ป.5

1st - 5th Grade

20 Qs

Input and Output devices

Input and Output devices

3rd Grade

13 Qs

GRADE 2 MATH QUIZ

GRADE 2 MATH QUIZ

2nd Grade

20 Qs

Components On Motherboard

Components On Motherboard

KG - University

15 Qs

Angular

Angular

Assessment

Quiz

Mathematics, Computers

2nd - 3rd Grade

Hard

Used 63+ times

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

How would you debug and evaluate the response of the http.get function (using HttpClient) using a debugger?

You cannot place breakpoints on asynchronous operators

Place a breakpoint on the function that calls the http.get

Place a breakpoint on the http.get

Place a breakpoint inside one of the functions inside the pipe call

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What does this syntax do? routerLink="/crisis-center"

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

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

The purpose of the providers array of an Angular module is to define the set of:

libraries used by the application including Angular system and third-party libraries.

components that the application provides to other parts of the application.

components, custom directives, and custom pipes.

objects available for dependency injection.

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What is the correct syntax to associate an external template file orders.component.html to an OrdersComponent , when both are in the same orders/ folder?

@Component({

template: './orders.component.html'

})

@Component({

templateUrl: './*'

})

@Component({

templateUrl: './orders/orders.component.html'

})

@Component({

template: `

./orders/orders.component.html

`

})

@Component({

templateUrl: './orders.component.html'

})

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

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

ng new my-dream-app --routing

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

You apply a style selector in a component's CSS file. Which matching elements will be affected?

All matching elements in the application

All matching elements in the component and its child components

All matching elements in the module

All matching elements in the component, only

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

How would you write code to modify the response from an http.get ?

Using the modify operator chained to the http.get

Using the map function inside of the pipe operator chained to the http.get

Using the transform operator chained to the http.get

Subscribing to the http.get and setting the response to a local variable

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?