GoConqr has a new look! Let us know what you think.

Quiz

Week 3 and 4

Dani Nunns 21 questions

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (21)

  1. 1Consider the following relation:

    STUDENT(studentID, studentName, dateOfBirth, address, emailAddress, phoneNumber)

    Which of the following attributes is not a multi-valued attribute?
    1. AphoneNumber
    2. BdateOfBirth
    3. CemailAddress
    4. Daddress
  2. 2Row is synonymous with the term:
    1. ARelation
    2. BColumn
    3. CRecord
    4. DAttribute
  3. 3The aim of using constraints like Foreign Key and Unique in a table is to
    1. Aconnect the table with other tables
    2. Bdefine domains for the table
    3. Cshow the quality of database design
    4. Dmaintain integrity of data values
  4. 4Depending on the design of a relation, changing the data can have undesirable effects and create:
    1. AAnomalies
    2. BReferential integrity constraints
    3. CSecurity
    4. DWorkplace enemies
  5. 5True or False: Association classes allow us to identify and illustrate a many-to-many relationship between two classes.
    1. ATrue
    2. BFalse
  6. 6UML Class Diagrams, in industry, generally will not show:
    1. ARelations
    2. BDomains
    3. CClasses
    4. DAttributes
  7. 7A domain
    1. Ais an extension
    2. Bcontains all possible values for an attribute
    3. Cis an intention
    4. Dis a synonym of attribute
  8. 8Consider the following relation:

    STUDENT(studentID, studentName, dateOfBirth, address, emailAddress, programName, CGPA)

    Which of the following attributes is a simple attribute?
    1. ACGPA
    2. BstudentName
    3. CNone of these attributes
    4. Daddress
  9. 9Consider the business rules:

    * A person is either a student or a staff, but not both

    * Every person must be either a student or a staff

    Which of the following designs is the best translation into logical design?

    Select one:
    Image for question 9
    1. APerson(ID, name, address)
      PK = (ID)
      Student(program)
      Staff(designation)
    2. BStudent(ID, name, address, program)
      PK = (ID)
      Staff(ID, name, address, designation)
      PK = (ID)
    3. CPerson(ID, name, address)
      PK = (ID)
      Student(ID, name, address, program)
      PK = (ID)
      FK = (ID) ~> Person(ID)
      Staff(ID, name, address, designation)
      PK = (ID)
      FK = (ID) ~> Person(ID)
    4. DPerson(ID, name, address, program, designation)
      PK = (ID)
  10. 10Which of the following designs is the most appropriate translation?Image for question 10
    1. AStaff(staffID, staffName, staffEmail, staffJoinDate, staffSalary)
      PK = (staffID)
      AK = (staffEmailID)
    2. BStaff(staffID, staffName, staffEmail, staffJoinDate, staffSalary)
      PK = (staffID)
    3. CStaff(staffID, staffName, staffEmail, staffJoinDate, staffSalary)
      PK = (staffID, staffEmailID)
    4. DStaff(staffID, staffName, staffEmail, staffJoinDate, staffSalary, yearsWithCompany)
      PK = (staffID)
      AK = (staffEmailID)

Information

Description
Quiz on Week 3 and 4, created by Dani Nunns on 27/10/2020.
Language
English
Views
2
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?