Quiz
12344321
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (60)
1An internally generated value that is unique to a row in a table is called
- Aan object identifier
- Ba foreign key
- Ca candidate key
- Dan external key
2If a portion of a relation's key is a determinant, then the relation violates
- ASecond Normal Form
- BThird Normal Form
- CFourth Normal Form
- DFirst Normal Form
3The rule that every attribute value must be atomic is called
- AThird Normal Form
- BSecond Normal Form
- CFirst Normal Form
- DFourth Normal Form
4If a relation's key has more than one column, we say the key is
- Amultiple
- Bcomposite
- Cunique
- Drecursive
5If a data value is null, then it
- Ais 0
- Bmay not apply
- Cis blank
- Dis the empty string
6The column on the left side of a function dependency is called
- Athe determinant
- Bthe functional range
- Cthe functional domain
- Dthe decider
7In the relational mode, a column that connects on table to another is called
- Aa null column
- Ba foreign key
- Ca relation
- Dan attribute
8A foreign key that references its own table is called
- Arecursive
- Bparadoxical
- Chidden
- Dself-referential
9When we use the word "key" we mean
- Athe primary key
- Bany candidate key
- Ca domestic key
- Da foreign key
10If a relation is in Third Normal Form, then it is also in
- AFifth Normal Form
- BDomain-Key Normal Form
- CSecond Normal Form
- DFourth Normal Form
11Relationship names usually correspond in natural language to
- Aadverbs
- Bnouns
- Cverbs
- Dadjectives
12The attributes a specialization gets from its generalization are attributes the specialization
- Ainherits
- Bclaims
- Cowns
- Dreceives
13A collection of things of a particular type is called
- Aan object class
- Ban attribute
- Ca relationship
- Dan object
14Viewing the Checking Account and Savings Account classes are subclasses of the Account class is an example of
- Aregeneration
- Bcombination
- Cgeneralization
- Dreformulation
15In UML the largest number of instances related to a single instance under a relationship is called multiplicity
- Amaximization
- Bmaximality
- Cmultiplicity
- Dnumericity
16A superset of other sets is called
- Aa generalization
- Ba specialization
- Ca super-concept
- Da broadening
17In our conceptual methodology we represent real world entities as
- Aobjects
- Bthings
- Crelations
- Dquantities
18UML stands for
- AUnified Modeling Language
- BUniversally Meaningful Language
- CUnion of methodological Lists
- DUniform Master Linking
19The symbol used to specify a cardinality of "many" is
- A!
- B+
- Cthere is no special symbol
- D*
20Object class names usually correspond in natural language to
- Averbs
- Badverbs
- Cadjectives
- Dnouns
21The type of designation Numeric(8,2) means
- Aa minimum of 2 digits, a maximum of 8
- B8 digits to the left, 2 digits to the right of the decimal
- C8 digits, 2 of them to the right of the decimal
- Dusually only 8 digits, but sometimes 10 digits
22The advantage of using conceptual modeling in database design is
- Ait has languages for query
- Bit reduces complexity
- Ctext based modeling is easier to comprehend
- Dit is easier to implement
23How is a one-to-many relationship implemented in the a database schema?
- AThe key of the one class becomes a foreign key in the many class.
- BAnother table is made which contains the keys from both classes.
- CThe keys of each class become foreign keys in the other class.
- DThe key of the many class becomes a foreign key in the one class.
24In transforming a recursive relationship to the relational model a foreign key is created which references
- Aan intersection relation
- Bits own relation
- Ca specialization
- Da lexical attribute
25The relational model concept equivalent to a one-to-many relationship is
- Aa lexical attribute
- Ba generalization
- Ca candidate key
- Da foreign key
26When can a specialization class be subsumed into the relational table definition of the generalization class?
- AIt should always be subsumed
- BIt is never a valid option
- CIt is a valid option
- DIt depends on the number of other relationships
27The relational model concept equivalent to an attribute is
- Aa many-many relationship
- Ba specialization
- Can attribute
- Da foreign key
28How do you capture a recursive relationship in a relation schema?
- AA copy (renamed) of the primary key becomes a foreign key
- BThe primary key is also identified as a foreign key
- CA separate foreign key is defined
- DA separate intersection table is defined with the primary key and a copy (renamed) as a foreign key
29In a one-to-one relationship whether the cardinality is 1..1 or 0..1 has NO bearing on the decision of where ot place foreign keys.
- ATrue
- BFalse
30
How are the keys transformed in the relations to capture a one-to-one relationship in the conceptual model?- AA separate table is created with both primary keys as foreign keys
- BThe primary key of one class becomes a foreign key in the related class
- CThe primary key of each class is becomes a foreign key in the other class
- DA new table is created with its own primary key
31The relational model concept equivalent to an association class is
- Aan intersection relation with non-key attributes
- Ba relation with no key attributes
- Ca relation with a one-column key
- Da relation with no foreign key
32The relational model concept equivalent to a many-to-many relationship is
- Aa specialization
- Ban object set
- Ca foreign key
- Dan intersection relation
33The relational model concept equivalent to a specialization is
- Aa relation with a set of attributes
- Ba relation with two primary keys
- Ca relation with no foreign key
- Da relation whose key is also a foreign key
34How is a many-to-many relationship implemented in the database schema?
- AA new table is created with foreign keys of both classes
- BA key from one class becomes a foreign key in the other class. Either direction is okay.
- CThe key of each class becomes a foreign key in the opposite class
- DAll of the other choices are correct and will work.
35The conceptual model is more effective than the relational model for understanding the user's business domain.
- ATrue
- BFalse
36The relational model concept equivalent to an object class is
- Aa relation
- Ba key
- Can object set
- Dan attribute
37The advantage of using the relational model is
- Acomplexity reduction
- Bease of implementation
- Cforeign keys tie the relations together
- Dtext based modeling is easier to comprehend
38Because an external key is a unique identifier for an object, it is a good choice for the internal primary key in a relation of the relational schema.
- ATrue
- BFalse
39Classes not derived from other classes are called
- Aspecialization classes
- Babstract classes
- Cassociation classes
- Dbase classes
40Transforming a conceptual data model into a relational model in essence defines the database schema.
- ATrue
- BFalse
41To remove a table from an SQL database, which statement would one use?
- ADelete
- BAlter
- CRemove
- DDrop
42Which of the following is NOT a valid operation for defining the default action for a foreign key when a referenced row (tuple) is deleted?
- Aset null
- Bcascade
- Cremove
- Dno action
43The SQL data type used for automatically generating row ID's is
- AVarChar
- BInteger
- CNumeric
- DChar
44How is a many-to-many relationship implemented in the database schema?
- AThe key of each class becomes a foreign key in the opposite class
- BA key from one class becomes a foreign key in the other class. Either direction is okay.
- CA new table is created with foreign keys of both classes
- DAll of the other choices are correct and will work.
45What would the primary key be when one implements an association class as a database table?
- AThe primary key would consists of the primary keys from the endpoint classes.
- BThe primary key of either endpoint class becomes a foreign key in the table.
- CA internal object identifier created by the developer.
- DThe table is not required to have a primary key.
46When a foreign key constraint contains an "On Delete" clause, the record (tuple) being deleted would be:
- Athe nullable records (tuples)
- Bthe cascading record (tuple)
- Cthe record (tuple) containing the foreign key
- Dthe record (tuple) containing the primary key in the referenced table
47How is a one-to-many relationship implemented in the a database schema?
- Ahe keys of each class become foreign keys in the other class.
- BThe key of the many class becomes a foreign key in the one class.
- CThe key of the one class becomes a foreign key in the many class.
- DAnother table is made which contains the keys from both classes.
48How do you capture a 1..* recursive relationship in the design of a database table, e.g. when one employee is the supervisor of many other employees?
- AA separate intersection table is defined with the primary key and a copy (renamed) as a foreign key
- BAdd a foreign key that references its own primary key
- CAdd a foreign key reference to the primary key
- DCreate a new
49he type designation Numeric(8,2) means
- Aa minimum of 2 digits, a maximum of 8
- Busually only 8 digits, but sometimes 10 digits
- C8 digits, 2 of them to the right of the decimal
- D8 digits to the left, 2 digits to the right of the decimal
50If the primary key is a single column it is defined
- Aonly as part of the column definition, but nullable
- Bas part of the column definition, or after all column definitions
- Conly as part of the column definition, but not nullable
- Donly after all column definitions
51The order in which SQL Select clauses are executed is Select, From, Where, Order by
- ATrue
- BFalse
52Conditions connected by OR will be true if just one is true.
- ATrue
- BFalse
53Conditions connected by AND will be true when one is true.
- ATrue
- BFalse
54Month in Month(SaleDate) is a function that returns the name of the month in the date.
- ATrue
- BFalse
55The SQL statement used to take rows out of a table is Delete.
- ATrue
- BFalse
56The maximum number of clauses in an SQL Select statement is 8.
- ATrue
- BFalse
57The SQL statement used to change data in an existing row is Update.
- ATrue
- BFalse
58A column whose value is always unique in a table is called an individual.
- ATrue
- BFalse
59To sort the result in reverse alphabetical order you use the key word Desc.
- ATrue
- BFalse
60The From clause can contain a second name for a table. This name is called an alias.
- ATrue
- BFalse
Informationen
- Beschreibung
- Quiz am 12344321, erstellt von Justin Bittar am 16/03/2019.
- Autor
- Justin Bittar
- Sprache
- English
- Aufrufe
- 12
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz
Mehr zu Relational Model and ER Mapping