Choose easy, medium or hard questions from our skill libraries to assess candidates of different experience levels.
Add multiple skills in a single test to create an effective assessment. Assess multiple skills together.
Add, edit or bulk upload your own coding questions, MCQ, whiteboarding questions & more...
Get a tailored assessment created with the help of our subject matter experts to ensure effective screening.
Choose from our 100,000+ question library or add your own questions to make powerful custom tests
Q 1.
You have been writing a program in TypeScript and decided to download a set of classes from a code repository on the internet. You notice that some of the names of the classes are identical to names you used for your classes.
If you don't use modules to organize your code, which of the following classes will be used when you try to instantiate a class that has the same name as another class in the global scope?
Q 2.
Question: Suppose you have a span HTML element within a TypeScript template and you would like to render the number 2 within this element.
Which of the following template expressions would render the number 2?
Note: There can be multiple correct answers to this question.
Q 3.
How do you access an Angular factory object without using DI that Angular provides?
For example, you want to have a separate script that adds some server properties to a factory object outside Angular (in a .cshtml file). You don't want to assign the factory object to a separate variable as that would create a global variable.