Angular and RxJS Online Test
For Jobseekers
Practice your skills and earn a certificate of achievement when you score in the top 25%.
Take a Practice TestFor Companies
Test candidates with real-world problems and interview the best ones.
Sign Up to Offer this TestAbout the test
The Angular and RxJS online test assesses knowledge of the Angular front-end web framework and reactive programming with RxJS. This test includes solving live coding problems in Angular.
The assessment includes work-sample tasks, such as:
- Building small apps from components.
- Encapsulating logic and features using services.
- Using subscribe to observe and react to the values emitted by an observable.
A good Angular developer should have an in-depth understanding of Angular components and should be able to use that knowledge to create robust, scalable, and user-friendly web applications, as well as use RxJS to implement asynchronous and event-driven features.
Sample public questions
Finish the ShoppingList component. The component will receive an array of strings as the items array. It should render one li element per item in the array.
For example, if the items array is ["Bread", "Eggs", "Milk"], the rendered HTML should look like:
<ul>
<li>Bread</li>
<li>Eggs</li>
<li>Milk</li>
</ul>
The code for running the example case locally is provided here.
Consider the following RxJS code for testing how a given damage Subject affects the health of a Player object in a game:
class Player {
name: string;
health: number;
damageSubscription: Subscription;
constructor(name, damageSubject) {
this.name = name;
this.health = 100;
this.damageSubscription = damageSubject.subscribe((damage) => {
this.health -= damage;
console.log(this.name + " was hurt for " + damage + " damage");
});
}
takeCover() {
this.damageSubscription.unsubscribe();
interval(1000)
.pipe(
takeWhile(() => this.health < 100),
map(() => 10),
tap(() => console.log(this.name + " is healing, current health is " + this.health))
)
.subscribe((heal) => {
this.health += heal;
});
}
}
const explosion = new Subject();
const john = new Player("John", explosion);
const sam = new Player("Sam", explosion);
explosion.next(10);
john.takeCover();
explosion.next(20);
const paul = new Player("Paul", explosion);
sam.takeCover();
explosion.next(20);
paul.takeCover();
What options will be true after the above code is run?
For jobseekers: get certified
Earn a free certificate by achieving top 25% on the Angular and RxJS test with public questions.
Take a Certification TestSample silver certificate
Sunshine Caprio
Java and SQL TestDomeCertificate
For companies: premium questions
Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.
Ready to Interview?
Use these and other questions from our library with our
Code Interview Platform.
22 more premium Angular and RxJS questions
Awesome Tracking, Fresh Food, Log Post Data, Clothes, Dictionary Definition, Cards Widget, Cats and Dogs, Movie Details, Structural Directive, Dark Mode, Optional Ingredient, Upgrades, Observing Username, User Form, Count Binding, Decimal Pipe, Single Input, Currency Format, Report Summary, Toggle Border, Delivery Details, Weather Form.
Skills and topics tested
- RxJS
- Bug Fixing
- Pipeable Operator
- RxJS Observable
- RxJS Subject
- Angular
- Components
- Creation Operator
- Directives
- Event Binding
- Event Handling
- One-Way Binding
- Services
- HTTP Routing
- Structural Directive
- Forms
- Two-Way Binding
- Expressions
- Angular Pipes
- Data Binding
For job roles
- Angular Developer
- RxJS Developer
Sample candidate report
Need it fast? AI-crafted tests for your job role
TestDome generates custom tests tailored to the specific skills you need for your job role.
Sign up now to try it out and see how AI can streamline your hiring process!
What others say
Simple, straight-forward technical testing
TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.
Jan Opperman, Grindrod Bank
Product reviews
Used by
Solve all your skill testing needs
150+ Pre-made tests
From web development and database administration to project management and customer support. See all pre-made tests.
130+ skills
From JavaScript and SQL to English and customer support. See all questions to filter by skill.
Multi-skills Test
Mix questions for different skills or even custom questions in one test. See an example.
How TestDome works
Choose a pre-made test
or create a custom test
Invite candidates via
email, URL, or your ATS
Candidates take
a test remotely
Sort candidates and
get individual reports