Programming Homework Help

AACC Parameters Match Prototypes and Return Values C Programming Exercise

 

hi guys I got few files it won’t let me post  Coding Assignment 7 – 2212

Coding Assignment 7 – 2212

CriteriaRatingsPts

This criterion is linked to a Learning OutcomeFormattingProgram is properly formatted – both alignment and formatting. Student’s name and id are at the top of every file and file containing C code is named Code7_xxxxxxxxxx.c where xxxxxxxxxx is the student’s 10 digit student id.

10 pts

Pass

0 pts

Fail

10 pts

This criterion is linked to a Learning OutcomeListLib.cOnly contains the code for a function to add nodes to a linked list and a function to search a linked list. Parameters and return values must match prototypes in ListLib.h.

5 pts

Pass

0 pts

Fail

5 pts

This criterion is linked to a Learning OutcomeFileLib.cOnly contains the code for a function to open a file and a function to read the file into the linked list. Parameters and return values must match prototypes in FileLib.h.

5 pts

Pass

0 pts

Fail

5 pts

This criterion is linked to a Learning OutcomeListLib.c-AddDrawCommandToListThis function should be passed a letter and a draw command and the address of the linked list head. It should add a new node to the passed in linked list head. It should malloc the amount of memory needed to store each draw command and store that pointer in the node.

5 pts

Pass

0 pts

Fail

5 pts

This criterion is linked to a Learning OutcomeListLib.c-FindLetterThis function should find the linked list node that matches the passed in letter. The draw command should copied into the empty array that was passed in. The address of the node where the search stopped should be passed back so that the next search starts where the current one left off This function should NOT process the draw command or create a list of them for a letter – every draw command should be processed as it is found – doing otherwise makes assumptions about how many draw command there are per letter.

5 pts

Pass

0 pts

Fail

5 pts

This criterion is linked to a Learning OutcomeFileLib.c-OpenFileFileLib.c should contain the OpenFile function from the previous assignment. It should pass in argc and argv and should return the file handle of the file that was opened. If a file name used on the command line, then that file should be opened. If a file name was not passed on the command line, then OpenFIle() should prompt for the file name.

5 pts

Pass

0 pts

Fail

5 pts

This criterion is linked to a Learning OutcomeFileLib.c-ReadFileIntoLinkedListThe file handle and address of the linked list head should be passed into ReadFileIntoLinkedList(). Nothing should be returned. Function should use fgets() to read the file and should strtok each file line to get the Letter and the DrawCommand. These values and the linked list head should be passed to AddDrawCommandToList().

5 pts

Pass

0 pts

Fail

5 pts

This criterion is linked to a Learning OutcomeCode7.c-main()Should call OpenFIle(), ReadFileIntoLinkedList(), and InitializeMap(). Prompt the user for 1-3 letters (user cannot enter fewer than 1 letters or more than 3 letters). Uppercase user’s entries. Traverse the linked list and find and execute all draw command for each input letter. Call PrintMap() at the end to display the results. The head of the linked list and the 2D array must be declared in main() and should be passed to other functions as needed. Assign a grade of 0 if either of these variables are declared outside of main().

5 pts

Pass

0 pts

Fail

5 pts

This criterion is linked to a Learning OutcomeTest 1GTA – run the program with and without the file name on the command line. If the file name is provided on the command line, then the program should NOT prompt for a filename and should open the file from the command line. If a file name is not provided on the command line, then the program should prompt for it and open the provided file.

15 pts

Pass

0 pts

Fail

15 pts

This criterion is linked to a Learning OutcomeTest 2GTA – enter lowercase letters to ensure input was uppercased and enter more than 3 letters to verify that user is being reprompted for invalid input.

15 pts

Pass

0 pts

Fail

15 pts

This criterion is linked to a Learning OutcomeTest 3GTA – using the instructor provided input file, enter test letters and validate that output is correct. Letters should be displayed correctly and in the correct positions.

25 pts

Pass

0 pts

Fail

25 pts

This criterion is linked to a Learning OutcomeGTA InstructionsCompile the student’s Code7_xxxxxxxxxx.c and other.c files using the student’s makefile on the VM. 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.

Assign a grade of 0 to assignment if any of the following coding constructs were used in the program – global variables (typedef strucst are definitions – not global variables), goto, continue, break (except in a switch) and return used inside any loop.

0 pts

Fail

0 pts

Pass

0 pts

Total Points: 100