Exam AD01 All QuestionsBrowse all questions from this exam
Question 56

Consider the following process flow:

Decision "A" properties are:

Decision "B" properties are:

Decision "C" properties are:

What will happen when the process runs?

    Correct Answer: D

    Given the properties of Decision B, which contains an incorrect syntax for the Left function (`Left("USA")`). The Left function requires two parameters: the text string and the length of characters to extract. In this case, only one parameter is provided for "USA", which will generate an exception.

Discussion
SatyaManoharOption: D

D is correct, it will throw exception. In B decision stage Left("USA") was mentioned without any parameter. So it will throw an exception.

SatyaManohar

And also AND operator doesn't work like that. It should be Left("UK",1) = "U" AND Left("USA",1)= "U"

floppyh4xOption: C

C is correct, its counting how many characters United States has and how many United Kingdom has. United States are 13 characters and United Kingdom 14. United States is smaller than United Kingdom, it will pass the evaluation. Answer is C.

Ascar

Answer D is correct - there is incorrect syntax in Left() function, which requires two params Left(text as string, length as number), but in example from question only text param is provided (length is omitted), which will cause Internal Exception

sogoku_ichi_2907Option: D

Yes, D is the correct answer.

franlem2Option: A

Answer is A. Mid("United Kingdom", 8, 3) = "ing" is false as result is "kin". Try it copying the logic into Blue Prism you will see.

franlem2

I was mistaken. D.