Anne Arundel Community Create a ACSII Drawing Tool Exercise

Coding Assignment 4 Rubric – 2212

Coding Assignment 4 Rubric – 2212

Criteria Ratings Pts

This criterion is linked to a Learning OutcomeFormattingProgram is properly formatted – both alignment and formatting

The C program file is named Code4_xxxxxxxxxx.c where xxxxxxxxxx is the student’s 10 digit student. Student’s name and id are at the top of the makefile and Code4_xxxxxxxxxx.c.

10 pts

Pass

0 pts

Fail

10 pts

This criterion is linked to a Learning OutcomeCoding Requirement 1Code4_xxxxxxxxxx.c contains an include for DrawTool.h.

No code from DrawTool should be duplicated in Code4_xxxxxxxxxx.c

If any code from DrawTool was copied into Code4_xxxxxxxxxx.c, then mark all rubric criteria as Fail to assign a grade of 0 to the assignment.

5 pts

Pass

0 pts

Fail

5 pts

This criterion is linked to a Learning OutcomeCoding Requirement 2No global variables. 2D array and the user chosen size of it must be passed between functions.

All references to size of array must use define from DrawTool.h

Nowhere in the program should break (except for switch statements) or exit or goto be used. While loop conditions must be used that allow the while loop to quit when a condition is met – not stop because break or exit or return or goto was used inside the while loop. Return statements should only be used in functions to return the value required by the function definition. Return may not be used to prematurely end a function just for the reason of stopping a looping process.

15 pts

Pass

0 pts

Fail

15 pts

This criterion is linked to a Learning OutcomeCoding Requirement 3Code4_xxxxxxxxxx.c should call DrawTool functions InitializeMap(), PrintInstructions() and PrintMap(). The 2D array and a variable containing the map size should be passed by reference to InitializeMap() and nothing is returned. PrintInstructions() does not pass any values and does not capture a return value. PrintMap() is passed the 2D array and the map size.

10 pts

Pass

0 pts

Fail

10 pts

This criterion is linked to a Learning OutcomeCoding Requirement 4A while loop must be used to control the flow of the program. The program should continue to prompt for draw commands until Q is entered. The while loop should consistent of a condition that fails when Q is entered for the draw command.

10 pts

Full Marks

0 pts

No Marks

10 pts

This criterion is linked to a Learning OutcomeExecution 1GTA – Program should continue to prompt for, execute and display draw commands until the user quits. Input at least 3 manual commands – one for vertical and one for horizontal and one for a point.

10 pts

Full Marks

0 pts

No Marks

10 pts

This criterion is linked to a Learning OutcomeExecution 2Program should properly execute draw commands as given at a prompt or as input to it via a file. GTA – run student’s program with student provided input file of initials. Verify that program produces the correct output.

10 pts

Full Marks

0 pts

No Marks

10 pts

This criterion is linked to a Learning OutcomeExecution 3GTA Instruction – change the max size define in DrawTool.h from 20 to 13 and run the program – it should function normally and within the range of 13. Enter at least 3 manual commands – one for vertical and one for horizontal and one for a point.

10 pts

Full Marks

0 pts

No Marks

10 pts

This criterion is linked to a Learning OutcomeExecution 4GTA instruction – run code with file ValidInput.txt to test program’s abilities using the redirect < to test valid commands.

10 pts

Pass

0 pts

Fail

10 pts

This criterion is linked to a Learning OutcomeExecution 5GTA instruction – Program should properly handle both invalid commands and valid commands that would write out of bounds. Run student’s code with file InvalidInput.txt using the redirect < to test handling of invalid commands and out of bounds commands.

10 pts

Pass

0 pts

Fail

10 pts

This criterion is linked to a Learning OutcomeGTA InstructionsCompile the student’s Code4_xxxxxxxxxx.c. Perform all rubric criterion and pass/fail each one as needed. If code compiles with warnings/errors, fail all rubric points which will assign a grade of 0. Do not check any of the rubric criterion. Paste a copy of the compiler error/warning into the grader’s notes for this criterion.

0 pts

Fail

0 pts

Pass

0 pts

Total Points: 100

PreviousNext

Solution:

15% off for this assignment.

Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!

Why US?

100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

Timely Delivery

No missed deadlines – 97% of assignments are completed in time.

Original Writing

We complete all papers from scratch. You can get a plagiarism report.

Money Back

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.

× How can I help you?