Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CIS 22B Intermediate Programming Methodologies in C++ Programming Assignments Homework 6 100 Points Linked Lists As en entry-level programmer you have to be able to

CIS 22B Intermediate Programming Methodologies in C++ Programming Assignments

Homework 6

100 Points

Linked Lists

As en entry-level programmer you have to be able to read, understand existing code and update it (add new features). This is one of this assignments goals: read about 600 lines of code (Projects A & B), compile and run these projects, read and understand the code, then change it as required. You are encouraged to reuse as much code as possible.

Project A: Student List // Code Review + write and test one function (Student struct) StudentList.h, StudentList.cpp, 22B_H6_A_Stu.cpp

Program 6A 10 Write a function that displays students with gpa <= a given gpa as show below

 list.displayList(3.0); 

CIS 22B Intermediate Programming Methodologies in C++ Programming Assignments

Project: Build and process a sorted linked list.

Write a program that does the following:

A. Reads data from a text file (colleges.txt) and inserts them into a sorted linked list. Create the input file using the data on the next page. The list is to be sorted in ascending order by the college ID named code (a unique key). TheCollege class has four data members:

code (string) name (string) rank (int) cost (int)

such as SBCC Santa Barbara City College 3 18524

College

- code - name - rank - noStu 

+ College() + College () // overloaded constructor

// setters + setCode()

+ setName() + setRank() + setCost() 

// getters + getCode()

+ getName() + getRank() + getCost() 

// other functions + hDdisplay()

+ vDisplay()

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Identify the organic functional groups on the molecule

Answered: 1 week ago

Question

What is Accounting?

Answered: 1 week ago