合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

        代做 ISOM3028、代寫 Python/java 編程
        代做 ISOM3028、代寫 Python/java 編程

        時間:2025-03-24  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



        ISOM3028 - Advanced Computer Programming 
        2025/2026
        Section 002
         
         
        Assignment 1​Due Date: 21 March, 2025 (IN CLASS)
        ___________________________________________________________________________
         
        Note: Submit both hardcopy (printed format) and softcopy. 
         
        1. For hardcopy, you are required to submit program listing, documentation, sample inputs and outputs. Documentation includes program description, function description, variable description and statement description. Inside program description, you need to mention the author name, i.e. your name, and student no.
         
        2. For softcopy, please compress all the class and program files and send the compressed file through UMMoodle. Save your compressed file as “bc1xxxx_Ass1.zip”. Please remember to use your student number as part of compressed file name.
         
        You are required to create an Book Management System for a book store. The system should allow the user to add new books, retrieve book information, update book information and display book information in the system.
        Instructions:
        1. Create a class named "Book" with the following attributes:
        • isbn (String): unique identifier for each book
        • bookTitle (String): name of the book
        • category (String): book category name
        • author (String): author name of the book
        • publisher (String): publisher name of the book
        • pubDate (LocalDate): publication date of the book
        • price (float): current price of the book 
        • stock (int): current stock level of the book
         
        2. Implement a constructor in the "Book" class that initializes all the attributes based on a parameter list.
         
        3. Implement the set and get methods for all the data fields mentioned above.
         
        4. Create a class named "BookManagementSystem" to manage the books. This class should have the following methods:
        • addBook(String isbn, String booktitle, String category, String author, String pub, String pub_date, float prc, int stock): Adds a new book to the system.
        • findBook(String isbn): Retrieves book info. based on the isbn.
        • changePrice(String isbn): Change book price based on isbn. 
        • increaseStock (String isbn): Increase stock level based on isbn upon stock arrival. 
        • displayBookList(String category): Displays all information of books based on a certain category.
        • deleteBook (String isbn): Deletes a book from book list based on isbn.
         
        5. Implement the "addBook" method in the "BookManagementSystem" class that creates a new "Book" object and adds it to a collection (e.g., ArrayList) of books.
         
        6. Implement the "findBook" method that searches a book based on isbn and returns the book object if it is found; otherwise returns null value for the book object.
         
        7. Implement the “changePrice” method that will change pricebased on isbn. It will display book title, isbn, category, author& publisher and ask user for the new price. It will update the new price of the corresponding book in the ArrayList.
         
        8. Implement the "displayBookList" method that iterates through the collection of book list based on a specific category and displays their information on screen. (Note: Publication Date should be displayed as dd-MMM-yyyy)
         
        9. Implement the “deleteBook” method that deletes a particular book from the book list based on isbn. It will display the information of the target book and then ask user for confirmation. If user confirms with ‘y’, the target book will be deleted from book list.
         
        10. Create a main method in a separate class to test your BookManagement System. In the main method, create an instance of the "BookManagementSystem" class and display the following menu containing four functions and the system will ask the user to input a menu item to execute a particular function:
         
        1. Create a new book
        2. Find a book
        3. Change book price
        4. Increase stock level
        5. Display book list
        6. Delete a book
        7. Exit
        Please input a menu item (1 – 7) : 
        For 1), the system should ask the user to input the new bookisbn, book title, category, author, publisher, publication date, book price and stock level. Then, it will ask users for confirmation before adding the book to the book list.
        For 2), the system will ask the user to input isbn and it will display all book information if the book is found; otherwise display error message and ask the user to input again until the isbn is found.
        For 3), the system will ask user to input isbn. If a book is found, it will display the isbn, book title, category, author, stock level and price before asking user to input the new price, which will be updated to the book list.
        For 4), the system will ask user to input isbn and it will display book isbn, book title, category, author, stock level and price before asking user to input the quantities to be increased for the stock level of target book; and then the input quantitieswill be increased to current stock level.
        For 5), the system will ask user to input book category, then it will display all information of the books that match the input book category. 
        For 6), the system will ask user to input isbn and it will display book isbn, book title, category, author, price and stock level before asking user for confirmation. If ‘y’, the book will be deleted from book list.
        For 7), the program will be terminated. For menu item 1) to 6), the system will display the menu and ask user to input menu item again when the corresponding function has been finished.
         
        Testing data: (Try to add the following  book data into the system)
         
        Book isbn: 019515****
        Book title: Classical Mythology
        Category: Mythology
        Author: Mark P. O. Morford
        Publisher: Oxford University
        Publisher Date: 15 January 1999
        Price: 229.9
        Stock: 10
        Book isbn: 0002005018
        Book title: Clara Callan
        Category: Genre Fiction
        Author: Richard Bruce Wright
        Publisher: HarperFlamingo
        Publisher Date: 4 December 2003
        Price: 83
        Stock: 8
         
         
        Book isbn: 1668068656
        Book title: Marketing & Sales
        Category: Travel
        Author: Brian Kelly
        Publisher: Avid Reader Press
        Publisher Date: 4 February 2025
        Price: 199.9
        Stock: 5
         
         
        Book isbn: ‎ 8304040525
        Book title: Social Media Marketing Workbook: How to use Social Media 
        Category: Marketing & Sales
        Author: Jason McDonald
        Publisher: Independently published
        Publisher Date: 17 December 2024
        Price: 320
        Stock: 12
        Book isbn: 1591844358 ‎ 
        Book title: The Challenger Sale: Taking Control of the Customer Conversation
        Category: Marketing & Sales
        Author: Jason McDonald
        Publisher: Portfolio
        Publisher Date: 10 November 2011
        Price: 95
        Stock: 5
         
         
        Book isbn: 1718502702
        Book title: Python Crash Course
        Category: Programming
        Author: Eric Matthes
        Publisher: No Starch Press
        Publisher Date: 10 January 2023
        Price: 230
        Stock: 12
         
         
        Book isbn: 1774583941
        Book title: Lean Marketing: More leads. More profit. Less marketing
        Category: Marketing & Sales
        Author: Allan Dib
        Publisher: O’Reilly Media
        Publisher Date: 7 May 2024
        Price: 200
        Stock: 5
        Book isbn: 1491910771
        Book title: Head First Java: A Brain-Friendly Guide
        Category: Programming
        Author: Kathy Sierra
        Publisher: O’Reilly Media
        Publisher Date: 21 June 2022
        Price: 329.99
        Stock: 10
         
         
         
        Sample I/O: (Fonts in red color are input data)
        1. Create a new book
        2. Find a book
        3. Change book price
        4. Increase stock level
        5. Display book list
        6. Delete a book
        7. Exit
        Please input a menu item (1 – 7) : 1
        Enter new book isbn: 019515****
        Book title: Classical Mythology
        Category: Mythology
        Author: Mark P. O. Morford
        Publisher: Oxford University
        Publisher Date (dd-MMM-yyyy): 15-Jan-1999
        Price: 229.9
        Stock level: 10
        Are you sure to add this book? (y/n): y
        New book added!
         
        1. Create a new book
        2. Find a book
        3. Change book price
        4. Increase stock level
        5. Display book list
        6. Delete a book
        7. Exit
        Please input a menu item (1 – 7) : 1
        Enter new book isbn: 0002005018
        Book title: Clara Callan
        Category: Genre Fiction
        Author: Richard Bruce Wright
        Publisher: Harper Flamingo
        Publisher Date (dd-MMM-yyyy): 04-Dec-2003
        Price: 83
        Stock level: 8
        Are you sure to add this book? (y/n): y
        New book added!
        ……
        ……
        ……
        1. Create a new book
        2. Find a book
        3. Change book price
        4. Increase stock level
        5. Display book list
        6. Delete a book
        7. Exit
        Please input a menu item (1 – 7) : 2
        Enter book isbn: 0002005018
         
        Book isbn: 0002005018
        Book title: Clara Callan
        Category: Genre Fiction
        Author: Richard Bruce Wright
        Publisher: HarperFlamingo
        Publisher Date: 04-Dec-2003
        Stock Level: 8
        Price: 83.00
         
        1. Create a new book
        2. Find a book
        3. Change book price
        4. Increase stock level
        5. Display book list
        6. Delete a book
        7. Exit
        Please input a menu item (1 – 7) : 3
        Enter book isbn: 1718502702
         
        Book isbn: 1718502702
        Book title: Python Crash Course
        Category: Programming
        Author: Eric Matthes
        Publisher: No Starch Press
        Publisher Date (dd-MMM-yyyy): 10-Jan-2023
        Price: 230
        Stock level: 12
        New price: 250
         
        1. Create a new book
        2. Find a book
        3. Change book price
        4. Increase stock level
        5. Display book list
        6. Delete a book
        7. Exit
        Please input a menu item (1 – 7) : 4
        Enter book isbn: 1718502702
         
        Book isbn: 1718502702
        Book title: Python Crash Course
        Category: Programming
        Author: Eric Matthes
        Publisher: No Starch Press 
        Publisher Date (dd-MMM-yyyy): 10-Jan-2023
        Price: 250.00
        Stock level: 12
        Quantities to be increased: 5
         
        1. Create a new book
        2. Find a book
        3. Change book price
        4. Increase stock level
        5. Display book list
        6. Delete a book
        7. Exit
        Please input a menu item (1 – 7) : 5
        Book Category: Programming
         
        Book isbn: 1718502702
        Book title: Python Crash Course
        Category: Programming
        Author: Eric Matthes
        Publisher: No Starch Press
        Publisher Date: 10-Jan-2023
        Price: 250.00
        Stock: 17
         
        Book isbn: 1491910771
        Book title: Head First Java: A Brain-Friendly Guide
        Category: Programming
        Author: Kathy Sierra
        Publisher: O’Reilly Media
        Publisher Date: 21-Jun-2022
        Price: 329.99
        Stock: 10
         
        1. Create a new book
        2. Find a book
        3. Change book price
        4. Increase stock level
        5. Display book list
        6. Delete a book
        7. Exit
        Please input a menu item (1 – 7) : 6
        Enter book isbn: 8304040525
        Book title: Social Media Marketing Workbook: How to use Social Media
        Category: Marketing & Sales
        Author: Jason McDonald
        Price: 320
        Stock level: 12
        Are you sure to delete the book? (y/n) y
        Book has been deleted!
        請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp





         

        掃一掃在手機打開當前頁
      1. 上一篇:代寫 COM4008、代做 SQL 程序設計
      2. 下一篇:關于射手花強制下款及客服電話投訴高額利息
      3. 無相關信息
        合肥生活資訊

        合肥圖文信息
        急尋熱仿真分析?代做熱仿真服務+熱設計優化
        急尋熱仿真分析?代做熱仿真服務+熱設計優化
        出評 開團工具
        出評 開團工具
        挖掘機濾芯提升發動機性能
        挖掘機濾芯提升發動機性能
        海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
        海信羅馬假日洗衣機亮相AWE 復古美學與現代
        合肥機場巴士4號線
        合肥機場巴士4號線
        合肥機場巴士3號線
        合肥機場巴士3號線
        合肥機場巴士2號線
        合肥機場巴士2號線
        合肥機場巴士1號線
        合肥機場巴士1號線
      4. 短信驗證碼 酒店vi設計 deepseek 幣安下載 AI生圖 AI寫作 aippt AI生成PPT 阿里商辦

        關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

        Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
        ICP備06013414號-3 公安備 42010502001045

        主站蜘蛛池模板: 成人国产精品一区二区网站公司| 日韩精品一区二区三区四区 | 亚洲午夜精品一区二区麻豆| 国产伦一区二区三区免费| 国产日韩一区二区三区在线观看 | 国产未成女一区二区三区 | 精品无码综合一区二区三区| 好看的电影网站亚洲一区| 国产午夜一区二区在线观看| 免费无码一区二区三区| 在线视频一区二区三区三区不卡| 精品国产日韩亚洲一区91| 精品国产一区二区三区色欲| 亚洲乱码日产一区三区| 国产成人久久精品麻豆一区| 国产精品一区二区电影| 国产精品久久无码一区二区三区网| 国产丝袜美女一区二区三区| 精品国产香蕉伊思人在线在线亚洲一区二区| 竹菊影视欧美日韩一区二区三区四区五区| 中文字幕一区视频一线| 一区二区三区在线播放视频| 国产熟女一区二区三区五月婷| 亚洲日韩国产一区二区三区在线| 少妇无码一区二区二三区| 日本一区二区三区在线观看| 国产午夜三级一区二区三| 夜夜爽一区二区三区精品| 天天躁日日躁狠狠躁一区| 成人精品一区二区三区校园激情| 精品国产鲁一鲁一区二区| 久久久精品人妻一区二区三区蜜桃| 亚洲无线码在线一区观看| 中文字幕久久亚洲一区| 伊人色综合一区二区三区| 亚洲日韩国产精品第一页一区| 国产精品亚洲综合一区| 国产一区二区三精品久久久无广告| 一区二区三区91| 久久国产高清一区二区三区| 中文日韩字幕一区在线观看|