All papers examples
Get a Free E-Book!
Log in
HIRE A WRITER!
Paper Types
Disciplines
Get a Free E-Book! ($50 Value)

Retirement Benefits Data Storage Exercise, Essay Example

Pages: 1

Words: 199

Essay

Introduction

The current project requires a retirement benefits data storage system.

Analysis

A non-linear data structure will be used to augment the implementation of the sort method. Thus, the retirement data storage systems will implement a tree data structure. The choice of a linked list precludes the possibility of complex data manipulation. These choices are effective use of system resources because no data array will be implemented. The size of the databases will only be dependent on the amount of data it contains. It is suitable to the task at hand because of the inherit flexibility of the structure.

Design
The class must include integers in an Abstract Data Type (ADT). Available methods follow:

  • Insert
  • Sort

The syntax for the sort is derived from .NET Framework Generic Collections. Return values are expected to include sorted values. The structure is represented below along with test data.

Variable          Type                Sample1          Sample2

Name              String              John Doe         Jane Doe

Amount           Integer             10000              20000

Code

using System;

using System.Collections.Generic;

public class InsertTest

{

public static void Main()

{

//Data declarations

string name = “John Doe”;

int amount = 10000;

string name2 = “Jane Doe”;

int amount2 = 20000;

 

List <int> list = new List <int>();

list.Add(amount2);

list.Add(amount);

 

string strTarget = String.Format(“{0} “, name2);

name = name.Trim() + ” “;

//Insert

strTarget = strTarget.Insert(strTarget.IndexOf(name2), name);

Console.WriteLine(strTarget);

// Sort & Print

list.Sort();

foreach (int value in list)

{

Console.Write(value);

Console.Write(”    “);

}

Console.ReadLine();

}

}

Time is precious

Time is precious

don’t waste it!

Get instant essay
writing help!
Get instant essay writing help!
Plagiarism-free guarantee

Plagiarism-free
guarantee

Privacy guarantee

Privacy
guarantee

Secure checkout

Secure
checkout

Money back guarantee

Money back
guarantee

Related Essay Samples & Examples

Voting as a Civic Responsibility, Essay Example

Voting is a process whereby individuals, such as an electorate or gathering, come together to make a choice or convey an opinion, typically after debates, [...]

Pages: 1

Words: 287

Essay

Utilitarianism and Its Applications, Essay Example

Maxim: Whenever I choose between two options, regardless of the consequences, I always choose the option that gives me the most pleasure. Universal Law: Whenever [...]

Pages: 1

Words: 356

Essay

The Age-Related Changes of the Older Person, Essay Example

Compare and contrast the age-related changes of the older person you interviewed and assessed with those identified in this week’s reading assignment. John’s age-related changes [...]

Pages: 2

Words: 448

Essay

The Problems ESOL Teachers Face, Essay Example

Overview The current learning and teaching era stresses globalization; thus, elementary educators must adopt and incorporate multiculturalism and diversity in their learning plans. It is [...]

Pages: 8

Words: 2293

Essay

Should English Be the Primary Language? Essay Example

Research Question: Should English be the Primary Language of Instruction in Schools Worldwide? Work Thesis: English should be adopted as the primary language of instruction [...]

Pages: 4

Words: 999

Essay

The Term “Social Construction of Reality”, Essay Example

The film explores the idea that the reality we experience is not solely determined by objective facts but is also shaped by the social and [...]

Pages: 1

Words: 371

Essay

Voting as a Civic Responsibility, Essay Example

Voting is a process whereby individuals, such as an electorate or gathering, come together to make a choice or convey an opinion, typically after debates, [...]

Pages: 1

Words: 287

Essay

Utilitarianism and Its Applications, Essay Example

Maxim: Whenever I choose between two options, regardless of the consequences, I always choose the option that gives me the most pleasure. Universal Law: Whenever [...]

Pages: 1

Words: 356

Essay

The Age-Related Changes of the Older Person, Essay Example

Compare and contrast the age-related changes of the older person you interviewed and assessed with those identified in this week’s reading assignment. John’s age-related changes [...]

Pages: 2

Words: 448

Essay

The Problems ESOL Teachers Face, Essay Example

Overview The current learning and teaching era stresses globalization; thus, elementary educators must adopt and incorporate multiculturalism and diversity in their learning plans. It is [...]

Pages: 8

Words: 2293

Essay

Should English Be the Primary Language? Essay Example

Research Question: Should English be the Primary Language of Instruction in Schools Worldwide? Work Thesis: English should be adopted as the primary language of instruction [...]

Pages: 4

Words: 999

Essay

The Term “Social Construction of Reality”, Essay Example

The film explores the idea that the reality we experience is not solely determined by objective facts but is also shaped by the social and [...]

Pages: 1

Words: 371

Essay