Answer:
Answer is b. 10
Explanation:
The find() method is used to search the string for a specified value and searches the first occurrence of that value. It returns the position of that specified value. If the value is not found, this method returns -1.
Lets say we have a message variable that contains the string Happy holidays.
message = "Happy holidays"
We use the method find() to find days word from the Happy holidays string in the message variable.
The find() method will find the position of day.
If we look at the string Happy holidays we see that the word day is at the 10th position of the string.
H 1
a 2
p 3
p 4
y 5
h 6
o 7
l 8
i 9
d 10
a 11
y 12
s 13
So it is at 10th position so the statement
message.find("days")
returns 10
Question options:
State Machine
Flowchart
Sequence
Global Exception Handler
Answer:
Sequence
Explanation:
Uipath is an RPA(Robotic process automation) software that is used by IT professionals and business executives in automating routine or iterative tasks in an organization. Uipath process projects incorporate different workflow types which include :sequence, flowchart, state machine and global exception handler. The sequence workflow type is used for simple linear projects that are not very complex and occupies a single activity block.
Answer:
A linear search is one that scans every record/file until it discovers the value being searched for.
Binary search, on the other hand, is also known as <em>Logarithmic search</em>. It is used to locate the position of a value inside an array that has already been sorted.
The linear search will return the lowest value faster than the binary search when small arrays are involved.
This will only be feasible when the array is sorted prior.
Cheers!
B.Teamwork is a soft skill involves the ability to work harmoniously with your
colleagues and improve productivity. It is the collaborative effort of a team to
complete a task or to achieve a common goal in the most effective and efficient
way.