

MCQOPTIONS
Saved Bookmarks
This section includes 5 Mcqs, each offering curated multiple-choice questions to sharpen your Automata Theory knowledge and support exam preparation. Choose a topic below to get started.
1. |
What does X? do regular expression operator? |
A. | Matches zero or more capital X s |
B. | Matches no or one occurence of the capital letter X |
C. | Matches one or more capital X s |
D. | All of the mentioned |
Answer» C. Matches one or more capital X s | |
2. |
What does the following segment of code does?
|
A. | manually opens a file called heroes.txt |
B. | manages heroes.txt |
C. | search for man in the file heroes.txt |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
3. |
Which of the following options support the given statement?
|
A. | This flexibility makes Regular expression invaluable |
B. | This flexibility makes the Regular expression unvaluable |
C. | This flexibility makes Regular expression invaluable and unvaluable |
D. | None of the mentioned |
Answer» B. This flexibility makes the Regular expression unvaluable | |
4. |
State true or false:
|
A. | true |
B. | false |
Answer» B. false | |
5. |
For the given syntax of sed, which among the following is not a correct option?
|
A. | / are used as delimiters |
B. | pattern refers to a regular expression |
C. | pattern refers to the string to be matched |
D. | action refers to the command |
Answer» D. action refers to the command | |