MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which_of_the_following_symbols_are_a_set_of_ERE_(extended_regular_expressions)?$ |
| A. | + |
| B. | – |
| C. | ? |
| D. | + and – |
| Answer» D. + and ‚Äö√Ñ√∂‚àö√ë‚àö¬® | |
| 2. |
Which of the following symbols are used for matching a pattern at specified locations? |
| A. | * |
| B. | ^ |
| C. | $ |
| D. | ^ and $ |
| Answer» B. ^ | |
| 3. |
Which symbol is used for matching a single character? |
| A. | * |
| B. | . |
| C. | & |
| D. | % |
| Answer» E. | |
| 4. |
Which of the following symbol is used for matching the immediately preceding character? |
| A. | * |
| B. | $ |
| C. | [ ]           |
| D. | % |
| Answer» C. [ ]¬¨¬®‚Äö√тƬ¨¬®‚Äö√тƬ¨¬®‚Äö√тƬ¨¬®‚Äö√тƬ¨¬®‚Äö√тƬ¨¬®‚Äö√тƬ¨¬®‚Äö√тƬ¨¬®‚Äö√тƬ¨¬®‚Äö√тƬ¨¬®‚Äö√тĆ | |
| 5. |
Character class is used for matching a group of characters enclosed within a pair of _____ |
| A. | ( ) |
| B. | “ “ |
| C. | [ ]            |
| D. | { } |
| Answer» D. { } | |
| 6. |
Which of the following is not a subset of BRE (basic regular expression) character subset? |
| A. | * |
| B. | .* |
| C. | ^$ |
| D. | ch+ |
| Answer» E. | |