Key points
- Grep searches file contents for patterns such as function names, error messages, or imports.
- Glob matches file paths by name or extension pattern (for example **/*.test.tsx).
- Read and Write operate on full files; Edit makes targeted changes using unique text matching.
- When Edit fails because the anchor is not unique, fall back to Read plus Write.
- Codebase understanding is built incrementally: Grep for entry points, then Read to follow imports.
Skills the exam expects
- Choose Grep to find callers or error sources, and Glob to find files by naming pattern.
- Use Read followed by Write when Edit cannot find a unique anchor.
- Explore from entry points rather than reading every file up front.
- Trace usage through wrapper modules by listing exported names first, then searching for each.
Common misconceptions
- "Glob can search inside files." It matches paths only.
- "Edit will eventually work if retried." The same non-unique text fails the same way.
- "Reading the whole repository first gives the best answers." It exhausts context and buries the relevant parts.
Watch for
Reading every file before answering, and single-name searches that miss functions re-exported under aliases.
Practice task 2.5
56 practice items cover this task in CCA Prep Studio: flashcards, matching, scenario questions and explain-it-back exercises, each tracked toward your mastery score.