HomeExamsUITETAUIMDEVIC2523
TETAUIMDEVIC2523

Infosys Certified Angular Web Developer

Practice with real exam-pattern questions for Infosys Certified Angular Web Developer. Each question includes a detailed explanation to help you understand the concept, not just memorise the answer. Try 10 questions free — no login required.

BeginnerUI60 min
Free questions

10 Infosys Certified Angular Web Developer practice questions with answers

Real Lex exam-pattern multiple-choice questions for the Infosys Certified Angular Web Developer certification. Each question includes the correct answer. The full question bank is available to Premium members.

  1. Question 1

    A developer has been working on the landing page section of the application. As per the requirement, the title should be displayed dynamically based on the parameters. The code is written below for the given requirement. Select the correct output after analyzing the code. Assume that all necessary imports are made.

    @Component({
    selector: 'app-root',
    template:`
    <h1>{{getTitle('0')}}</h1>
    `,
    styleUrls: ['./app.component.css']
    })
    export class AppComponent {
    title = 'my-app';

    getTitle(val){
    if(val){
    return "New Heading"
    }
    return "Old Heading"
    }
    }

    • New Heading

      Correct
    • B

      Old Heading

    • C

      TypeError: Cannot find getTitle

    • D

      Compilation Error: Unexpected Token

  2. Question 2

    An Angular application has below contents:

    LoginComponent, RegisterComponent, ProductComponent, AppComponent, UserService, AppService, ProductService, UserModule, ProductModule, AppModule

    Which of the below is the best way to organize and launch the application’s contents keeping modularity in mind?

    • UserModule to contain LoginComponent, RegisterComponent, UserService

      ProductModule to contain ProductComponent, ProductService

      AppModule to contain AppComponent, AppService

      Correct
    • B

      AppModule to contain LoginComponent, RegisterComponent, ProductComponent, AppComponent, UserService, AppService, ProductService

    • C

      UserModule to contain LoginComponent, RegisterComponent, UserService

      ProductModule to contain ProductComponent, ProductService

      AppModule to contain AppComponent, AppService, UserModule, ProductModule

    • D

      UserModule to contain LoginComponent, RegisterComponent

      ProductModule to contain ProductComponent

      AppModule to contain AppComponent, AppService, UserService, ProductService, UserModule, ProductModule

  3. Question 3

    Which of the below code-snippet will help you to load a component using <my-component></my-component>?

    • @Component({
      selector: 'app-my-component',
      templateUrl: './my.component.html',
      styleUrls: ['./my.component.css']
      })

      Correct
    • B

      @Component({
      name: 'my-component',
      templateUrl: './my.component.html',
      styleUrls: ['./my.component.css']
      })

    • C

      @Component({
      selector: '<my-component></my-component>',
      templateUrl: './my.component.html',
      styleUrls: ['./my.component.css']
      })

    • D

      @Component({
      selector: 'my-component',
      templateUrl: './my.component.html',
      styleUrls: ['./my.component.css']
      })

  4. Question 4

    David has created two component AppComponent and HelloComponent and rendered the components in index.html as shown below:


    <body>
    <app-root></app-root>
    <app-hello></app-hello>
    </body>

    The app module contains the below code:


    @NgModule({
    declarations: [
    AppComponent,
    HelloComponent
    ],
    imports: [
    BrowserModule,
    AppRoutingModule
    ],
    providers: [],
    bootstrap: [AppComponent]
    })

    When the application is rendered on the browser only App Component is displayed. What is the reason for Hello Component not rendered?

    • Two components cannot be provided in index.html file

      Correct
    • B

      Hello component is not added within declarations section

    • C

      Hello component is not added to the bootstrap section

    • D

      Hello component is not added in imports section

  5. Question 5

    James wants to disable the button based on the value of a Boolean variable. Which of the following should he use to achieve the requirement?

    • Property binding

      Correct
    • B

      Attribute binding

    • C

      Style binding

    • D

      Class binding

  6. Question 6

    Consider the below code given in respective files of app component of an angular application.

    /* app.component.css */
    .destColor { color: orangered; }
    .dest-success { color: greenyellow; }
    .destStyle { color: lemonchiffon; }

    <!-- app.component.html -->

    <span [class.destColor]="destStyle.success">Miami Beach</span>

    /* app.component.ts */

    export class AppComponent {
    destStyle = {
    success: "dest-success"
    }
    }

    What will be the color of text "Miami Beach" when the app loads in browser ?

    • Greenyellow

      Correct
    • B

      OrangeRed

    • C

      Default color (black)

    • D

      lemonchiffon

  7. Question 7

    A developer has written the code to display the details of the book after submitting the form as shown below:

    book-store.compoent.html

    1. <h1> Online Book Store </h1>

    2. <h2> Book Name: {{ bookName }}</h2>

    3.<h2> Book ID: {{ bookId }}</h2>

    4. ----- Line 4-----

    book.component.ts

    class BookComponent{

    bookName:string;

    bookId:number;

    function displayName()

    {

    //code goes here

    }

    }

    • <button on-click="displayName()">Show Book</button>

      Correct
    • B

      <button (click)=" displayName()">Show Book </button>

    • C

      <button onclick="displayName()">Show Book </button>

    • D

      <button onclick="displayName"> Show Book </button>

  8. Question 8

    Mr.Tom the Angular developer was implementing Registration page requirement with basic validations and understood that to execute his application successfully he need to specify some dependent modules in app.module.ts. Can you select the attribute which helps to achieve this requirement?

    • imports

      Correct
    • B

      declarations

    • C

      bootstrap

    • D

      providers

  9. Question 9

    Which of the below Angular syntax will clone and inject pieces of HTML code in a template or removes it from the DOM when the given condition evaluates to false?

    • *ngIf="conditional" Correct
    • B [hidden]="conditional"
    • C ngIf*="conditional"
    • D None of the given options are correct
  10. Question 10

    Consider the following code written by a developer:

    app.component.html

    <div *ngFor="let crs of courses">

    <div *ngIf="showCourse"> {{crs}}</div>

    </div>

    app.component.ts

    export class AppComponent {

    showCourse=true;

    courses=['Angular','React','Vue'];

    }

    • Angular,React,Vue

      Correct
    • B

      Error:Can’t have multiple binding on nested elements

    • C

      Error:Can’t use *ngIf before *ngFor

    • D

      Error:Use double quotes to define the array elements

