Start learning 50% faster. Sign in now
Explanation: Regular Expressions (Regex) are a powerful tool for pattern matching and validation tasks, making them ideal for checking email formats. Regex allows the definition of patterns to identify valid email addresses, ensuring that they follow a format such as [email protected] . For example, the pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ validates most standard email formats. Regex is versatile, efficient, and widely supported across programming languages, making it a preferred choice for data validation tasks involving string patterns. Option A: SQL queries are more suited for database operations like filtering and retrieving data but lack the flexibility of Regex for string pattern matching. Option C: Min-Max Normalization is a scaling technique and does not perform validation. Option D: PCA is a dimensionality reduction method and is unrelated to string validation tasks. Option E: Data Sharding involves dividing data into smaller chunks for storage and scalability, irrelevant to data validation.
Change the given sentence into direct/indirect speech-
The teacher said, “Sit down, boys.”
Select the option that expresses the given sentence in indirect speech .
“Everything is going to be alright,” said the doctor.
...Select the most appropriate option expressed in direct speech.
I said to the old man, "Don't sit on that chair, it is broken."
Select the most appropriate direct form of the given sentence.
He regretted the mistake he had made in his calculations.
The traveller said that he had come a long way off.
Select the option that expresses the given sentence in indirect speech.
My uncle said, “ Just my luck! I’ve missed the bus again.”
Choose the option that is the direct form of the sentence.
My neighbour enquired how my father was.
Change the following sentence to Direct Speech.
Mrs. Murthy asked the grief-stricken mother how the stove had burst.
Select the most appropriate indirect form of the given sentence.
“I can give you a lift into town if that will help,” Anjali said to Rahul.