logo

Assignment on Concepts of Data Structures

11 Pages1351 Words417 Views
   

Added on  2019-10-12

Assignment on Concepts of Data Structures

   Added on 2019-10-12

ShareRelated Documents
ASSIGNMENT SUBMISSION AND ASSESSMENT_________________________________________________________________________CDDS 2103Introduction to Data StructureMAY 2016_________________________________________________________________________INSTRUCTIONS TO STUDENTS1.This assignment contains only TWO (2) question that is set in both Malay and English.2.Answer in Malay or English.3.Learners are to submit assignment only in MsWord format unless specified otherwise. Pleaserefrain from converting text/phrases into picture format such as .gif / .jpeg / print screen / etc.4.Download the language version of the assignmenttemplate concerned from the myINSPIRE forpreparation and submission of your assignment. Your assignment should be typed using 12point Times New Roman font and 1.5 line spacing.5.You must submit your assignment ONLINE via the myINSPIRE. Refer to the portal forinstructionson the procedures to submit your assignment online. You are advised to keep a copy of yoursubmitted assignment for personal reference. 6.You can submit your assignmentONCEonly in aMULTIPLE FILEas per requirement of theassignment (1 main file and attachment/supporting files).7./ Your assignment mustbe submitted between 27th Juneuntil 17th July 2016. Submission after17th July 2016will NOT be accepted.8. You are required to present your assignment task to your F2F tutor. Both F2F and OL studentsshould attend this presentation. Please refer to your Learning Center Administrator to confirmon the date for the presentation.9.Your assignment should be prepared individually. You should not copy another person’sassignment. You should also not plagiarise another person’s work as your own.10.Please take note that PENALTY will be imposed on late submission of assignment as specified inthe Registrar’s Office circular 6/2012 (Refer to Registrar’s Announcement in myINSPIRE)11.Please ensure that you keep the RECEIPT issued upon submisson of your assignment as proof ofsubmission. Your assignment is considered as NOT submitted if you fail to produce thesubmission receipt in any dispute arises concerning assignment submission. PENILAIAN / EVALUATION
Assignment on Concepts of Data Structures_1
This assignment accounts for 50% of the total marks for the course and shall be assessed based onthe Rubrics attached .You would be given feedback on the assignment before the Final Semester Examination commences. PLAGIARISME: POTONGAN MARKAH / PLAGIARISM: MARKS DEDUCTIONWarning: The submitted assignment will automatically undergo a similarity check. If plagiarism isdetected, marks would be deducted as follows:No.% Similarity (from)% Similarity (To)% of Mark Deduction10300230.01505350.017010470.01100100
Assignment on Concepts of Data Structures_2
ASSIGNMENT QUESTION / SOALAN TUGASANPURPOSEThe purpose of this assignment is to test learner’s understanding on the concepts of datastructures such as basic operations of arrays and linked lists.QUESTION 1REQUIREMENT / ASSIGNMENT QUESTIONArrays are used to store data of the same type. There are two main concepts of understanding anarray: element, each item stored in an array is called an element, and index, each location of anelement in an array has a numerical index which is used to identify the element. There are severalways to declare an array. For example: int Arr[5] = {1,3,5,7,8}; An illustration of the array declared: elements13578index01234Size: 5There are many ways to use or manipulate an array, these are some of the basic array operations:i)Traverse – print all array elements one by one.ii)Insertion – add an element at a given index. iii)Deletion – delete an element at a given index.Examples of Insertion and Deletion operations are given:Insertion OperationThe original array elements are :Arr[0]=1 Arr[1]=3 Arr[2]=5 Arr[3]=7 Arr[4]=8 The array elements after insertion at index 3 :Arr[0]=1 Arr[1]=3 Arr[2]=5
Assignment on Concepts of Data Structures_3
Arr[3]=10 Arr[4]=7 Arr[5]=8Deletion OperationThe original array elements are :Arr[0]=1 Arr[1]=3 Arr[2]=5 Arr[3]=7 Arr[4]=8 The array elements after deletion at index 2:Arr[0]=1 Arr[1]=3 Arr[2]=7 Arr[3]=8 Write a C program that will be able to do the 3 basic array operations. The documentation mustinclude a short introduction to the problem given, the program codes, and several output screens(screenshots). You must submit the documentation file and the .c program file.(20)The assessment will be done based on the following criteria:i.A proper writing of C codes and its structureii.The ability of program to be compiled and executediii.Implementation of correct programming techniquesiv.Complete documentation and correct submissionNote: You must write C programming codes for this assignment.
Assignment on Concepts of Data Structures_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
CDOP3103 | Assignment
|5
|708
|190

Introduction to Data Structure Assignment
|15
|2409
|392

Assignment On Programming Competition By Club Of OUM
|7
|1706
|50

Analyzing Ethical Issues in IBM: A Case Study
|4
|1159
|292

Organizational Behavior and Leadership Assignment
|10
|2475
|316

An action plan for self-development Question Answer 2022
|5
|1746
|21