Pricing

Pay once. Clear every cert this year.

One subscription, full Telegram channel access, every PDF posted during your membership.

Monthly
50% OFF
₹1,300₹2,600
Per month · cancel anytime
  • Full access to all 1,357+ certifications
  • Monthly updated question banks
  • Telegram private channel access
  • Cancel anytime
Get Monthly
POPULAR
Quarterly
44% OFF
₹1,800₹3,200
That's ₹600/mo · billed for 3 months
  • Everything in Monthly
  • Save ₹2,100 vs monthly billing
  • Priority answer key requests
  • Best for increasing DQ score fast
Get Quarterly
BEST VALUE
Lifetime
52% OFF
₹2,400₹5,000
One-time · lifetime access
  • Everything in Quarterly
  • Lifetime channel access — no renewals
  • All future certifications included
  • Priority response from admin team
Get Lifetime
FAQ

Common questions, straight answers.

A monthly-updated Telegram channel where we post real exam-pattern question banks and detailed answer keys for 1,357+ Infosys Lex certifications. You join once, you get every PDF posted during your membership.

Right after payment on our Graphy page, you'll receive a private invite link to the Telegram channel. Access is instant — usually under 30 seconds.

We compile question banks from the actual Lex test pattern, sourced and verified by 180K+ community members who've recently cleared these exams. Match rate is consistently 85–95%.

Every single month. When Infosys rolls out new versions of certifications, we post updated dumps within 7–10 days. You'll see channel activity weekly.

Clearing certifications is one of the highest-weighted DQ factors. Members typically clear 3–5 certifications in their first 3 months, which moves DQ scores up by a full band.

i
InfyLexDumps

Independent exam preparation platform for Infosys Lex certifications. Real exam-pattern question banks, monthly updates, 180K+ community members.

Join Premium Telegram
Contact
  • @prepflixadmin
  • admin@prepflix.net
This platform is an independent educational resource and is not affiliated with or endorsed by Infosys Ltd. All certification names referenced are property of their respective owners.
© 2026 InfyLexDumps
Join Premium Telegram