Question
Consider the following Python code: import re text = "apple, banana, cherry. apple pie, banana split." pattern = r"\bapple\b|\bbanana\b" matches = re.findall(pattern, text) print(matches) What will be the output of this code?
More IT Operating System Questions
- Consider the following Java code: import java.util.regex.Matcher; import java.util.regex.Pattern; public class RegexGroup { public static void ...
- The IP address 127.0.0.1 is known as the loopback address. Which address range is reserved for loopback in IPv4 and what is its primary purpose?
- Given tables Employees(emp_id, name, dept_id, salary) and Departments(dept_id, dept_name), which query correctly returns department names having an average...
- Which technique allows a process to execute even when it is not entirely loaded into main memory?
- Which of the following is a self-balancing Binary Search Tree that ensures a maximum height difference of 1 between the left and right subtrees of any node...
- A system has 3 page frames and reference string 1,2,3,1,4,2,5. Under LRU, how many page faults occur?
- In n-gram models, what does 'n' represent?
- Which of the following is the correct way to declare a constant in Java?
- Which of the following is a NoSQL database commonly used in Big Data?
- What is edge computing in IoT?
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)