إعـــــــلان

تقليص
لا يوجد إعلان حتى الآن.

حل واجب M359 TMA Spring 2017 whatsApp: O O 9 6 6 5 4 1 5 9 7 5 6 O

تقليص
X
 
  • تصفية - فلترة
  • الوقت
  • عرض
إلغاء تحديد الكل
مشاركات جديدة

  • حل واجب M359 TMA Spring 2017 whatsApp: O O 9 6 6 5 4 1 5 9 7 5 6 O



    تواصل معنا عن طريق
    whatsApp: 00966541597560
    اوعن طريق الايميل عبر:
    [email protected]
    الانستجرام:
    AOU.Doctor

    يسعدنا تلقي استفساراتكم وطلباتكم على مدار 24 ساعه يوميا


    whatsApp: 0 0 9 6 6 5 4 1 5 9 7 5 6 0

    حل واجب M359 TMA Spring 2017 whatsApp: O O 9 6 6 5 4 1 5 9 7 5 6 O
    ANSWER ALL QUESTIONS

    تواصل معنا عن طريق
    whatsApp: 00966541597560
    اوعن طريق الايميل عبر:
    [email protected]
    الانستجرام:
    AOU.Doctor

    يسعدنا تلقي استفساراتكم وطلباتكم على مدار 24 ساعه يوميا


    whatsApp: 0 0 9 6 6 5 4 1 5 9 7 5 6 0

    TMA Total 80
    Question 1 (16 marks)
    Use the block notes to answer the following questions:
    i. Explain what is meant by decision support systems, data warehousing and data mining
    and the relationship between them. (6 marks).
    ii. Explain the difference between strategic decision making and operational decision
    making (2 marks)
    iii. Explain the difference between the nature and source of data required to facilitate
    strategic and operational decision making. (2 marks)
    iv. Explain how the nature of the database systems required to support strategic decision
    making differs from the nature of database systems required to support operational
    procedures. What terms are used to refer to each of those two types of systems?(2
    marks)
    v. Explain using an example the Multidimensional data model and how it enables decision
    makers to view data from different multiple perspectives to support decision making. (4
    marks)
    16
    Question 2 (16 marks)
    Use the e-library and other resources to answer the following questions:
    i. Explain what is meant by NoSQL technology and why it was introduced? (2 marks)
    ii. Explain how does the NoSQL database technology differ from relational database
    technology (4 marks)
    iii. Explain what is meant by the "Key-value store" approach and what are its major
    advantages? (4 marks)
    iv. Give two different use cases for Key-value stores. (4 marks)
    You must provide at least two references in the Harvard style of referencing, excluding your
    course materials and Wikipedia. At least one of the references should be a recent reference
    (within the last four years) (2 marks).
    16
    Question 3 (16 marks)
    Develop a conceptual model for the following scenario. The data model should consist
    of the usual 5 components: E-R diagram, Entity Types (including entity type identifiers),
    assumptions, additional constraints, and limitations:
    It is desired to develop a company database.
    For each Employee, we need to keep the employee id, first name, middle name, last name,
    gender, title, telephone number and address.
    An employee may take many Leaves. No employee may take more than a total of more
    16
    TMA01 M359 Spring 2016/2017 4 of 6
    than 45 days of leave per year.
    Each Leave is taken by taken by exactly one employee.
    An employee may have zero or more dependents.
    An employee must be hired by exactly one Department.
    An Employee may or may not manage any department but can manage a maximum of a
    single department.
    An employee may additionally work on a number of projects.
    For each Leave, we maintain a unique leave id, a start date, an end date, and the type of
    leave taken (regular, emergency, medical or official assignment).
    A leave must be taken by a single employee.
    A Dependent is a person who is related to an employee (father, mother, son, daughter,
    husband or wife.). For each dependent, we keep a dependent Id, name, date of birth,
    gender and relationship to employee.
    A dependent must be related to a single employee. The value of the relationship must
    match the dependent gender. For example a female cannot be the son of an employee.
    For each Department, we keep the department id, name and website address.
    a department can hire many employees. Each department must also be managed by a
    single employee.
    For each Project, we keep a project id, name and mission.
    Each Project must have at least one employee working on it but possibly many. A Project
    may also make multiple PurchaseOrders.
    A PurchaseOrder has an order id and a date.
    Each PurchaseOrder is made by exactly one project.
    A PurchaseOrder must have at least one LineItem, but possibly many.
    For each LineItem, we keep a line item number that is unique within the purchase order,
    and the purchase order id and a quantity for the purchased item.
    Each LineItem must be related to a single Item.
    For each Item, we keep an item id and description.
    An item may participate in multiple line items.
    Note: you should expect about 9 entity types, 9 relationship types, 34 attributes, 8
    additional constraints, 4 assumptions and 2 limitations in the CDM for this
    application.
    The marks will be allocated as follows:
    4 marks for producing correct entity types (including attributes and identifiers)
    4 marks for producing correct relationships (including their degree and participation
    conditions)
    4 marks for producing correct additional constraint
    2 marks for producing reasonable and correct assumptions that match your ER diagram
    2 marks for producing correct limitations
    TMA01 M359 Spring 2016/2017 5 of 6
    Question 4 (16 marks)
    i. Convert the following relational representation back into a CDM using 4 relationships and 4
    entity types. Include the ER diagram, the entity types and the additional constraint
    sections only. (12 marks)
    relation Person
    person_id: person_ids
    name: names
    primary key person_id
    relation Movies
    movie_id: movie_ids
    title: titles
    primary key movie_id
    relation Participate
    person_id: person_ids
    movie_id: movie_ids
    primary key (person_id, movie_id)
    foreign key person_id references Person
    foreign key movie_id references Movie
    constraint ((project Person over person_id) difference (project Participate over
    person_id)) is empty
    constraint ((project Movies over movie_id) difference (project Participate over movie_id))
    is empty
    relation Watch
    person_id: person_ids
    movie_id: movie_ids
    primary key (person_id, movie_id)
    foreign key person_id references Person
    foreign key movie_id references Movie
    ii. Consider the schema below to answer the following questions: (4 marks)
    R (A, B, C, D, E, F, G)
    fd1: (A, B)  C, D, E, F, G
    fd2: C  A, B, D, E, F, G
    fd3: D  E
    fd4: G  B
    16
    TMA01 M359 Spring 2016/2017 6 of 6
    a. Show that relation R is in 2NF and not in 3NF and explain why (1 mark).
    b. Normalize the relation R into a set of 3NF relations (1 mark). Show the primary keys.
    (1 mark)
    c. Further normalize the results of the previous step into a set of BCNF relations if not
    already in BCNF and show the primary keys (1 mark).
    Question 5 (16 marks)



    تواصل معنا عن طريق
    whatsApp: 00966541597560
    اوعن طريق الايميل عبر:
    [email protected]
    الانستجرام:
    AOU.Doctor

    يسعدنا تلقي استفساراتكم وطلباتكم على مدار 24 ساعه يوميا


    whatsApp: 0 0 9 6 6 5 4 1 5 9 7 5 6 0



    16
    You will need to refer to the Hospital database to answer this question. Write SQL queries to
    perform the following operations. In each case show the SQL statement you used and the
    actual output from your DBMS. You are required to show the actual output of your queries.
    a) List drug details for all antibiotics with a price greater than 1.0.
    2
    b) List the team code and the names and positions of all members of team t29.
    2
    c) For each ward, list the ward number and its occupancy (= the actual number of
    patients in the ward). 2
    d) List the name of every nurse along with the name of her supervisor ordered by nurse
    name. 2
    e) get all the details of any doctor who does not provide any treatments.
    2
    f) Write a query to get for each drug type, the type and the number of drugs in the type
    in the database, ordered alphabetically by the drug type. 2
    g) Write a query to get the details of all drugs whose price is above the average price of
    all drugs of the same type. 2
    h) Write a query to retrieve the ward number and maximum height of patients for all
    wards having less than 6 patients, excluding wards w3, w5 and w7. 2
    Note: Both the standard SQL and the MySQL implementation of SQL are acceptable


    تواصل معنا عن طريق
    whatsApp: 00966541597560
    اوعن طريق الايميل عبر:
    [email protected]
    الانستجرام:
    AOU.Doctor

    يسعدنا تلقي استفساراتكم وطلباتكم على مدار 24 ساعه يوميا


    whatsApp: 0 0 9 6 6 5 4 1 5 9 7 5 6 0
    sigpic

  • #2


    تواصل معنا عن طريق
    whatsApp: 00966541597560
    اوعن طريق الايميل عبر:
    [email protected]
    الانستجرام:
    AOU.Doctor

    يسعدنا تلقي استفساراتكم وطلباتكم على مدار 24 ساعه يوميا


    whatsApp: 0 0 9 6 6 5 4 1 5 9 7 5 6 0

    Q−1: [5×2 marks [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image008.wmz[/IMG] .
    1. If [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image009.wmz[/IMG] = 2, determine if the vector [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image010.wmz[/IMG] is a linear combination of [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image011.wmz[/IMG] .Q−1: [5×2 marks]
      Answer each of the following as True or False (justify your answer):
    2. If A is a 2×3 matrix, then ATA = AAT.




    3. If A and B are n×n nonsingular matrices, then AB is nonsingular.



    4. تواصل معنا عن طريق
      whatsApp: 00966541597560
      اوعن طريق الايميل عبر:
      [email protected]
      الانستجرام:
      AOU.Doctor

      يسعدنا تلقي استفساراتكم وطلباتكم على مدار 24 ساعه يوميا


      whatsApp: 0 0 9 6 6 5 4 1 5 9 7 5 6 0



      c) If A and B are 3×3 matrices with |A| = 2 and |B| = 3, then |2AB-1| = 4/3.





    5. If |A| = -1, then AX = O has only the trivial solution.




    6. e) The vectors v1 = [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image001.wmz[/IMG] and v2 = [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image002.wmz[/IMG] are linearly dependent.





      Q−2: [6+4 marks]
    7. Find a matrix B in reduced row echelon form that is row equivalent to A;
    8. Solve the linear system AX = O.







    9. Q−3: [4+3+3 marks] Find all values of k for which the linear system

      [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image004.wmz[/IMG]
    10. Has a unique solution;
    11. Has infinitely many solutions;
    12. Has no solutions.




    13. Q­−4: [6+4 marks] Let [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image005.wmz[/IMG]
    14. Find A-1;
    15. Find a matrix C for which CA-1 = (AB-1)-1 + A-1.






    16. Q­−5: [6+4 marks] Let [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image006.wmz[/IMG]
    17. Find |A|;
    18. Deduce |-2A2| and |3A-1|.








    19. تواصل معنا عن طريق
      whatsApp: 00966541597560
      اوعن طريق الايميل عبر:
      [email protected]
      الانستجرام:
      AOU.Doctor

      يسعدنا تلقي استفساراتكم وطلباتكم على مدار 24 ساعه يوميا


      whatsApp: 0 0 9 6 6 5 4 1 5 9 7 5 6 0








      Q−6: [5+5 marks]:
    20. For which real numbers [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image007.wmz[/IMG] are the following vectors linearly independent in R3:
    21. [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image008.wmz[/IMG] .
    22. If [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image009.wmz[/IMG] = 2, determine if the vector [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image010.wmz[/IMG] is a linear combination of [IMG]file:///C:/Users/ENGMAI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image011.wmz[/IMG] .
    sigpic

    تعليق

    يعمل...
    X