Hmk5GradCrit

Hmk5GradCrit - consistent. Test Cases 1) 4 bits, start = 6,...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Grading Criteria for Program #5 (100 pts total) Reads in the input from the user: 5 points Properly converts integers into buffer and rule contents: 10 points Works for values in between 2 31 and 2 32 – 1: 10 points Uses the basic right idea to calculate output bit: 10 points Xors proper bits to calculate output bit: 10 points Properly shifts the buffers contents after each step – 10 points Writes output to file – 5 pts Code is reasonably commented and uses good style – 10 pts Do six test cases (4 bits, 8 bits, 12 bits, 16 bits, 24 bits, 32 bits) – 5 points each case Give partial credit in these areas as you see fit. Just make a decision and be
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: consistent. Test Cases 1) 4 bits, start = 6, rule = 13, cycles = 15 (repeats every 7) file: a4.out 2) 8 bits, start = 178, rule = 109, cycles = 10 (repeats every 18) file: b8.out 3) 12 bits, start = 4033, rule = 2059, cycles = 100 (repeats every 255) file: c12.out 4) 16 bits, start = 1009, rule = 16383, cycles = 50 (repeates every 63457) file: d16.out 5) 24 bits, start = 16000000, rule = 8313212, cycles = 20, file: e24.out 6) 32 bits, start = 2100671234, rule = 135792468, cycles = 200, file: f32.out...
View Full Document

Ask a homework question - tutors are online