Go Back on CRT-450 Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

CRT-450 Practice Test


Page 21 out of 78 Pages

Topic 2 : Exam Pool B

A reviewer is required to enter a reason in the comments field only when a candidate is recommended to be hired. Which action can a developer take to enforce this requirement?


A.

Create a required Visualforce component.


B.

Create a formula field.


C.

Create a required comments field.


D.

Create a validation rule.





D.
  

Create a validation rule.



A developer has the following code:try {List nameList;Account a;String s = a.Name;nameList.add(s);} catch
(ListException le ) {System.debug(' List Exception ');} catch (NullPointerException npe) {System.debug('
NullPointer Exception ');} catch (Exception e) {System.debug(' Generic Exception ');} What message will be logged?


A.

List Exception


B.

NullPointer Exception


C.

Generic Exception


D.

No message is logged





B.
  

NullPointer Exception



A developer created a lightning component name accountList.cmp that display a list of Accounts. Client-side
logic that is executed when a user hovers over an account in the list should be stored in which bundle member?


A.

AccountListHelper.js


B.

AccountListRenderer.js


C.

AccountList.renderer


D.

AccountList.helper





C.
  

AccountList.renderer



What is a valid way of loading external JavaScript files into a Visualforce page? (Choose 2) 


A.

Using an (apex:includeScript)* tag. \>


B.

Using an (apex:define)* tag.


C.

Using a (link)* tag.


D.

Using a (script)* tag.





A.
  

Using an (apex:includeScript)* tag. \>



D.
  

Using a (script)* tag.



What is an accurate statement about variable scope? (Choose 3)


A.

Parallel blocks can use the same variable name.


B.

A variable can be defined at any point in a block.


C.

Sub-blocks cannot reuse a parent block's variable name.


D.

Sub-blocks can reuse a parent block's variable name if it's value is null.


E.

A static variable can restrict the scope to the current block of its value is null.





A.
  

Parallel blocks can use the same variable name.



B.
  

A variable can be defined at any point in a block.



C.
  

Sub-blocks cannot reuse a parent block's variable name.




Page 21 out of 78 Pages
Previous