DA0-001 · Question #235
A business analyst reviews the following text: txt = "I have registered for a certification exam and will take it within a couple of months. I need to work hard to pass the exam with flying colors."…
The correct answer is D. String manipulation. The analyst is performing string manipulation by taking a single text string and splitting it into two separate, smaller strings.
Question
A business analyst reviews the following text:
txt = "I have registered for a certification exam and will take it within a couple of months. I need to work hard to pass the exam with flying colors." The analyst then splits the string into two parts:
txt1 = "I have registered for a certification exam and will take it within a couple of months." txt2 = "I need to work hard to pass the exam with flying colors." Which of the following BEST describes the process the business analyst is following?
Options
- AData blending
- BData appending
- CImputation
- DString manipulation
How the community answered
(26 responses)- A8% (2)
- C4% (1)
- D88% (23)
Why each option
The analyst is performing string manipulation by taking a single text string and splitting it into two separate, smaller strings.
Data blending involves combining data from different sources into a single dataset, which is not happening here as the operation is on a single string.
Data appending involves adding new records or rows to an existing dataset, typically at the end, which is distinct from splitting a string.
Imputation is the process of replacing missing data with substituted values, which is unrelated to splitting a text string.
String manipulation is the process of modifying, parsing, or transforming text data, which accurately describes splitting a single string into multiple parts.
Concept tested: String manipulation
Source: https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/strings/#string-manipulation
Topics
Community Discussion
No community discussion yet for this question.