You are on page 1of 4
Angular etal points 1515 @ Email= shodhyadav?@amalleom Name* ‘SHODH YADAV Y_ 1) Choose the correct syntax for writing AngularJS expression. * " O esoressions © expressions) v O expressions) O ‘exoressions) Y 2) Which ofthe following is an advantage of AngularJS?* wn O Angularss code is unit testable, © Angularss provides reusable components. O Angularss uses dependency injection and makes use of separation of concerns. © Alloftie above v Y 3) What will be the output forthe following code? * m
“ide O Theourputist O heourputis 15 © heouputis19 v O Treouputis2 orice gna comforts gOS BOs CuvOnensASSUDIPOSLUSINE pence vacate ACCgDXynCheNNG.JHOLMPASMMRALFTEDTIRGKA. K 4) Which of the following syntax is used to create a module in AngularJS? *1/1 ‘var myModule= angular module: ‘yar myModule= new Module ‘module app’ Ds v o@O0°0 None ofthe above < '5) Which of the following directives is used to start an angularJS, an application? no-repeat init nape v Oo@O0°0 no-model S 6) Which ofthe following can be used as a prefix for Directive? * " data ne Allof the mentioned v o@o0° None ofthe mentioned K 7) Which of the following statement is correct about data bindingin —*1/1 AngularJS? ‘Automatic synchronization of data between model and view components ‘Automatic synchronization of data between model and contraller components “Technique to save htm! data in the database ooo @ ‘Technique to bind database datato html control K £8) Which of the following components can be injected as a dependency *1/1 In AngularsS? Value Factory Constant @ooo Application Module v a orice gna como hgO. 87TH BOprzsteCuvOneneASSUDIPOSUSINE pence vacate AECagDAyRNC HANG. JHOLMPUSMMROLHTEDTGKA.. 2 K 9) Among the following which is not builtin @pipe in angular? * n CurrencyPipe Datanipe v PercentPipe Oo0O@°0 None ofthe above S 10) What isthe functionality of the @input decorator * " share data from the child component to the parent use event binging @ooo share data from the parent component tothe child v K 111) Which of the following fiter is used to convert input to all uppercase? * 1/1 upper uppercase v 1oUpper omen Ome) None ofthe above Y_12) The purpose of the providers array of an Angular module isto define *1/1 the set of © Wtvaries used by the aplication including Angular system and thirépary libraries, © objects available for dependency njcton v © components that the application provides to other parts ofthe application. © components, custom directives, and custom pipes. 13) Where would the following code likely be found in an Angular on application? couterLink="/ersis-center” © nthe component metadata O inaservice © inthe template v © nthe component ass ‘orice goa como hg OST BOs Cuv One ASSUDIPOGUSINE pence vacate ACCagDXynCheNNG. THO MPASMMRAOL HATED. ‘Y_ 14)You apply a style selectorin a component's CSS file. Which matching *1/1 elements willbe affected? © Allmatching elements inthe application O Allmatching elements inthe component andits child components O Allmatching elements in the module @ Almatehing elements inthe component only v 15) How would you write code to modify the response from an http.get ”* 1/1 © Using the moctty operator chained tothe hp get © Using the map function inside ofthe pipe operator chained othehitpgst © Using the transform operator chained tothe itp. get © subserbing tothe hte get and setting the response tos loca variable ‘Wis corer seta rated nar endorsed ty Google Tams of Sauice-Priae Pai Google Forms orice qa comforts gOS TA BOs Cuv One ASSUDIPOSUSINE pence var ACCagDXyynCheNNG.JHOIMPARSMMRMOLHTEDTIKA..

You might also like