Angular Assessment Welcome to your Angular Questionnaire The questionnaire needs to be completed in 30 minutes. Full Name Email Address English Fluency Assessment > This general assessment has been designed to help us decide what level of fluency you possess in English, which is essential for all communication. I'm from Pune. ____________ is in Maharastra. They It He She Excuse Me. How _________ your last name? K-A-R-A-N Spell you spell do you spell spell you I'd like ________ omelette, please. A __ an two My name's Pete and this is Sylvia. ________ doctors from France. I'm We're She's They're Sorry, ________ Vaibhav. My name's Aman. I isn't I is not I aren't I 'm not I go to work ________ train. With by for in She ________ a dog. not have don't have don't has doesn't have Stephan ________ in our company. Work works is work working ________ they live in London? Are Is Do Does When do you play tennis? ________ Mondays. On In At By What time ________ work? starts he do he starts does he starts does he start ________ two airports in the city. It is There is There are This is ________ at school last week? Do you were Was you Were you You were Brad Pitt is a popular actor but I don't like ________ . him his her them We ________ the film last week. see saw sees were see He ________ tennis with me yesterday. doesn't played didn't played not played didn't play She was born ________ May 6th, 1979. in at on from Where ________ last summer? you went did you went do you went did you go Were you at the shop at 5 p.m. yesterday? No, I ________ . didn't am not wasn't weren't Excuse me, ________ is the T-shirt? It's 699/- what expensive how much how many how price Angular Questionnaire > These questions are to assess your Angular knowledge. What is a controller in MVC? It is a software Code that stores the data It is a software Code that renders the user interface It is a software Code that controls the interactions between the Model and View None of the above Which of the followings are validation directives? ng-required ng-minlength ng-pattern All of the above Which of the following is correct about TypeScript? Angular is based on TypeScript This is a superset of JavaScript TypeScript is maintained by Microsoft All of the above What is the decorator used for configuring your module class? @NgModule @NgApp Both None of above Which angular decorator allows us to define the pipe name that is globally available for use in any template in the across application? pipeName pipeDeco Pipe None of the above RxJS can be used for? Browser Server Side Both None of the above How Observables are Used? The Reactive Forms Module uses reactive programming and Observables for listening to user input The @output() decorator in a component takes an EventEmitter instance. EventEmitter is a subclass of the RxJS Observable Both None of above Which of the following is not a hook application life cycle? ngOnChanges ngViewStart ngOnInit None of above What does AOT stand for? ahead-of-time compilation Angular Object Templates Both None of above What will be the output of below program? function f(input: boolean) { let a = 100; if (input) { let b = a + 1; return b; } return b; } Undefined 101 Compilation error for a Compilation error for b In Angular, you can pass data from parent component to child component using... @Output() @Input() Input Output A directive which modifies DOM hierarchy is called Structural directive Attribute directive Both None of them Select correct form control class name which is set to true via [(ngModel)] whenever value is modified .ng-invalid .ng-pending .ng-pristine .ng-dirty If you provide a custom service in two components’ “providers” section of @Component decorator, how many instances of service shall get created? 1 2 3 4 Custom pipe can modify actual value of variable apart from different presentation in HTML. True False In Angular, you can pass data from child component to parent component using @Output() @Input() Input Output You can create local HTML reference of HTML tag using variable which starts with character @ # * & We need to call below method of RouterModule for providing all routes in AppModule RouterModule.forChild RouterModule.forRoot RouterModule RouterModule.import Async Pipe subscribes to observer and updates expression whenever there is data sent from observer True False Below command is used to run Static Code analysis of Angular application ng build ng profile ng lint ng serve Router service needs to be explicitly provided in angular module to use it in other component via Dependency Injection True False We can chain multiple pipe in a single expression along with “async” pipe True False Below component represent “target/host” DOM element inside Directive’s constructor Element ElementRef Hos Target To build application in production mode, use below command ng build ng serve ng build --prod ng lint Directive can listen to host/target events using below decorator @Listener @HostListener @OnListener @TargetListener Using below wild card we can define page not found route * ** 404 ^ There can be more than one element in angular application True False Below service can be used to extract route parameters inside component Router Route ActivatedRoute CurrentRoute HTTP service’s get/put/post/delete function returns object of type “any” Observable JSON data callback function Observer sends data to multiple clients via below method send() next() emit() publish() HTTP service is called event if observer doesn’t have “subscribe” method True False To use HttpClient component you need to import below module HttpModule HttpClientModule Http None of the above Below pseudo class represent void => * animation state :enter :leave Other In AOT compilation mode, browser gets angular compiler along with website content True False