Which string would match the pattern 1#3?

Study for the Computer Proficiency Test. Explore flashcards and multiple-choice questions, each with hints and explanations. Prepare yourself for success!

Multiple Choice

Which string would match the pattern 1#3?

Explanation:
Pattern with a wildcard uses # to stand for any single digit. So 1#3 means a three-digit string where the first digit is 1, the last digit is 3, and the middle digit can be any digit. Check each option: 915 doesn’t start with 1. 102 ends with 2, not 3. 203 starts with 2, not 1. 103 starts with 1 and ends with 3, with the middle digit allowed to be anything, which fits perfectly. So the matching string is 103.

Pattern with a wildcard uses # to stand for any single digit. So 1#3 means a three-digit string where the first digit is 1, the last digit is 3, and the middle digit can be any digit. Check each option: 915 doesn’t start with 1. 102 ends with 2, not 3. 203 starts with 2, not 1. 103 starts with 1 and ends with 3, with the middle digit allowed to be anything, which fits perfectly. So the matching string is 103.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy