Lightning Basic Question and Answers
Q1. Can we show lightning component in classic?
Yes
No
Q2. Which part of Lightning Components are client-side?
Apex Controller
Lightning Controller
Q3. What are advantages of lightning?
Device ware & Cross Browser Compatibility
Faster development and Performance
Event Driver Architecture
Out of the box component set
Above All
Q4. ……….. are like member variables on a class in Apex.
aura:template
aura:method
aura:attribute
auraStorage:init
Q5. Is lightning controller case sensitive?
Yes
No
Q6. Which is the root-level tag of lightning component ?
aura:body
aura:lightning
aura:component
aura:application
Q7. Which of the following value provider enables you to access the value of a component’s attribute in the component’s markup?
u
a
c
v
Q8. Which interface has to be implmenented to make a component available in Lightning Pages ?
flexipage:availableForAllPageTypes
force:appHostable
None
force:lightningQuickAction
Q9. How to access this aura attribute in client side controller ? (Assume the ‘component’ is parameter to JavaScript controller)
component.get(“v.strName”)
component.get(“strName”)
component.get(“c.strName)
component.get{!v.strName}
Q10. What are the tools included in Lightning Component Framework
All
Lightning Process Builder
Lightning Connect
Lightning Schema Builder
Lightning App Builder
Q11. what is the default namespace of your org for reference components ?
c
d
l
v
Q12. Where we can display lightning components?
Salesforce1 Mobile app
Lightning Experience
All
Standalone Lightning app
Template-based community