You are on page 1of 2

31/50 = 62

Main program and prototypes 15/21 marks


Title block comment 1
Rf and R2 constants 2
Correct 3

prototypes
void Dis_ans(float, float, float, float, float) 1
void Sum_out(float, float, float) 1
float cur_cal(float, float) 1
incomplete 1

in main function
R1_start, R1_stop and V2 variables 1
Summing Amplifier printout 1
Correct 2
Prompting and getting V2 2
Correct 2
Validating V2 4
Not done
Prompting and getting R1_start and R1_stop 4
Correct 4
Call sum_out(V2, R1_start, R1_stop) 3
Correct 3

sum_out(float, float, float) 14/19 marks


correct function header 1
V3 = 7.2 1
R3 = 68000 1
Correct 3
summing Amplifier output 2
header output 1
Correct 3

checking while loop condition 2


headings
Correct 2
V1 for loop 2
Correct 2
I1 calculation 1
I2 calculation 1
I3 calculation 1
Itot calculation 1
Not done

Vout calculation 3
Correct 3
Calling Dis_ans(V1, I1, R1, Itot, Vout) 1
Changing while loop condition 1
Correct 1

Dis_ans(float, float, float, float, float) 0/5 marks


Function header 1
Printing function data 4
Incomplete

float cur_calc(float, float) 2/5 marks


function header and variable declarations 2
Calculation of Ix 2
return Ix 1
incomplete 2

You might also like