Question: Question 2 : Software Metrics [ 2 6 marks ] The C source code in Figure 1 converts a given octal code of a number

Question 2: Software Metrics
[26 marks]
The C source code in Figure 1 converts a given octal code of a number to its corresponding binary code.Figure 1: Octal to Binary Conversion(a) What is the LOC of the program in figure 1.[2](b) Give the following metrics of the program: the number of distinct operators, the number of distinct operands. Show your working[8](c) Draw the flow graph, G, of the program in figure 1. What will be its cyclomatic complexity, V(G)?[16] INCLUDE A DIAGRAM OF THE FLOW GRAPH
Question 2 : Software Metrics [ 2 6 marks ] The C

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!