Demonstrate implementation of appropriate data structure

Assignment Help Data Structure & Algorithms
Reference no: EM133468628

Introduction To Data Structures

PURPOSE

The purpose of this assignment is to demonstrate the implementation of appropriate data structure using C language to solve a given problem with suitable test data and output.

PART I
Arrays are used to store data of the same type. There are two main concepts of understanding an array: element, each item stored in an array is called an element, and index, each location of an element in an array has a numerical index which is used to identify the element.

There are many ways to use or manipulate an array, these are some of the basic array operations:
a) Insertion - add an element at a given index.
b) Deletion - delete an element at a given index.
c) Traverse - print all array elements one by one.

You are required to create an employee structure to store five employee records in an array. The employee structure is given as:

struct employee {
int id;
char name[25];
float salary;
} records [5];

Write a C program that will be able to do the three basic array operations for the employee records. The documentation must include 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.

The assessmentwill be done based on the following criteria:
i. A proper writing of C codes: structure, efficiency and modular.
ii. The readability, consistency, naming and user interface
iii. Robustness and testing
iv. Complete documentation and correct submission.

Note: You MUST write C programming codes for this assignment. Codes written in C++ will not be accepted.

PART II

Discuss the following topic(s) in the forum and submit proof of your participation in the online discussions:
• Share and discuss in general the use data structures such as arrays, structures, linked lists, stack and queues in our day to day lives.

Reference no: EM133468628

Questions Cloud

Encounter during direct care clinical practice experiences : What are examples of practice gaps a new grad nurse may encounter during direct care clinical practice experiences and why?
Review collaborative practice opportunities : Review collaborative practice opportunities as it relates the evidence determined in the database searches.
How the outcomes from the analysis of a selected it system : Choose a type of IT system applied to Health Information Management (HIM) for improved patient quality of care supported by an explanation for your selection.
Significant capital construction : Your organization just embarked on significant capital construction.
Demonstrate implementation of appropriate data structure : CDDS2103 Introduction To Data Structures, Open University Malaysia - demonstrate the implementation of appropriate data structure using C language to solve
What resources are available to help robert remain : What resources are available to help Robert remain in his degree program and be successful? How will these resources benefit him?
Process metric related to pressure ulcers : Categorize one metric as a process metric related to pressure ulcers.
Present best strategies for dealing with distractions : Present best strategies for dealing with distractions. You will be expected to deliver a polished, concise overview of the topic.
What is relationship between gertrude claudius and hamlet : In Act I, what is the relationship between Gertrude, Claudius, and Hamlet? In Act I, what is the relationship between Polonius, Ophelia, Laertes?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Create data warehouse solution in sql

Provide 4-step dimensional model in the SQL comment section and create data warehouse solution in SQL for the dimensional model that you propose

  Write adjacency-list representation for complete binary tree

Provide the adjacency-list representation for complete binary tree on 7 vertices. Provide the equivalent adjacency - matrix representation. Suppose that vertices are numbered from 1 to 7 as in binary heap?

  Determine the total memory used by the hash table

A quadratic probing hash table is used to store 10,000 String objects. Assume that the load factor is 0.4 and that the average string length is 8.

  Find the centroids of a and d in the new layout

Consider the initial layout for Example, which appears in Figure 11-11. Draw a figure showing the layout obtained from exchanging the locations of A and D.

  Organization and explain of database security

In many cases, there are different users that connect to a database. Views are virtual tables based on the physical data. They are usually used either to simplify queries by combining tables or for security purposes to limit the access of data to ..

  Append a flowchart based on the algorithm

Append a flowchart based on the algorithm for the revised program needs. Add this to the revised program flowchart from the Week One Individual Assignment.

  How can i access a folder in the unix server using this ssh

How can I run the following commands on a remote Linux server using putty or Secure Shell Client (SSH secure Shell)

  Big Data Analytics - Project Presentation

Apply a multi-class classifier to classify data into ten classes (categories): one normal and nine attacks (e.g., Fuzzers, Analysis, Backdoors, DoS, Exploits

  Analyze spanning tree creation

To assess the resiliency of typical network access switch block using Hot Standby Router Protocol (HSRP ) along with Spanning Tree Protocol and VLANs .

  Create a two-d array puzzle that will find the given words

Create a 2d array puzzle that will find the following words; this, two,fat,that. void findwordUtil(char puzzle[R][C], bool visited [R][C], inti, int j, string & string)

  Find use two-dimensional other or multidimensional array

Suppose that you are creating an app to keep track of the places that you have visited while traveling. Determine whether or not you would use a two-dimensional or other multidimensional array (choosing to use an array) for the task at hand. Provi..

  Write functions to implement the merge sort algorithms

Exercise : Write functions to implement the split, merge, and merge sort algorithms for files.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd