List the inventory in alphabetical order by title


Assignment: Project Management and Practice

Project Planning for a Movie Rental Store Application

You have a part- time job at the local movie rental store which specializes in DVDs that emphasize faith and family values. Realizing that you are pursuing a degree in Information Systems Technology at Christian University, the store owner asks you to write an interactive program that will maintain the store's inventory of DVDs that are for sale. The inventory consists of a list of movie titles and the following information associated with each title:

• On-hand value: number of copies currently in stock.

• Stock level value: number of copies that should be in stock. When the on-hand is less than the stock level value, more copies are ordered.

• Wait list: list of names of people waiting for the title if it is sold out.

Because the owner plans to turn off the power to the computer when the store is closed, your inventory program will not be running at all times. Therefore, the program must save the inventory in a file before execution terminates and later restore the inventory when it is run again. Program input and output are as follows:

Input

• A file that contains a previously saved inventory.

• A file that contains information on an incoming shipment of DVDs. (See command D.)

• Single- letter commands- with arguments where necessary- that inquire about or modify the inventory. These commands are entered by the user interactively.

• A file that contains the updated inventory. (Note that you remove from the inventory all items whose have values and want values are zero and whose wait lists are empty. Thus, such items do not appear in the file.)

• Output as specified by the individual commands.

The program should be able to execute the following commands:

H

Help

Provide a summary of the available commands.

