State Machines Flashcards

1
Q

Layout that represent multiple branching logical operators, that enable you to create complex business processes and connect activities in multiple ways.

Choose one of the options below

Sequence

Flowchart

State Machine

Workflow

A

Flowchart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The layout in UiPath Studio that enables a more compact representation of logic and is suitable for standard high-level process diagrams of transactional business process templates is:

Choose all the options that apply

Sequence

State Machine

Flowchart

Workflow

A

State Machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The ___________ section lets you add activities that will be performed at entry and exit.

Entry

Exit

Transition

Final

A

Transition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the primary function of the Entry and Exit sections in a process or system?

Choose one of the options below

They display all the transitions linked to the selected state.

They allow you to add entry and exit triggers for the selected state.

They provide a clear view of how states are connected to each other.

They define the sequence of activities in a process.

A

They define the sequence of activities in a process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Review Question : To improve readability, variable and argument names must align to a naming convention. If a variable is written as FirstName, then what is the naming convention followed?

Choose all of the options that apply

Snake case

Lower camel case

Pascal case

Kebab case

A

Pascal case

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of these statements is true?

Choose one of the options below.

1
A state machine workflow must have one and only one initial state, and at least one final state.
The final state must have at least one transition.

2
A state machine workflow must have one and only one initial state, the Final State is not required.
Each state must have at least one transition.

3
A state machine workflow can have multiple initial states depending on the set conditions in the transitions, and at least one final state.
Each state that is not a final state must have at least one transition.

4
A state machine workflow must have one and only one initial state, and at least one final state.
Each state that is not a final state must have at least one transition

A

4
A state machine workflow must have one and only one initial state, and at least one final state.
Each state that is not a final state must have at least one transition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the process for moving from one state to another in a State Machine

Choose one of the options below.

Using the “GoToState” activity.

Using the “Transition” activity.

Using the “Continue” activity.

Using the “NextState” activity.

A

Using the “Transition” activity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the main difference between a Flowchart layout and a State Machine layout?

Choose all of the options that apply

1
The Flowchart layout uses a network of linked Nodes to create arbitrary loops or to divert the flow of execution to another State in the workflow at any given time.

The State Machine workflow uses a finite number of States in its execution.

2
The Flowchart layout uses a network of linked States to create arbitrary loops or to divert the flow of execution to anywhere else in the workflow at any given time.

The State Machine workflow can go into a state when it is triggered by an activity.

3
The Flowchart layout is used for linear processes as they enable the transition from one activity to another seamlessly, and act as a single block activity.

State Machines use states and transitions to model workflows in an event-driven manner.

4
Flowcharts present multiple branching logical operators, that enable you to create complex business processes and connect activities in multiple ways.

State Machines use states and transitions to model workflows in an event-driven manner.

A

4
Flowcharts present multiple branching logical operators, that enable you to create complex business processes and connect activities in multiple ways.

State Machines use states and transitions to model workflows in an event-driven manner.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a Self-Transition?

Choose one of the options below.

A transition that has no trigger set and is dependent just on the set condition.

A state that doesn’t need a transition to move into the next state.

A transition that moves from a State to itself.

A transition that moves into the next State based on a trigger.

A

A transition that moves from a State to itself.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of these statements are true regarding simple and final states?

Choose all of the options that apply

The Final State is a State Machine specific activity that ends a State Machine cycle.

While in a process there can be only one Initial State, multiple Final States can be added.

The State activity contains three sections, Entry, Exit, and Transition(s), while the Final State contains only one section, Entry.

The Final State is a State Machine specific activity that ends a State Machine cycle, while the State activity can be used in other workflows as well.

A

The Final State is a State Machine specific activity that ends a State Machine cycle.

While in a process there can be only one Initial State, multiple Final States can be added.

The State activity contains three sections, Entry, Exit, and Transition(s), while the Final State contains only one section, Entry.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a Trigger?

Choose one of the options below

An activity that is executed when performing a certain transition.

An activity executed when entering the state.

An activity that represents the completion of the State Machine.

An activity that causes a transition to occur.

A

An activity that causes a transition to occur.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Review Question : Which activity can be used to process every item in a collection individually?

Choose all of the options that apply

Do While

For Each

If

While

A

For Each

How well did you know this?
1
Not at all
2
3
4
5
Perfectly