合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

        COMP9311代做、代寫Java/c++程序

        時(shí)間:2024-06-15  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



        COMP9311 24T2: Assignment 1
        Deadline: Sunday 21:59:59 16 June
        Question 1 (8 marks)
        Suppose we are helping an online retail store design a database to keep track of
        information about its sales, customers, products, etc. They have provided the following
        information about their business. You are required to draw an ER diagram based on the
        information provided.
        Do not add any entities or attributes to the ER diagram unless they are explicitly
        mentioned in the question. If you need to make any assumptions, state them clearly. Use
        the ER diagram notations presented in the lectures.
         The store sells multiple products to its customers. Each product has a unique
        product ID, a product name, a product description, a price, a brand, and a category.
        Each product has at least one product instance.
         Each product instance has an instance ID, a production date, and a status (e.g., in
        stock, sold). Each product instance is associated with only one product. The
        instance ID is unique within the same product but not unique across different
        products.
         The store has several warehouses in different locations. Each warehouse has a
        unique warehouse ID, a location, and a capacity.
         The store keeps track of the inventory of each product in each warehouse.
        Specifically, the store records which product instances are stored in which
        warehouse and when the product instance was added to the warehouse. The store
        also keeps track of the quantity of each product in each warehouse, which can be
        obtained from the product instance records.
         The store has multiple suppliers who supply products to the store. Each supplier
        has a unique supplier ID, supplier name, contact number, and address. Each
        supplier can supply one or more products, and each product can only be supplied
        by one supplier.
         The store has multiple customers who purchase products from the store. Each
        customer has a unique customer ID, a name (first name and last name), a contact
        number, one or more delivery addresses, and a membership level. Each customer
        can place zero or more orders, and each order is placed by one customer.
         Each order has a unique order ID, total price, payment method, shipping address,
        and the date and time the order was placed. Each order may contain one or more
        products. Each product may be contained in multiple orders. For better customer
        service, the store keeps track of which specific product instances were part of each
        order and the quantity of each product in the order (the quantity can be obtained
        from the product instances in the order).
         The store has multiple employees who are responsible for managing warehouses,
        products, and orders. Each employee has a unique employee ID, name (first name
        and last name), department, contact number, and date of hire. Each employee can
        manage a maximum of one warehouse, multiple products, and multiple orders.
        Each warehouse and product is managed by at least one employee. Each order is
        managed by one employee.
        Question 2 (6 marks)
        Convert the below ER-diagram into a relational data model. Use the notations/model
        taught in the lecture.

        Question 3 (10 marks)
        Consider the following schema for the hotel management database:
        Customer (customerID, name, phone)
        Hotel (hotelID, name, city, address)
        Room (hotelID, roomID, type, price, capacity)
        Booking (bookingID, customerID, hotelID, roomID, checkInDate, checkOutDate, cost)
        Facility (facilityID, facilityName)
        HotelFacility (hotelID, facilityID)

        Write the relational algebra expressions for the following queries: (Use the
        operators/notations taught in the lecture)
        1) Find the hotels that are located at Sydney and have bookings with cost greater than
        $1000 with checkInDate 2024-0**01. (2 marks)
        2) Find all the customer name who have stayed in a hotel with gym and meeting room
        on the day of 2024-0**01. (2 marks)
        3) Find the names of customers who have stayed at over 10 different hotels with
        room price higher than $200 in the year 2023. Only consider hotels that only
        provides rooms with capacity less or equal to 3. (3 marks)
        4) Find the names and phone numbers of customers who have ever stayed at all the
        hotels in Sydney that contains all the facilities. (3 marks)
        Assignment Submission
         You are required to submit an electronic version of your answers via Moodle. If
        your submission is handwritten, please ensure they are clear and legible.
         We only accept the .pdf format. Please name your files in the following format:
        ass1_zID.pdf (e.g., ass1_z5000000.pdf).
        Note:
        1. If you have problems with your submission, 
        2. If there are issues with Moodle, send your assignment to the above email with the
        subject title    COMP9311 Ass1 Submission  .

        Late Submission Penalty
         5% of the max mark (24 marks) will be deducted for each additional day.
         Submissions that are more than five days late will not be marked.
        Plagiarism
        The work you submit must be your own work. Submission of work partially or completely
        derived from any other person or jointly written with any other person is not permitted.
        The penalties for such an offence may include negative marks, automatic failure of the
        course and possibly other academic discipline.

        All submissions will be checked for plagiarism. The university regards plagiarism as a
        form of academic misconduct and has very strict rules. Not knowing the rules will not be
        considered a valid excuse when you are caught.

         For UNSW policies, penalties, and information to help avoid plagiarism, please see:
        https://student.unsw.edu.au/plagiarism.
         For guidelines in the online ELISE tutorials for all new UNSW students.

        請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp






         

        掃一掃在手機(jī)打開當(dāng)前頁
      1. 上一篇:代辦越南商務(wù)簽證邀請(qǐng)函多少錢(越南商務(wù)簽證邀請(qǐng)函可以代辦嗎)
      2. 下一篇:菲律賓旅游簽證怎么填寫(旅游簽申請(qǐng)表填寫教程)
      3. 無相關(guān)信息
        合肥生活資訊

        合肥圖文信息
        出評(píng) 開團(tuán)工具
        出評(píng) 開團(tuán)工具
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        戴納斯帝壁掛爐全國售后服務(wù)電話24小時(shí)官網(wǎng)400(全國服務(wù)熱線)
        戴納斯帝壁掛爐全國售后服務(wù)電話24小時(shí)官網(wǎng)
        菲斯曼壁掛爐全國統(tǒng)一400售后維修服務(wù)電話24小時(shí)服務(wù)熱線
        菲斯曼壁掛爐全國統(tǒng)一400售后維修服務(wù)電話2
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國24小時(shí)客服熱線
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國24小時(shí)
        海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
        海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
        合肥機(jī)場巴士4號(hào)線
        合肥機(jī)場巴士4號(hào)線
        合肥機(jī)場巴士3號(hào)線
        合肥機(jī)場巴士3號(hào)線
      4. 上海廠房出租 短信驗(yàn)證碼 酒店vi設(shè)計(jì)

        主站蜘蛛池模板: 国产精品毛片VA一区二区三区| 看电影来5566一区.二区| 亚洲国产综合精品中文第一区| 国产精品一区二区不卡| 中文字幕一区二区日产乱码| 国产伦一区二区三区免费| 国内自拍视频一区二区三区| 精品久久一区二区| 中文字幕乱码一区二区免费| 午夜精品一区二区三区在线观看| 精品一区二区久久久久久久网精 | 国产aⅴ精品一区二区三区久久| 亚洲国产韩国一区二区| 亚洲一区二区三区首页| 无码精品一区二区三区免费视频| 国产凹凸在线一区二区| 国产成人无码一区二区在线观看| 久久成人国产精品一区二区| 国产成人精品a视频一区| 一区视频免费观看| V一区无码内射国产| 国模大尺度视频一区二区| 中文字幕乱码一区二区免费| 色噜噜AV亚洲色一区二区| 亚洲色精品vr一区二区三区| 午夜影视日本亚洲欧洲精品一区| 亚洲AV福利天堂一区二区三| 老熟妇仑乱视频一区二区| 亚洲香蕉久久一区二区三区四区| 亚洲欧美日韩中文字幕在线一区| 在线观看国产一区二三区| 日本在线视频一区二区三区| 国产一区二区三区樱花动漫| www.亚洲一区| 亚洲欧洲一区二区| 精品国产精品久久一区免费式| 麻豆视传媒一区二区三区| 国产一区麻豆剧传媒果冻精品| 免费一区二区三区| 国产精品成人免费一区二区 | 文中字幕一区二区三区视频播放|