I </p> </td> <td width="78" valign="top"> <p>Inquire</p> </td> <td width="475" valign="top"> <p>Display the inventory information for a specified title.  Include the full name of any customers waiting for delivery of that title listed in the order in which they were place on the wait list.</p> </td> </tr> <tr> <td width="85" valign="top"> <p>L</p> </td> <td width="78" valign="top"> <p>List</p> </td> <td width="475" valign="top"> <p>List the entire inventory in alphabetical order by title. Include the full name of any customers waiting for delivery of that title listed in the order in which they were place on the wait list.</p> </td> </tr> <tr> <td width="85" valign="top"> <p>A <title></p> </td> <td width="78" valign="top"> <p>Add</p> </td> <td width="475" valign="top"> <p>Add a new title to the inventory. Prompt for initial stock level value.</p> </td> </tr> <tr> <td width="85" valign="top"> <p>M <title></p> </td> <td width="78" valign="top"> <p>Modify</p> </td> <td width="475" valign="top"> <p>Modify the stock level value for the specified title.Prompt for the stock level value.</p> </td> </tr> <tr> <td width="85" valign="top"> <p>D</p> </td> <td width="78" valign="top"> <p>Delivery</p> </td> <td width="475" valign="top"> <p>Take delivery of a shipment of DVDs, assuming that the clerk has entered the shipment information, titles and number received into a file. Read the file, reserve DVDs for the people on the wait list, and update the on-hand values in the inventory accordingly. Note that the program must add an item to the inventory if a delivered title is not present in the current inventory.</p> </td> </tr> <tr> <td width="85" valign="top"> <p>O</p> </td> <td width="78" valign="top"> <p>Order</p> </td> <td width="475" valign="top"> <p>Write a purchase order for additional DVDs based on a comparison of the in-stock and stock level values in the inventory.  The quantity on the purchase order should increase the in-stock value up to the stock level value.</p> </td> </tr> <tr> <td width="85" valign="top"> <p>R</p> </td> <td width="78" valign="top"> <p>Return</p> </td> <td width="475" valign="top"> <p>Write a return order based on a comparison of the in-stock and stock level values in the inventory and decrease the have values accordingly (i.e. make the return). The purpose is to reduce the in-stock value to the stock level value by returning DVDs to the manufacturer.</p> </td> </tr> <tr> <td width="85" valign="top"> <p>S <title></p> </td> <td width="78" valign="top"> <p>Sell</p> </td> <td width="475" valign="top"> <p>Decrease the in-stock value for the specified title by 1. If the title is sold out, put the customer's name on the wait list for the title.</p> </td> </tr> <tr> <td width="85" valign="top"> <p>Q</p> </td> <td width="78" valign="top"> <p>Quit</p> </td> <td width="475" valign="top"> <p>Save the inventory and wait lists in a file and terminate execution.</p> </td> </tr> </tbody> </table> </p> <p style="text-align: justify;">The problem- solving process that starts with a statement of the problem and ends with a program that effectively solves the problem- that is, a program that meets its specification- has three main stages:</p> <p style="text-align: justify;">1. The design of a solution <br />2. The implementation of the solution<br />3. The final set of refinements to the program</p> <p style="text-align: justify;">Realize, however, that you cannot complete one stage in total isolation from the others. Also realize that at many steps in the development of a solution, you must make choices. You must consider the trade-offs between choices and the false starts which are often numerous. The application the owner wants you to create involves data management and requires certain program commands. These commands minimally suggest the following operations on the inventory:</p> <p style="text-align: justify;">• List the inventory in alphabetical order by title (L and W commands).<br />• Find the inventory item associated with a title (I, M, D, O and S commands).<br />• Replace the inventory item associated with a title (M, D, R and S commands).<br />• Insert new inventory items (A and D commands).</p> <p style="text-align: justify;">Each DVD title might also have an associated list of people who are waiting for that title. You must also be able to:</p> <p style="text-align: justify;">• Add new people to the end of the wait list when they want a DVD that is sold out (S command).<br />• Delete people from the beginning of the wait list when new DVDs are delivered (D command).<br />• Display the names on the wait list for a particular title (I and L commands).</p> <p style="text-align: justify;">In addition, you must also be able to:</p> <p style="text-align: justify;">• Save the current inventory and associated wait lists when program execution terminates (Q command).<br />• Restore the current inventory and associated wait lists when program execution begins again.</p> <p style="text-align: justify;">Format your assignment according to the following formatting requirements:</p> <p style="text-align: justify;">1. The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.</p> <p style="text-align: justify;">2. The response also includes a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.</p> <p style="text-align: justify;">3. Also include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.</p> <p><strong>Attachment:-</strong> <a href="https://secure.tutorsglobe.com/Atten_files/672_QUESTIONS.rar" target="_blank">QUESTIONS.rar</a></p></p> </div> <div id="viewreadmore" class="link"> <a id="readmore" href="javascript:void(0);" class="read-more-trigger mar_top10" onclick="changeheight(this)">View Complete Question</a> </div> <div id="DivRequest"> <h4> Request for Solution File </h4> <div class="seprator"> </div> <div class="downloadfiles"> <h5> Ask an Expert for Answer!!</h5> <h6> Project Management: List the inventory in alphabetical order by title</h6> <h5> Reference No:- TGS03000506</h5> <input type="submit" name="btnGetQuote" value="Request for Solution File" id="btnGetQuote" class="btn btnexperts btn-lg btn-block-sm mar_btm20" /> <p> Expected delivery within 24 Hours</p> </div> </div> </div> <div class="row"> <div class="col-sm-12 reviewbox"> <div class="row "> <div class="panel-group review" id="accordion" role="tablist" aria-multiselectable="true"> <div class="panel-heading" role="tab" id="headingTwo"> <h4 class="panel-title"> <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"> Have a Question? (oR Write a Review) </a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo"> <div class="panel-body"> <div class="col-sm-12"> <div class="row search searchbg message"> <span id="RequiredFieldValidator1" style="visibility:hidden;">Write atleast 100 words!!</span> <textarea name="txtcomments" id="txtcomments" maxlength="1000" ValidationGroup="Review" placeholder="Write your review" class="form-control" rows="6"></textarea> <div class="pull-right mar_top20"> <input type="submit" name="btnReviewSubmit" value="Submit" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("btnReviewSubmit", "", true, "Review", "", false, false))" id="btnReviewSubmit" class="btn btn-primary pull-right" /> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="user-comments-area hidden-xs"> <h4 class="text-uppercase mar_btm20"> <i class="fa fa-question-circle"></i>   Recent Questions Asked Project Management</h4> <ul class="user-comments-list"> <table id="dlMaterials" cellspacing="0" style="width:100%;border-collapse:collapse;"> <tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_0" class="studenthdname" href="https://www.tutorsglobe.com/question/how-charter-schools-offer-the-best-education-53000502.aspx">How charter schools offer the best education</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_0">This article is about how charter schools offer the best education and public schools don't get that higher education like the charter schools do.</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_1" class="studenthdname" href="https://www.tutorsglobe.com/question/describe-what-is-the-most-common-implementation-53000503.aspx">Describe what is the most common implementation</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_1">Search for available commercial applications that use forms of RAID technologies. Describe what is the most common implemen- tation? What is the most expensive?</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_2" class="studenthdname" href="https://www.tutorsglobe.com/question/what-top-rated-digital-asset-management-software-product-53000504.aspx">What top rated digital asset management software product</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_2">Do research online to identify the capabilities of digital asset management software. What are the top rated digital asset management software products?</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_3" class="studenthdname" href="https://www.tutorsglobe.com/question/write-a-college-essay-fast-with-great-quality-53000505.aspx">Write a college essay fast with great quality</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_3">Need to write a college essay fast with great quality, assignment writing service may help you in this regard.</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_4" class="studenthdname" href="https://www.tutorsglobe.com/question/list-the-inventory-in-alphabetical-order-by-title-53000506.aspx">List the inventory in alphabetical order by title</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_4">ISYS 438- List the inventory in alphabetical order by title (L and W commands). Find the inventory item associated with a title (I, M, D, O and S commands).</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_5" class="studenthdname" href="https://www.tutorsglobe.com/question/discuss-which-of-the-three-views-discussed-in-the-chapter-53000507.aspx">Discuss which of the three views discussed in the chapter</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_5">Discuss which of the three views discussed in the chapter that would provide the best quality assessment for the situation described above.</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_6" class="studenthdname" href="https://www.tutorsglobe.com/question/review-the-diversity-equity-and-cultural-competence-resoure-53000508.aspx">Review the diversity-equity and cultural competence resoure</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_6">Review the Diversity, Equity, and Cultural Competence resource, which provides links to information and resources that break down.</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_7" class="studenthdname" href="https://www.tutorsglobe.com/question/write-a-brief-paper-about-rsa-cryptosystems-53000509.aspx">Write a brief paper about rsa cryptosystems</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_7">Using the Web or other resources, write a brief paper about RSA Cryptosystems, its history, its methodology, and where it is used.</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_8" class="studenthdname" href="https://www.tutorsglobe.com/question/who-makes-up-an-incident-response-team-53000510.aspx">Who makes up an incident response team</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_8">What is certain is that at some point, most organizations will have to respond to a security incident. Who makes up an incident response team?</span></p> </div> <!-- /comment-box --> </li> </td> </tr> </table> </ul> <!-- /user-comments-list --> </div> </div> <div class="col-md-4 col-xs-12 login-area innerpage"> <div class="row"> <div class="details col-md-12"> <div class="col-md-4"> <div class="circle orange"> <i class="fa fa-question"></i> </div> <p> 1926778 </p> <p> Questions<br /> Asked</p> </div> <div class="col-md-4"> <div class="circle yellow"> <i class="fa fa-user-secret"></i> </div> <p> 3,689</p> <p> Active Tutors</p> </div> <div class="col-md-4"> <div class="circle green"> <i class="fa fa-thumbs-o-up"></i> </div> <p> 1447170</p> <p> Questions<br /> Answered</p> </div> <p><b> Start Excelling in your courses, Ask a tutor for help and get answers for your problems !! </b></p> <a href="https://www.tutorsglobe.com/post-your-job-for-free.aspx" class="btn btn-primary btn-lg mar_top10">ask Question</a> </div> </div> <div class="row"> <div class="user-comments-area hidden-xs"> <hr /> <h4 class="text-uppercase mar_btm20"> <i class="fa fa-question-circle"></i> Asked Questions</h4> <hr /> <ul class="user-comments-list"> <table id="dlNewReviews" cellspacing="0" style="width:100%;border-collapse:collapse;"> <tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_0" class="studenthdname" href="https://www.tutorsglobe.com/question/participating-in-sickness-prevention-and-health-promotion-53447311.aspx">Participating in sickness prevention and health promotion</a></h5> <p> <span id="dlNewReviews_lblReviews_0">Discuss one (1) example of how his health problem(s) would affect his everyday activities under each of the three topics. a. Physical b. Psychological </span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_1" class="studenthdname" href="https://www.tutorsglobe.com/question/give-examples-of-potential-health-literacy-concerns-53447312.aspx">Give examples of potential health literacy concerns</a></h5> <p> <span id="dlNewReviews_lblReviews_1">Give examples of potential health literacy concerns that may limit Mrs Gracie's ability to obtain adequate health care. </span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_2" class="studenthdname" href="https://www.tutorsglobe.com/question/when-health-or-safety-of-children-may-be-compromised-53447313.aspx">When health or safety of children may be compromised</a></h5> <p> <span id="dlNewReviews_lblReviews_2">Problem: Respond appropriately to 3 different situations where health or safety of children may be compromised </span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_3" class="studenthdname" href="https://www.tutorsglobe.com/question/when-someone-regularly-drinks-alcohol-or-uses-certain-drugs-53447314.aspx">When someone regularly drinks alcohol or uses certain drugs</a></h5> <p> <span id="dlNewReviews_lblReviews_3">When someone regularly drinks alcohol or uses certain drugs, their brain may begin to adjust to the presence of these substances.</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_4" class="studenthdname" href="https://www.tutorsglobe.com/question/what-is-it-like-to-be-a-mental-health-nurse-53447315.aspx">What is it like to be a mental health nurse</a></h5> <p> <span id="dlNewReviews_lblReviews_4">In the Learning Resources, you were introduced to several helping professions that a background in psychology could pave the way to.</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_5" class="studenthdname" href="https://www.tutorsglobe.com/question/study-investigated-the-effects-of-rapid-response-team-53447316.aspx">Study investigated the effects of rapid response team</a></h5> <p> <span id="dlNewReviews_lblReviews_5">Question: A study investigated the effects of rapid response team (RRT) on hospital-wide cardiopulmonary arrest rates.</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_6" class="studenthdname" href="https://www.tutorsglobe.com/question/problem-about-specific-drg-category-53447317.aspx">Problem about specific drg category</a></h5> <p> <span id="dlNewReviews_lblReviews_6">MS-DRG 999 is typically used as a placeholder for cases that do not fit into any specific DRG category or are incomplete. </span></p> </div> <!-- /comment-box --> </li> </td> </tr> </table> </ul> </div> </div> </div> </div> </div> </div> </div> <script> var url = 'https://www.tutorsglobe.com/include/javascript/watiWidget.js'; var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url; var options = { "enabled":true, "chatButtonSetting":{ "backgroundColor":"#00e785", "ctaText":"Whatsapp Support!!", "borderRadius":"25", "marginLeft": "0", "marginRight": "20", "marginBottom": "20", "ctaIconWATI":false, "position":"left" }, "brandSetting":{ "brandName":"Tutorsglobe", "brandSubTitle":"Trusted Since 2005", "brandImg":"https://www.tutorsglobe.com/include/images/chat-logo.svg", "welcomeText":"Hi there!\nDo you Need help?", "messageText":"Hello, Tutorsglobe !! I have a question!", "backgroundColor":"#00e785", "ctaText":"Chat with Whatsapp", "borderRadius":"25", "autoShow":false, "phoneNumber":"441416286080" } }; s.onload = function() { CreateWhatsappChatWidget(options); }; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); </script> <footer class="site-footer"> <div class="container"> <div class="footerlinks"> <a href="https://www.tutorsglobe.com/">Home</a> | <a href="https://www.tutorsglobe.com/about-us.aspx">Company Overview</a> | <a href="https://www.tutorsglobe.com/services.aspx">Services</a> | <a href="https://www.tutorsglobe.com/library/">Discover Q&A</a> | <a href="https://www.tutorsglobe.com/sitemap.aspx">Sitemap</a> | <a href="https://www.tutorsglobe.com/contact-us.aspx">Contact Us</a> | <a href="https://www.tutorsglobe.com/terms-and-conditions.aspx">T & C</a> | <a href="https://www.tutorsglobe.com/refundcancelpolicy.aspx">Refund Policy</a> | <a href="https://www.tutorsglobe.com/copyright-infringement-policy.aspx">Copyright Policy</a> | <a href="https://www.tutorsglobe.com/blog/archive/">Blog</a> | <a href="https://www.tutorsglobe.com/library/archive.aspx">Q&A</a> | <a href="https://www.tutorsglobe.com/education-directory.aspx">Directory</a> </div> <p>©TutorsGlobe</a> All rights reserved 2022-2023. </p> <script type="application/ld+json"> { "@context": "http://schema.org/", "@type": "product", "name": "Tutorsglobe", "image": "https://www.tutorsglobe.com/IncludeLib/Images/logo.png", "description": "elearning Platform - Tutor Service", "brand": { "@type": "elearning", "name": "Tutorsglobe" }, "aggregateRating": { "@type": "AggregateRating", "ratingValue": "4.9", "ratingCount": "37128" } } </script> <a href="#" class="settings"><i class="fa fa-angle-up"></i></a> <ul class="social-icons"> <li><a href="https://www.facebook.com/TutorsGlobe" rel="nofollow" target="_blank"><i class="fa fa-facebook-square"></i></a></li> <li><a href="https://twitter.com/Tutorsglobe" rel="nofollow" target="_blank"><i class="fa fa-twitter-square"></i></a></li> <li><a href="#" rel="nofollow"><i class="fa fa-youtube-square"></i></a></li> <li><a href="https://www.linkedin.com/company/tutorsglobe" target="_blank" rel="nofollow"><i class="fa fa-linkedin-square"></i></a></li> </ul> </div> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32333066-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.tutorsglobe.com/IncludeLib/js/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <script async src="https://www.googletagmanager.com/gtag/js?id=G-5E9QFMFDJR"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-5E9QFMFDJR'); </script> </footer> </div> <!-- /pageWrap --> <div class="overlay"> </div> <!-- JavaScript Files ================================================== --> <script type="text/javascript" src="../IncludeLib/js/jquery-1.11.2.min.js"></script> <script type="text/javascript" src="../IncludeLib/js/bootstrap.min.js"></script> <script type="text/javascript" src="../IncludeLib/js/jquery.mCustomScrollbar.concat.min.js"></script> <script type="text/javascript" src="../IncludeLib/js/script.js"></script> <script type="text/javascript" src="../IncludeLib/js/ie10-viewport-bug-workaround.js"></script> <script type="text/javascript"> //<![CDATA[ var Page_Validators = new Array(document.getElementById("RequiredFieldValidator1")); //]]> </script> <script type="text/javascript"> //<![CDATA[ var RequiredFieldValidator1 = document.all ? document.all["RequiredFieldValidator1"] : document.getElementById("RequiredFieldValidator1"); RequiredFieldValidator1.controltovalidate = "txtcomments"; RequiredFieldValidator1.errormessage = "Write atleast 100 words!!"; RequiredFieldValidator1.validationGroup = "Review"; RequiredFieldValidator1.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid"; RequiredFieldValidator1.initialvalue = ""; //]]> </script> <script type="text/javascript"> //<![CDATA[ var Page_ValidationActive = false; if (typeof(ValidatorOnLoad) == "function") { ValidatorOnLoad(); } function ValidatorOnSubmit() { if (Page_ValidationActive) { return ValidatorCommonOnSubmit(); } else { return true; } } //]]> </script> </form> </body> </html>