COMP 2412 Data Structures Assignment Problem

Assignment Help C/C++ Programming
Reference no: EM132400210

COMP 2412 Data Structures Assignment - Lakehead University, Canada

Please submit all program files together in a .zip file.

You have to implement the following four programs completely using C or C++. Please test your programs before the submission.

1. Write a program that reads a file and builds a list. After the list is built, display it on the monitor. You may use any appropriate data structure, but it should have a key filed and data. Two possibilities are a list of your favorite CDs or your friend's telephone numbers. Use a linked list implementation.

2. Modify the program you wrote above. After you create the file, the program should present the user with a menu to insert new data, remove existing data, or print a list of all data.

3. Write a program to read a list of students from a file and create a list. The program should use a linked list for implementation. Each node in the linked list should have the student's name, a pointer to the next student, and a pointer to a linked list of scores. There may be up to four scores for each student.

4. Write a program that will do the followings:

a) Generate 100 random numbers between 50 to 500.

b) Store these numbers in a file.

c) Read these numbers from the file and build a min heap (including all these numbers)

d) Then remove 10 elements from this heap (total 10 delete operations, remove one item in one delete operation).

Reference no: EM132400210

Questions Cloud

Explain the concept of defense in depth : Explain the concept of "Defense in Depth". Research a unique news story or article related to Information Security/Information Technology.
Empowerful is to give your employee the power to do better : Empowerful is to give your employee the power to do better. The supervisor or manager is the person the better vision of yourself and push you to the limit
Misuse of instant messaging in corporate environment : Find an example of a data/security breach that occurred because of misuse of instant messaging in a corporate environment.
Security challenges : Security Challenges. Distributed applications and cloud computing have become a viable option within the LAN-to-WAN Domain.
COMP 2412 Data Structures Assignment Problem : COMP 2412 Data Structures Assignment Help and Solution, Lakehead University, Canada. Write a program to read a list of students from a file
Discuss why security as service is good investment : Discuss why Security as a Service is good investment
Contribution to the practices of information technology : How can obtaining a doctorate impact your contribution to the practices of information technology? Where do you see yourself after obtaining a doctorate from UC
Brief summary of the significant historical information : PART A: Case Analysis - Provide a brief summary of the significant historical information. What types of support may be suitable for this family
Write research paper on big data and business impacts : Write a research paper on Big data and its business impacts

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Variables - features of good program design

Explain one reason why the variable name in question is acceptable but not recommended, and provide an alternative name that would both satisfy the compiler and be recommended according to variable naming conventions.

  Create an array of 12 structures to hold weather of yearl

Input validation: only accept temperatures within the range between -100 and +140 degrees Fahrenheit.

  Linked list with first node pointer p.

Complete the code for a function that replaces each occurrence of value x by value y in a linked list with first node pointer p.

  Create a class named realtorcommission.

Create a class named RealtorCommission. Fields include the sale price of a house, the sales commission rate, and the commission.

  Create a small database with a table or two

Use Microsoft access to create a small database with a table or two. Remember that your Microsoft Access is most likely a more recent version, so you will see some differences.

  Program that converts from kilometers-to-miles

Write a program that prompts the user to select either Miles-to-Kilometers or Kilometers-to-Miles, then asks the user to enter the distance they wish to convert

  Write a computer program to prepare a linear support vector

write a computer program to prepare a linear support vector machine svm. prepare a report and deliver the report

  Write a program that computes customers

Design the main so that it have a menu that allows theuser to add items to the customer order, and check the customer out by showing the total charges.

  Authentication method for android

For the fourth program under Connector for Pi to be able to (Connect between File Handle and Client+Server socket program).

  Write a cpp program function smallestindex

Write program C++ function smallestIndex that takes int parameter array and it size and return the first occurrence of the smallest element in the array.

  Design and run a program that takes a numerical score

In this program, create two void functions titled getScore and printGrade with an int argument. The function getScore should have a Reference parameter and printGrade should have a Value parameter.

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