LWC Sessions Quiz 3

LWC Sessions Quiz 3

1st Grade

14 Qs

quiz-placeholder

Similar activities

Capacitación calidad 11 julio

Capacitación calidad 11 julio

KG - 10th Grade

10 Qs

UPD_ Online learning sessions Day-4

UPD_ Online learning sessions Day-4

KG - Professional Development

13 Qs

ESS revision quiz 2

ESS revision quiz 2

1st - 12th Grade

10 Qs

Cards 1

Cards 1

KG - Professional Development

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?