AD01 Exam QuestionsBrowse all questions from this exam

AD01 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?

Show Answer
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

4 comments
Sign in to comment
SatyaManoharOption: D
Sep 30, 2020

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
Sep 30, 2020

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

floppyh4xOption: C
Sep 18, 2020

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
Jun 29, 2021

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

franlem2Option: A
May 1, 2021

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
May 1, 2021

I was mistaken. D.

sogoku_ichi_2907Option: D
Jun 5, 2021

Yes, D is the correct answer.