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

Quiz

CIT 111

David Aguilar 16 questions

Take the quiz

Questions in this quiz (16)

  1. 1The locationKey attribute in the Location table is an auto-incrementing number that the database guarantees is unique for each GPS reading. This means that within the Location table, the locationKey is what? (Check all that apply.)Image for question 1
    1. Aprimary key
    2. Bsurrogate key
    3. Cforeign key
    4. Dnatural key
  2. 2Numbers that don't include a decimal point are known as _____________________.
    1. Afixed point
    2. Bintegers
    3. Cfloating
  3. 3All of the following values can be stored in a column that’s defined as DECIMAL(6,2), except
    1. A-246.29
    2. B2479.95
    3. C0
    4. D32492.05
  4. 4Which uses the least amount of storage?
    1. Aexample' stored in a column of type VARCHAR2(20)
    2. B'exam' stored in a column of type VARCHAR2(20)
    3. C'ex' stored in a column of type VARCHAR2(20)
    4. Dthey all use the same amount of storage
  5. 5If I want to delete a ward row in the ward table, but the related table members has members from that ward; (In other words, the primary key of that ward is used as a foreign key of the members table) What has to happen first before I can delete that ward?Image for question 5
    1. AAny member of that ward must be deleted first
    2. BThe members table must be deleted
    3. CThe foreign key column must be removed from the members table
    4. DNew members must be added to that ward
  6. 6What does the DROP command do in this code?

    DROP TABLE movie;
    1. ADelete the data in the movie table leaving it an empty table
    2. BDeletes not only the data in the movie table, but the table definition as well--the entire table
    3. CDrops the rows in the movie table according to certain criteria.
    4. DDrops the last row of the current table
  7. 7Typically, most database designers consider a database structure normalized if it’s in the ________________________ normal form.
    1. A1st
    2. B2nd
    3. C3rd
    4. D4th
    5. EBoyce codd
  8. 8What is the SQL keyword that adds rows to a table?
    1. AADD
    2. BINSERT
    3. CDELETE
    4. DUPDATE
  9. 9When you code a DELETE statement for one or more rows, the _________________ clause specifies which row or rows are to be deleted.
    1. AWHERE
    2. BHAVING
    3. CON
    4. DALTER
  10. 10If you code a column list in an INSERT statement that includes a column that’s defined with a default value, you can insert the default value for that column by coding the ____________________ keyword in the VALUES clause of the INSERT statement.
    1. ANULL
    2. BDEFAULT
    3. CAI
    4. DAUTO

Information

Description
Information Technology Quiz on CIT 111, created by David Aguilar on 13/12/2019.
Language
English
Views
0
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?