Data structures in an oop program

Assignment Help Basic Computer Science
Reference no: EM131095645

In this assignment, you will apply data structures in an OOP program.

Write the following programs:

  1. Elementary Data Structures

Suppose you created a video project that has two data structures-an array of strings and a ListView control. You used the Sort() method of the array class to put the film names in ascending order. Then the program populated lstNames with the ordered strings from the array.

In this assignment, you will:

  • Populate the list using a different technique. Within the Form1_Load event, comment out the Sort() method.
  • Change the Sorting property of lstNames to Ascending.
  • Change the Sorting property of lstNames to Descending to display the names in lstNames sorted automatically.

Save the program as Elementary.cpp.

Implementation and Application of Data Structures

In this assignment, you will write a program that:

  • Converts the bubble sort, changing the outer loop from a for loop to a while loop, so that an early exit is possible when the film names list becomes sorted.
  • Uses a Boolean variable to control the outer loop.

Save the program as Application.cpp.

Submission Details:

Embed the two programs in a Microsoft Word document with a description of your programming strategy.

Name your document SU_ITS3105_W4_A2_LastName_FirstInitial.doc

Reference no: EM131095645

Questions Cloud

About the nash equilibrium : Two Cigar makers are trying to determine whether or not to advertize their products on TV, and the effect on their profits. The Govt. is likely to ban Advt. related to Smoking on TV, and would charge a Penalty Surcharge Tax of $30m for any smoking ad..
May increase or decrease planned investment : Medical Supplies B Us (MSBU), Inc. is trying to weigh the pros and cons with respect to planned investment. The following scenarios may increase or decrease planned investment. Help MSBU, Inc. to examine each scenario to see if it immediately impacts..
Which of the following securities has lowest interest rate : Which of the following securities has the lowest interest rate? A bond with default risk will always have a --- risk premium and an increase in its default risk will --- the risk premium
Low labor costs make competitive outsourcing destination : Country X is a growing economy located in southeast Asia. Although it has a large population, it also has a disproportionately high number of working age people. A large English-speaking workforce and low labor costs make it a competitive outsourcing..
Data structures in an oop program : Suppose you created a video project that has two data structures-an array of strings and a ListView control. You used the Sort() method of the array class to put the film names in ascending order. Then the program populated lstNames with the order..
Find the abcd constants of a p circuit : Find the ABCD constants of a π circuit having a 600-Ω resistor for the shunt branch at the sending end, a 1-kΩ resistor for the shunt branch at the receiving end, and an 80-Ω. resistor for the series branch.
Prepare monthly cash budget and supporting schedules for may : Prepare a monthly cash budget and supporting schedules for April, May, and June 2008. On the basis of the cash budget prepared in part (1), what recommendation should be made to the controller?
Cost and revenue curves for perfectly competitive firm : Figure 1 is the cost and revenue curves for a perfectly competitive firm.
The theme of romantic relationships in two texts : Your final paper is designed to help you see connections between the different works we've read this semester.  Your assignment is to compare and contrast two works we've studied this semester.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Member of the systems development team

You are a member of the systems development team for XYZ Car Manufacturer. The project manager has tasked you to design an object-oriented modeling for the company vehicle line that consists of cars, minivans, trucks, SUVs, and hybrids. The projec..

  Additional web resources for telecommunication-network

You may search these questions or part of them on the web resource links available under "Additional Web Resources for Telecommunication & Network Security.pdf". If you do so, you must provide the reference to the resource as well as cite in your ..

  What can be done to make data more manageable

What can be done to make the data in these multimedia files more manageable, queryable, reportable and analyzable?

  Determine whether jeremy should lease or buy plant in china

Determine whether Jeremy should lease or buy the plant in China

  Creating modular program to enter monthly costs

Create a modular program which asks the user to enter monthly costs for expenses given incurred from operating his or her automobile.

  Resultant data corporation

Resultant Data Corporation, a large and well-respected database consulting firm. One of your clients, an international pharmaceutical company, has requested some assistance in creating a new database. The database will be used for tracking and managi..

  Mobile computing and mobile applications to the enterprise

What are some of the challenges organizations face with mobile computing and mobile applications and what are some of the promises of mobile computing and mobile applications to the enterprise?

  How success or failure of restoration effort is estimated

Expalin why and how is success or failure of restoration effort estimated? Write down some significant considerations in creating monitoring plan to estimate restoration effort?

  Develop a new information system

Explain why it may be difficult to use agile methods in a large project to develop a new information system that is to be part of an organizational system of systems. describe in 200 words

  Describe areas where you disagreement between sources

IT engagement model and management. Include any information you believe adds to the material in the text. Describe any areas where you see disagreement between the sources.

  Design concept in terms of the usability of the design

A justification for the design concept in terms of the usability of the design. You should explain why your decisions make sense and why your interface concept works for the application. Any preliminary designs can be included as an Appendix to th..

  Implement the intrusion detection system

Company is trying to decide whether to implement the intrusion detection system (IDS), or intrusion prevention system (IPS).

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