LWC Sessions Quiz 3

LWC Sessions Quiz 3

1st Grade

14 Qs

quiz-placeholder

Similar activities

Quiz of the Week

Quiz of the Week

1st - 12th Grade

15 Qs

Steve's Food Menu

Steve's Food Menu

KG - 1st Grade

18 Qs

Competencia de las Casas Semifinales

Competencia de las Casas Semifinales

1st Grade - University

11 Qs

InEvent Quiz 17th January 2023

InEvent Quiz 17th January 2023

1st - 5th Grade

10 Qs

RECRUITMEN & DEV MODUL

RECRUITMEN & DEV MODUL

1st Grade

13 Qs

SMPS

SMPS

1st Grade

12 Qs

Apex Sessions 9

Apex Sessions 9

1st Grade

15 Qs

Salesforce 1-1

Salesforce 1-1

1st Grade

10 Qs

LWC Sessions Quiz 3

LWC Sessions Quiz 3

Assessment

Quiz

Professional Development

1st Grade

Medium

Created by

M Salman

Used 5+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How you write Expression in LWC HTML?

LWC:If="{propertyName}"

LWC:If={propertyName}

LWC:If={!propertyName}

LWC:If="{!propertyName}"

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What are the Files we can have in LWC Folder (multiple answers)

Template

CSS

Meta File

JavaScript

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In LWC, the easiest way to work with salesforce data is to use ____?

Which is built on lightning data service.

Base Lightning Component

Apex

API callouts

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Import Apex Method in LWC: Is the below syntax Correct?

import apexMethodName from '@salesforce/apex/Classname.apexMethodReference';

YES

NO

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To expose an Apex method to a Lightning web component,

the method must be static and either global or public. And method must be annotate with?

@EnableAura

@AuraEnable

@LWCEnabled

@AuraEnabled

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To access object and field API names, use an import statement.

All object and field imports come from

@salesforce/schema

@salesforce/Apex

lightning/schema

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

To trigger a toast from a Lightning web component, in the component’s JavaScript class,

import {?????} from 'lightning/platformShowToastEvent';

getRecords

getRecord

ShowToastEvent

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?