Implementation of various methods to store data

Assignment Help Data Structure & Algorithms
Reference no: EM131950866

Data Structures And Algorithms Assignment - Efficient Sorting

Learning Outcomes

  • Synthesise and implement stacks, linked lists, sorting and queues.
  • Compile and use abstract data types within programs.
  • Evaluate algorithms in terms of efficiency and justify the selection of the most appropriate data structure or algorithm for a given problem.

Task 1 -

This task requires you to produce fully working program/programs, which will compare operation times of various sorting algorithms for given sets of data.

You should carefully consider the criteria below and then develop a fully documented program that will calculate the time taken to sort lists of 10, 100, 1000, and 10,000 integer numbers which will be supplied by the tutor in class.

There should be a minimum of 3 sorting algorithms used in the program, including an insertion sort, a bubble sort and another sorting algorithm of your choice.

The program is to be written in a programming language of your choice.

You must write a report that includes the following: -

  • A description of each algorithm used, including pseudo code and/or flowcharts.
  • A full code listing with comments
  • A table of results showing the time required for each algorithm to execute once. Use the speed of the insertion sort as a guide to compensate for different processor speeds.
  • An explanation of how the timing of each algorithm is achieved.
  • Justification of the best sorting algorithm to be used for the various data sets supplied.
  • Any additional paperwork you consider necessary including additional research and discussions on sorting algorithms.

Additional marks will be awarded for complexity and explanations of algorithms used including discussions on how the test results were obtained.

Task 2 -

A bank has a call centre set up for customers and requires a piece of software to count and track waiting calls.

The telephone system can only keep 20 calls on hold at any time.

Once a call is made to the bank the following information is logged on a computer and put into a queue.

  • Call number
  • Time called
  • Queue ID number

The program will initially have no calls in memory. A basic menu screen will allow the user to perform the following operations: -

1. Add data to the queue.

2. Put call through to operator.

3. Remove call from the queue (customer disconnect).

4. Update queue.

  • When a call comes in the data is added to the queue.
  • If a call is at the top of the queue then it will be the next one to get a free operator.
  • Some calls will be disconnected by the customer before they reach the top of the queue, your program should allow for this.

On the menu screen you should also display the calls waiting and the time each call has been waiting.

This information is then to be used to calculate an average number of calls waiting and also the average wait time for a call to be sent to an operator. This should also be shown on the screen.

You may add additional functionality to the program if you consider it necessary.

Task 2.1 - Discuss the use and implementation of various methods to store data and also discuss the method you will use to create a working program which is best suited for this problem.

Task 2.2 - You must produce a specification for the data structure used. Fully explain how you will implement the data structure.

Task 2.3 - Produce a working program which creates and uses your chosen algorithm for this scenario.

Document and test the program and provide screenshots and a full code listing of your program.

Include any additional information necessary.

Task 2.4 - Evaluate your program and suggest areas for improvement.

Reference no: EM131950866

Questions Cloud

Identify the strengths and weaknesses of each rating : In your own words and using various bond websites, please locate one of each of the following bond ratings: AAA, BBB, CCC, and D.
Calculate the current stock price and the stock price : If the market capitalization rate is 16 percent, calculate the current stock price and the stock price for each of the next three years.
Is the problem well defined and bounded : How has the rise of the oligarchs contributed to the economic and business environment in Russia during the 2000s?
Describe the use of photographs and graphics : Describe the use of photographs and graphics in the field of journalism. When should photographs be used and when should they not be used in reporting?
Implementation of various methods to store data : SDFD202 Data Structures And Algorithms Assignment - Efficient Sorting. Discuss the use and implementation of various methods to store data
Calculate the dollar return on one put contract purchase : A stock currently trades at $110. Calculate the dollar return on one put contract purchase.
Develop skills in assessing an individuals dietary intake : Demonstrate basic competency in recording and analysing dietary habits using a nutrition smartphone app - Develop skills in assessing an individual's dietary
Conduct diligence surveys of potential overseas markets : OBJECTIVES: Companies engaged in international business routinely conduct diligence surveys of potential overseas markets prior to entry.
What are the rational and irrational reasons : What are the rational and irrational reasons you think that may lead to high returns in small and value stock?

Reviews

len1950866

4/20/2018 6:16:32 AM

Task 1 - Inclusion of 3 sorting algorithms (5 marks per algorithm) Explanation of algorithms, test data and use of C++ language. Evaluation of sorting algorithms used for different sizes of data sets (tables of results, graphs, evaluate data) Additional features (Additional algorithms, additional testing, predicting times for sorts using data obtained) Task 2 - Task 2.1 - Description of Algorithms for sorting searching and queuing, Task 2.2 - Explanation of data structure used. Task 2.3 - Program functionality, code and development paperwork. Object Orientated techniques used and explained, Task 2.4 - Evaluation of program and possible improvements. Additional features, GUI design, menu items and displayed data.

len1950866

4/20/2018 6:16:26 AM

The criteria set out here in relation to written work should be used in accordance with the requirements at each stage of the degree programme. In stage one, the emphasis is on students being able to demonstrate appropriate knowledge and understanding of facts and concepts. In stage two, the emphasis moves to students demonstrating an ability to analyse facts and concepts.

len1950866

4/20/2018 6:16:20 AM

A first class essay/report/portfolio should: Use a wide range of material, the relevance of which is immediately apparent; Demonstrate an outstanding understanding of the topic area; Present a clear, consistent and logical argument, producing policy-based and/or theoretical recommendations where appropriate; which are extremely well quantified, exemplified and discussed. Have outstanding analysis and synthesis. Have an excellent structure, with a directive introduction and a clear conclusion, which have provided a vehicle for the central argument presented; Have no significant stylistic shortcomings, in relations to spelling, grammar etc. Conform to the bibliographic and referencing standards specified by the Public Services Style Guide. Answer completely (or almost completely) incorrect or inappropriate irrespective of length or detail. The Foundation Degree is not classified but will be awarded with distinction if a student achieves an aggregate mark of 70% across all modules.

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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