<em id="rw4ev"></em>

      <tr id="rw4ev"></tr>

      <nav id="rw4ev"></nav>
      <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
      合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

      代做 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. 無相關信息
      合肥生活資訊

      合肥圖文信息
      出評 開團工具
      出評 開團工具
      挖掘機濾芯提升發動機性能
      挖掘機濾芯提升發動機性能
      戴納斯帝壁掛爐全國售后服務電話24小時官網400(全國服務熱線)
      戴納斯帝壁掛爐全國售后服務電話24小時官網
      菲斯曼壁掛爐全國統一400售后維修服務電話24小時服務熱線
      菲斯曼壁掛爐全國統一400售后維修服務電話2
      美的熱水器售后服務技術咨詢電話全國24小時客服熱線
      美的熱水器售后服務技術咨詢電話全國24小時
      海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
      海信羅馬假日洗衣機亮相AWE 復古美學與現代
      合肥機場巴士4號線
      合肥機場巴士4號線
      合肥機場巴士3號線
      合肥機場巴士3號線
    4. 上海廠房出租 短信驗證碼 酒店vi設計

      成人久久18免费网站入口