Question: Note: Each question has at least one correct answer. Choose the match for each given basic regular expression in question 1) to 3): 1) 'Java|C'
Note: Each question has at least one correct answer. Choose the match for each given basic regular expression in question 1) to 3): 1) 'Java|C' (a) Java (b) C (c) java c (d) JAVA (e) Java C 2) ' [0], (a) twitter (b) amazon (c) google (d) great (e) None of above 3) ' class {} ' (a) class class class (b) class { int a=0} (c) class a (d) class int a=0; (e) None of above 4) 'a?[bc]' (a) abc (b) a? [bc] (c) a? (d) a[bc (e)None of above Choose match for each given extended regular expression in question 4) to 6): 5) '[a-z\s|'you[?!.]' (hint: 's matches any space character) (a) are you OK ? (b)nice to meet you! (c) Hey...you! (d) eh ii love you. (e) None of above 6) ' [ aeiou ]{6}, (a) peach (b) lychee (c) papaya (d) loquat (e) None of above 7) '(1+?[1-9][02468]) 0 , (a) +2 (b) 20 (c) 2 (d) +0 (e) None of above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
