From the data.csv table create the Dictionary with (Key as String, value string) < Alphanumeric, name >
From above dictionary create a list (of string) < Alphanumeric> and perform below tasks (using UiPath Activities and also Using Invoke Code Activity
remove PWU75VXM9QP, GVX07PGO5HE from list
add LIV17NFL8ZZ to list
Iterate through above Dictionary using for each and display values to logs using Invoke method activity
Question 2
How would you design and implement a number guessing game in UiPath using the State Machine, where the system generates a random number within a defined range (Say 0-9), and the player is given a maximum of five attempts to guess this number correctly?
Steps:
• Take user inputs for guesses
• Generate Random Number
• Evaluate these guesses against the generated number
• Providing feedback if the guess is too high, too low, or correct
• Additionally, Implement the logic to either exit the loop and end the game after five unsuccessful attempts or to exit the loop immediately upon a successful guess within the allotted attempts.
Question1
Question 2 How would you design and implement a number guessing game in UiPath using the State Machine, where the system generates a random number within a defined range (Say 0-9), and the player is given a maximum of five attempts to guess this number correctly? Steps: • Take user inputs for guesses • Generate Random Number • Evaluate these guesses against the generated number • Providing feedback if the guess is too high, too low, or correct • Additionally, Implement the logic to either exit the loop and end the game after five unsuccessful attempts or to exit the loop immediately upon a successful guess within the allotted attempts.