The big picturethis assignment consists of two separate

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

The Big Picture

This assignment consists of two separate programming tasks.

1. You will create a linked list module that exactly meets the specifications given in the supplied header (.h) file.

2. You will create a program to read file consisting of data about a playlist of songs, create a linked list of structs using that data, and then print out some summary information about the list.

Part 1: the Linked List

? Your linked list module will be tested using a test program written by one of the TAs.

? The program will test every operation of your list and will try to find ways to break your linked list by sending null values, wrong values, etc.

? Your linked list code must exactly follow the specifications given in the comments for each function. Those comments can be found in the .h file provided. The provided header file is in the examples repo (A4starterFiles).

Part 2: the Music Playlist

? The playlist program must accept a filename on the command line (argv).

? Each line of the file will contain information for one song. The playlist program must load that information into a struct and then add the struct properly to the linked list.

? Songs will have five pieces of information: artist, title, length in seconds, size of file in kb, and type. Type can only be the letter a or the letter b.

? Songs of type a must be added to the front of the list. Songs of type b must be added to the back of the list. Other than sorting by type, the elements should be in the same order as the input file.

? The music program must print out 3 things (and only 3 things):

1. The total length of the playlist in hh:mm:ss format. There should be no words accompanying this printout, just the time followed by a hard return (linefeed).

2. The average file size in the playlist. The file size should be formatted to two decimal places. The file size should be followed by a hard return and should have no accompanying text.

3. The entire list. Each element of the list should be on its own line. The list must be printed in order. Individual items in the list should be printed according to the specification for printing records that are given in the .h file.

Expectations and Grading Notes

This code will be automatically graded. You will be scored on four different aspects of your submission.

1. Submission and compilation: This will examine whether your submission has all of the required files in the correct locations(including README, references, testing, folders, and makefile). It will also examine contents of these files for headers, and correct organization and will check to make sure you have used your linked list in your music library program and will check that your assignment submission compiles without errors or warnings. 

This will be graded using scripts and visual inspection.

2. Coding style: This will examine your use of white space, your commenting habits, your variable names, etc. This section will be evaluated using a (possibly customized) version of cpplint. You will be provided information about how to use cpplint yourself to check your code.

3. Linked list functionality: This will be evaluated using a c program that is compiled with your linked list. The program has been provided to you with the starter files along with a makefile. The makefile will compile the testing program when you typemake test. You can add your own compile line to the makefile for compiling your music library program.

4. Music Library functionality: Your music library will be run with an input file that is written by the TAs and Judi. The output from your library will be compared using diff to output that is known to be correct. Your library must use your linked list or it will receive a grade of zero.

Details about the data file

? A single line of text in the file represents one song. The fields in each row will be comma-delimited. The line will end with a hard return. The fields in the file are enumerated below.

1. the artist: an artist or group name of no more than 25 characters.

2. the title: a song title of no more than 40 characters.

3. the length: an integer number representing the length of the song in seconds.

4. the size: a decimal number representing the size of the song file in kilobytes.

5. the type: a single character, a or b.

Reference no: EM13362936

Questions Cloud

Nbspread the article fdi into africa on the up from ernst : nbspread the article fdi into africa on the up from ernst and young and discuss on the following questions by writing 1
Assessment case study essayword limit 2000 wordsyou are : assessment case study essayword limit 2000 wordsyou are required to analyse a case study entitled black coalition for
Assume all rates are annualized with semi-annual : assume all rates are annualized with semi-annual compounding.question 1. 100 par of a 0.5-year 8-coupon bond has a
Read the article as below and answer below question answer : read the article as below and answer below question answer only address what being asked do not add own event or think
The big picturethis assignment consists of two separate : the big picturethis assignment consists of two separate programming tasks.1. you will create a linked list module that
Title a evaluate the importance of regular exercise in : title a evaluate the importance of regular exercise in maintaining a healthy body and mind to what extent should the
Questionnbspthe 1960s represented an era of significant : questionnbspthe 1960s represented an era of significant economic growth for americans. some economists argue that the
Questionnbspjaedan industries has the following account : questionnbspjaedan industries has the following account balances as of december 31 2010. the firms dividend payout
Question 1 nbspsolve the following lp using revised simplex : question 1 nbspsolve the following lp using revised simplex methodminimize z 2x1x2 subject to 3x14x2 lt 6 6x1 x2 lt 3

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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