ASSIGNMENT QUESTION
PURPOSE
The purpose of this assignment is to develop data structures using C language to solve a given downside and show the implementation of acceptable data construction options with appropriate check data and output.
PART I / BAHAGIAN I
REQUIREMENT
Question Assignment 1
You’re required to write a C program that can enter the quantity of college students and reserve the reminiscence house dynamically. You want to retailer the coed’s title, ID and Culmulative Grade Level Common (CGPA) collectively as one unit. So as to do this, you should use a construction data sort.
Subsequent, you should declare ptr as a pointer of struct scholar * sort (that may level to the situation of struct scholar sort) as proven under:
struct scholar *ptr;
Then, use a linked listing data construction to retailer the coed info in nodes and hyperlink them. You should use the operator – to entry the data within the construction by means of ptr.
Lastly, your program ought to depend and show the common cgpa entered for the n college students. The linked listing have to be sorted by college students’ title in ascending order earlier than it is displayed to the consumer. The pattern output is proven under:

The Assessment might be performed primarily based on the next standards:
i. A correct writing of C codes: construction, effectivity and modular.
ii. The readability, consistency, naming and consumer interface
iii. Robustness and testing
iv. Full documentation and proper submission.
Notice: You MUST write C programming codes for this assignment. Codes written in C++ is not going to be accepted.
You’re required to submit:
1. Documentation file (*.doc/*.docx) that comprises introduction, description of downside, program itemizing and its feedback and print display screen of this system output.
2. Supply file (*.c)
(50 marks)

ATTACHMENT
ASSIGNMENT RUBRICS
CBDS2103 DATA STRUCTURE/ JAN 2022
*QN CLO Standards
Weight Glorious Good Honest Poor Unsatisfactory Max Marks
four three 2 1 zero
1 2 Declaration of construction, pointer and linked listing construction
Construction, Effectivity and Modular:
• Codes are clear, logical, management construction used appropriately.
• Most acceptable programming structures (choice, repetition, information) are used
• Features are modular and will increase programming readability 2.5 Met the necessities of the factors.
Largely met the necessities of the factors however it may be improved additional.
Primary/ minimally met the necessities of the factors.
Poorly met the necessities of the factors.
Didn’t meet standards in any respect OR unsuitable reply was given.
10
1 2 Linked listing manipulation: Insert and Traverse Checklist
Construction, Effectivity and Modular:
• Codes are clear, logical, management construction used appropriately.
• Most acceptable programming structures (choice, repetition, information) are used
• Features are modular and will increase programming readability 2.5 Met the necessities of the factors.
Largely met the necessities of the factors however it may be improved additional.
Primary/ minimally met the necessities of the factors.
Poorly met the necessities of the factors.
Didn’t meet standards in any respect OR unsuitable reply was given.
10
1 2 Sorting the linked listing in ascending order of scholar title
Construction, Effectivity and Modular:
• Codes are clear, logical, management construction used appropriately.
• Most acceptable programming structures (choice, repetition, information) are used
• Features are modular and will increase programming readability 2.5 Met the necessities of the factors.
Largely met the necessities of the factors however it may be improved additional.
Primary/ minimally met the necessities of the factors.
Poorly met the necessities of the factors.
Didn’t meet standards in any respect OR unsuitable reply was given.
10
1 2 Readability, consistency, naming and consumer interface:
• Coding fashion, straightforward to learn and keep.
• Constant and correct naming.
• Display primarily based instruction and ultimate output are clear, right and engaging. 2.5 Met the necessities of the factors.
Largely met the necessities of the factors however it may be improved additional. Primary/ minimally met the necessities of the factors. Poorly met the necessities of the factors.
Didn’t meet standards in any respect OR unsuitable reply was given. 10
1 2 Robustness and Testing
• Potential of this system to be compiled and executed
• The program can deal with inaccurate or surprising enter
• Full with out being redundant, all check circumstances are thought of
• Willpower course of primarily based on the enter. Right approach have to be chosen and proven in this half
• Displaying all output as required 1.25 Met the necessities of the factors. Largely met the necessities of the factors however it may be improved additional. Primary/ minimally met the necessities of the factors. Poorly met the necessities of the factors. Didn’t meet standards in any respect OR unsuitable reply was given. 5
1 2 Full documentation and proper submission:
• Cowl web page of assignment
• Introduction, description of downside
• Copy of codes
• A number of screenshots with varied enter and output
• Submission of C supply file in extension .c 1.25 Met the necessities of the factors. Largely met the necessities of the factors however it may be improved additional. Primary/ minimally met the necessities of the factors. Poorly met the necessities of the factors. Didn’t meet standards in any respect OR unsuitable reply was given. 5
Whole 12.5 50
*QN = Question Assignment Quantity

Published by
Medical
View all posts