📖 What is Control Flow Graph?
A visual representation of all paths that might be traversed through a program during its execution. Nodes represent statements or blocks of statements, and edges represent the control flow.
"For the exam, be able to calculate statement and branch coverage by tracing paths through a provided control flow graph."
📚 Certification: Certified Tester Foundation Level (CTFL-v4.0)
🔑 What are the Key Concepts of Control Flow Graph?
- ▸ Visual representation of paths
- ▸ Nodes represent statements
- ▸ Edges represent control flow
- ▸ Used to calculate coverage
🎯 How does Control Flow Graph appear on the CTFL-v4.0 Exam?
Trace a path through a graph to find coverage.
Calculate minimum paths for 100% statement coverage.
Identify the number of decision nodes.
❓ Frequently Asked Questions
What do nodes represent?
Executable statements or blocks of code.
What do edges represent?
The transfer of control between nodes (branches).