1 points Save Answer QUESTION 1 This is a MULTIPLE ANSWER question, which means
ID: 3750074 • Letter: 1
Question
1 points Save Answer QUESTION 1 This is a MULTIPLE ANSWER question, which means you are able to select one or more answers as being correct. Note that this does not necessarily mean that there are multiple corect answers. In any case, select all the answers you believe are correct. (NB: There are no part marks awarded for multiple answer questions.) One use for regular expressions is to define concisely all the patterns that belong to a particular language formed from sequences of symbols Consider the regular expression: brea +d Which of the following word/s belong to the language defined by this expression? bard bead bad bed O breed O bread bradExplanation / Answer
1)
bread
breed
brad
Explanation:
pattern "br[ea]+d" match only word which start with br and most of the option are invalid as they start with b followed by not r
+ indicates that from 1 to any should be there from ea and ended with d
2)
The title is displayed in the browser tab ; the page heading is in bold ; the list is numbered
Explanation: title always view on tab so last two option invalid and ol tag have default numbered
3)
touch
taugh
teeth
tooth
tough
tenth
tieth
Explanation : similar to first one except * means it can be 0 to any number and should end with h
4)
Explanation: output word are in ' ' so regex should also be in between
all matched word are in lower case so most option are fade away which A-Z
5)
sick
sheep's
sixth sheep
sheikh's
sixth sheikh
Explanation there is no pattern which mathes the space or ' it only matches alphabets
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.