Uipath : Data Manipulation with Strings in Studio

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Consider the string variable Letters = "abcdefg". Which out of the four values would the expression Letters.Substring(1,2) return? -"bcd" -"bc" -"abc" -"ab"

-"bc"

Consider the list of strings ListOfContinents = {"Africa", "Antarctica", "Asia", "Australia", "Europe", "North America", "South America"}. What value will the expression ListOfContinents(2) return? -Australia -None, objects are not identified by their index in lists -Asia -Antarctica

-Asia

Which of the three collection data types is the best to store several cake recipes (names and ingredients)? -Set -Dictionary -Array -List

-Dictionary

Which out of the three activities can be used to process every item in a collection individually? -For Each -Do While -While

-For Each

What will the following expression return? String.Format("{1} is {0}", "home", "John", "far away", 0, 1) -"John is home" -"John is far away" -"Home is far away" -"1 is 0"

-"John is home"

Choose four typical uses of RegEx: (Multiple choice) -Data scraping -Interacting with UI elements -String manipulation -String parsing -Debugging -Input validation

-Data scraping -String manipulation -String parsing -Input validation

Pair the following methods that use the RegEx builder with the correct explanations. (Match the components)

-Matches : Searches an input string for all occurrences and returns all the successful matches. -IsMatch : Indicates if the specified regular expression finds a match in the specified input string. -Replace : Replaces strings that match a Regex pattern with a specified replacement string.

Which out of the four options is the correct way to concatenate a string variable (Username) with a string (" is online")? -"Username" + " is online" -Username + " is online" -Username + is online

-Username + " is online"


संबंधित स्टडी सेट्स

Chapter 31: Drug Therapy for Nasal Congestion and Cough

View Set

Math Definitions, Axioms, and Properties

View Set

Congress Powers and the Commerce Clause and the Dormant Commerce Clause

View Set

MGMT 309: Managing Employee Motivation and Performance

View Set

Chapter 7 - Group Life Insurance

View Set

A & P CH 6 (12th) —— The Muscular System

View Set

Thyroid, SAIDH, Diabetes, Graves', Cushing's, Addison's (1 of 2) NCLEX

View Set

Hawai'i: Center of the Pacific Exam 1

View Set