Railways PYQCBT 1 2026Information TechnologySoftware & Office Applications

RRB NTPC · Question 89

Which of the following wildcards is used for finding the files matching a pattern?

  1. /.[file extension]

  2. -.[file extension]

  3. +.[file extension]

  4. *.[file extension]

Show answer & explanationShow explanation

Answer: (D) *.[file extension]

Explanation

• Wildcard pattern used in operating systems to find all files of a specific extension. • *.[file extension] is used for finding files matching a pattern. Related Facts: • In operating systems (Windows, Linux, macOS), the asterisk (*) wildcard matches zero or more characters in a filename. • Therefore, *.[file extension] (e.g., *.txt or *.pdf) matches all files having that specific file extension. • The question mark (?) wildcard is used to match any single character. Correct Answer: (d) *.[file extension]

Diagram explaining the answer