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

Quiz

Databases Topic 1 Quiz

jaydeeees 16 questions

Take the quiz

Questions in this quiz (16)

  1. 1What do the privileges associated with your role (the STUDENT role) allow you to do?
    1. ACreate tables
    2. BDrop tables
    3. CCreate triggers
    4. DAll of the above
  2. 2Foreign keys in the relational model make it possible to:
    1. AMaintain entity integrity
    2. BCreate unique records
    3. COpen the back door of the house when we have lost our primary key
    4. DCreate relationships between tables
  3. 3A database may contain __________.
    1. Atables.
    2. Bmetadata.
    3. Ctriggers.
    4. Dstored procedures.
    5. EAll of the above.
  4. 4You need to create a column in a table that will store numbers in the form nnn.xx (e.g., 145.67) What data type is this?
    1. ANUMBER(5)
    2. BNUMBER(5,2)
    3. CFLOAT(3,2)
    4. DNUMBER(3,2)
  5. 5The relational model __________.
    1. Awas first proposed in the late 1960's/early 1970's
    2. Bwas developed by E.F Codd
    3. Cwas developed at IBM
    4. Dresulted in the DBMS product, DB2
    5. EAll of the above.
  6. 6What is the main difference between the Oracle SQL data types VARCHAR2 and CHAR?
    1. ACHAR is variable in length
    2. BCHAR allows for numbers and text
    3. CVARCHAR2 is variable in length
    4. DVARCHAR2 has a maximum length of 255 characters
  7. 7Which of the following is NOT a property of a valid relation?
    1. AAll tuples must be unique – i.e., there must be an attribute or set of attributes that uniquely identifies each row
    2. BEach attribute in a relation has a distinct name
    3. CAttributes and tuples are not ordered
    4. DEach relation must contain data
  8. 8A null indicates:
    1. AA numeric value with value 0
    2. BThe absence of a value
    3. CA very small value
    4. DAn erroneous value
  9. 9In the relational database terminology, a table is synonymous with:
    1. AA relation
    2. BA row
    3. CAn attribute
    4. DA column
  10. 10In the relational database terminology, a tuple is synonymous with:
    1. AAn attribute
    2. BA column
    3. CA relation
    4. DA row

Information

Description
Introduction to databases and Relational Model
Author
jaydeeees
Language
English
Views
388
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?