The document provides instructions to draw a flowchart and graph for an algorithm, label the nodes and edges, and then calculates the cyclomatic complexity of the algorithm. It finds there are 22 edges and 19 nodes with 1 exit point in the graph. Using the formula, the cyclomatic complexity is calculated to be 5, and the volume logic index is calculated to be 6.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
700 views
CS 2401 Programming Assignment Unit 6 Final
The document provides instructions to draw a flowchart and graph for an algorithm, label the nodes and edges, and then calculates the cyclomatic complexity of the algorithm. It finds there are 22 edges and 19 nodes with 1 exit point in the graph. Using the formula, the cyclomatic complexity is calculated to be 5, and the volume logic index is calculated to be 6.