You are on page 1of 26

Chapter 1 Study Guide Correct answers in GREEN. Your answers in BLUE.

A student database at XYZ university is an example of : 1. A: workgroup database. B: desktop database. C: enterprise database. D: single-user database. Which one of the following is an advantage of the database 2. management approach?: A: Programs are independent of the data format. B: Allows unlimited data structures. C: Reduced security and control of the data. D: Increased duplication of data. In a database system, all the application data is stored in a single 3. facility called the: A: DBMS B: CPU C: Hard drive D: Database A query language is a: 4. A: non-procedural language. B: 3G language. C: procedural language. D: object-oriented language. Which one of the following statements concerning common 5. data elements is true? A: A database consists of the data fields for a single application. B: A field consists of a grouping of files. C: A file consists of a grouping of related records. D: A record consists of a grouping of related files. A programmer must specify both what must be done and how it is to 6. be done in a _______ language. A: Machine B: Assembly Review Page

22

18

23

12

14

C: 3 GL D: 4 GL A field is to a record as 7. A: data are to files B: a column is to a row C: files are to tables D: attributes are to metadata Person, who manages the DBMS's use and unsure that the database is 8. functioning properly, is called as A: Authority B: DBA C: DA D: DNA In the database management approach, programs that are not 9. dependent on either the logical format of data or the physical location of the data result in: A: More languages which can be used. B: Programs which are longer. C: Programming which is easier to do. D: Database modifications that require complicated program changes. The database system is composed of the five major parts: 10. A: hardware, harddrive, monitor, data, user. B: hardware, software, people,procedures and data. C: software, you, me, DBA, client D: DBMS, hardware, user, programmer, engineer A logical grouping of characters is a: 11. A: Character. B: Field. C: Record. D: File. File-processing systems have important limitations: 12. A: Data is separated and isolated. B: Data is often duplicated. C: Application programs are dependent on file formats. D: All of the above.

12

20

22

19

12

13

A database designed to support a company's data-to-day operations is 13. called __________database: A: Tranactional B: production C: company D: a or b a characteristic of database management systems? 14. A: They eliminate the need for database design since requirements expressed as data models can be automatically transformed into database implementations. B: They create complex structures required for data storage. C: They transform data for physical storage. D: They enforce security within the database. Data that display inconsistency are referred to as data that lack 15. A: good data B: data integrity C: data redundancy D: data anomaly a type of multi-user database? 16. A: Internet databases B: workgroup databases C: organizational databases D: personal databases The DBMS provides data access via a 17. A: Structured programming language. B: Object-oriented language. C: Query language. D: Machine language. A database management systems query language: 18. A: Usually consists of statements embedded in a host language such as COBOL. B: Is used by the database administrator to specify the data contents, relationships, and structure of a database. C: Is designed to be used by end users to provide them with

23

17

24

24

immediate responses to ad hoc questions. D: Is a powerful database feature that is rarely provided in microcomputer DBMS. A ___________ _____________ develops when all the required 19. changes in the redundant data are not made successfully. A: data integrity B: data anomaly C: data security D: bad data A DBMS that supports a database located at a single site is called: 20. A: Centralized DBMS. B: Single-user DBMS. C: Distributed DBMS. D: User-friendly DBMS.

18

Chapter 2 Study Guide Correct answers in GREEN. Your answers in BLUE.Review Page
model: A: sometimes difficulty to mange well B: can cause database design problems C: is the current standard D: a and b 40 2.A more current version of the ERD is the __________ __________ model A: Peter Chen B: Rob Coronel C: data base D: Crow's Foot 47 3.The basic building blocks of all data are ________ ___________ _________ A: user, DBA, computer B: entities, attributes, relationships C: columns, tables, rows D: data, information, user 31 4.A _______ __________ is a visual representation of the relational database's entities, the attributes within the entities, and the relationships between those entities A: the subschmea B: relational schema C: internal schema 1.The Network database

D: external schema 42 5.A library has many members. It also has thousands of books. It keeps records of all members and all books. A member is allowed to borrow up to eight books at any one time. When books are loaned, loan records are created so that they can keep track of who has which book. What is the relationship between library members and library books? A: Many to many? B: One to many? C: One to one? D: book to member? 31 6.Data and their relationships modeled in a single structure is known as A: object B: relation C: method D: none of the above 49 7.Hardware independent data model means that the model does not depend on A: software B: hardware C: machine D: language 59 8.In a network database terminology, a relationship is called a _______ A: relation B: ERD C: set D: member 39 9.Which of the following is a structurally independent database model: A: Hierarchical B: Network C: Object-oriented D: any model 56 10.Conceptual database models use 3 types of relationships: A: M:M,N:N,2:2 B: 1:M,M:N,1:1 C: 1:1,10:10,M:M D: N:N,1:3,M:1 31 11.A ___________ is a collection of similar objects with shared structure and behavior A: class B: methods C: programs D: data 50 12.The conceptual organization of the entire database as viewed by the database administrator is called the

A: subschema B: network schema C: my schema D: user's schema 38 13.Classes are organized in a class in a class A: hierarchy B: inheritance C: method D: data 50 14.The library employs seven members of staff. What is the relationship between the members of staff and members of the library? A: One to One? B: Ont to many? C: nor to none D: Many to many? 31 15.The ERD models use the term __________ to label the types of relationships. A: labeling B: diagram C: a or b D: connectivity 45 16.The _________ model is the representation of the database as 'seen' by the DBMS A: internal B: external C: outside D: inside 59 17.In network terminalogy, each set is composed of at least 2 record types: A: owner and member B: user and DA C: DBA and you D: customer and DBA 39 18.Which of the following database models adds semantic content: A: Entity-Relationship B: Relational C: Object-oriented D: Network 56 19.SQL is a ________ generation language. A: first B: third C: fourth D: second

44 20.The _______________ model represents a global view of the database A: logical B: imaginary C: real D: conceptual 57

Chapter 3 Study Guide Correct answers in GREEN. Your answers in BLUE.Review Page
algebraic operation that, intuitively, vertically slices an _____________________________________ from a table. A: entire column (or group of columns) B: entire row (or group of rows) C: entire table D: entire relation 89 2.Which one of the operators below does not require the two operands to be unioncompatible (that is, have exactly the same number and types of attributes)? A: intersection B: union C: difference D: division 92 3.The functional dependency A -> B for relation schema R(A,B,C,D) implies that: A: no two tuples in R can have the same value for attribute B B: no two tuples in R can have the same value for attribute A C: any two tuples in R that have the same value for B must have the same value for A D: any two tuples in R that have the same value for A must have the same value for B 81 4.The concept or property of using a foreign key is called: A: entity integrity B: database integrity C: personal integrity D: referential integrity 82 5.A key functionally determines an entire: A: column B: row C: table D: relation 80 6.The columns of a relation are sometimes called: A: domain B: attributes 1.Projection is a relational

C: tuples D: horizontal 76 7.A row of the table is also called: A: column B: character C: attribute D: tuple 76 8.All values in a column can contain: A: different data format B: format doesn't matter C: integer data format only D: same data format 77 9.Which of the following is NOT a relational operator: A: PRODUCT B: DIVIDE C: ADDITION D: UNION 86 10.Each table in a relational database must have a: A: foreign key B: secondary key C: primary key D: super key 79 11.A field that uniquely identifies a record is called a A: main field B: header C: key field D: important field 79 12.What fields would a loans record of the library contain? A: loan id, book price, date of purchase B: loan id, book title, book author, member id C: loan id, date of loan, book title, member id D: member id, book ISBN number, date of loan 77 13.Each column has a specific range of values known as the A: numbers B: characters C: attribute domain D: fields 77 14.A key is A: is a field that identifies only one record B: a numeric field like 'membership number'

C: the most important field in a record D: is the first field of table 79 15.A ___________ key is an attribute whose value match the primary key values in the related table. A: secondary B: primary C: foreign D: super key 84 16.Consider the following relation Student(name, id). Student has 100 tuples. Each student id is unique, but there are five students that share the same name (joe, everyone else has a unique name). How many tuples will the following query return? PROJECT id A: 100 B: 10 C: 5 D: 1000 89 17.Which of the following is true (assume that R and S are two union-compatible relations)? (x means PRODUCT, U means Union, - means DIFFERENCE) A: R x S = S x R B: R U S = S U R C: R - S = S -R D: None of the above 87 18.Which one of the following is correct? A: a join of two relations is a restriction on their cartesian product B: the degree of the equi-join of two relations is the same as the degree of the natural join of the same relations C: a cartesian product of two relations is the same as their union D: a join is always an equi-join or a natural join 90 19.Selection is a relational algebraic operation that, intuitively, horizontally selects some ____ from a table: A: columns B: rows C: rows and columns D: table 88 20.Which of the following evaluates to zero? A: 10 * Null B: Null C: 0 + Null D: None of the above 82

Chapter 4 Study Guide Correct answers in GREEN. Your answers in BLUE.Review Page
from one or more related entities, it is said to be ________________ A: existence-dependent entity B: existence-independent entity C: strong entity D: b or c above 133 2.A _______________ _______________ exists when the related entities are existencedependent. A: weak relationship B: identifying relationship C: strong relationship D: b or c above 135 3.A relationship's _______ indicates the number if associated entities or participants. A: degree B: cardinality C: strength D: none of the above 142 4.The _________ entity contains the unique attributes. A: supertype B: anytype C: subtype D: none of the above 151 5.An ____________ ____________ is one based on repetition of processes and procedures. A: sequential process B: iterative process C: a or b above D: none of the above 157 6._________ expresses the specific number of entity occurrences associated with one occurrence of the related entity A: degree B: weakness C: strength D: cardinality 131 7.The existence of an ______________ indicates that the minimum cardinality is 0 for the optional entity A: mandatory B: notionality C: a or b above D: none of the above 1.If an entity can exist apart

135 8.In Crow's Foot model, "crow`s feet" are used to indicate A: all relationships B: the "many" side of a relationship C: The "one" side of a relationship D: mandatory relationships 154 9.In Crow's Foot model, an "O" on the relationship line next to an entity is used to indicate that A: the entity`s participation in the relationship is optional B: the entity`s participation in the relationship is mandatory C: there are no instances of that entity (empty set). D: there are no primary keys defined for the entity. 154 10.If every SUPERVISOR can have either none or many SUBORDINATES, the minimum...maximum cardinality for SUBORDINATES is A: 1..1 B: 0..1 C: 1..N D: 0..N 132 11.A relationship where the minimum and maximum cardinality are both one is a _______ A: Mandatory one B: Optional C: Unidirectional D: Cross-linked 138 12.A(n) _________ is the relationship between a weak entity type and its owner. A: Member chain B: Chain link C: Identifying relationship D: Jump path 139 13.Recursive relations are also termed as __________________ relations A: binary B: ternary C: unary D: Quaternary 142 14.In relational databases, most common relationships are: A: binary B: ternary C: unary D: none of the above 142 15.An __________ process is based on repetition of processes and procedures. A: recursive B: cycling

C: non-iterative D: iterative 157 16.A strong relationship is also known as a(n) _______________ relationship. A: identifying B: non-identifying C: recursive D: iterative 135 17.A subtype entity contains the _________ attributes. A: unique B: shared C: non-shared D: none of the above 151 18.Which of the following is FALSE? A: composite attributes and composite keys are not the same B: composite attributes and composite keys are the same C: simple attribute cannot be subdivided D: none of the above page 127 19.Which of the following is TRUE? A: single-valued attribute is a simple attribute B: composite attribute is the same as simple attribute C: single-valued attribute is not necessarily a simple attribute D: none of the above 127 20.If an entity's existence depends on the existence of one or more other entities, it is said to be ________________ A: existence-dependent entity B: existence-independent entity C: strong entity D: weak entity 133

Chapter 5 Study Guide Correct answers in GREEN. Your answers in BLUE.Review Page
consists of only a single attribute is in 2NF if A: it is in 1NF B: It has no partial dependencies C: a and b D: none of the above 192 2.A table is in 4NF if A: it is in 3NF 1.A table whose primary key

B: all attributes must be dependent on the primary key, but they must be independent of each other C: no row may contain two or more multivalued facts about an entity D: b and c 207 3.A relational table must not contain ______________ groups. A: repeating B: same C: different D: none of the above 188 4.Higher normal forms are better than lower normal forms because higher normal forms yield fewer _____________ _______________ in the database. A: update, delete B: data storage C: data redundancies D: none of the above 209 5.The denormalization yields less I/O in order to __________ processing speed. A: increase B: decrease C: lower D: none of the above 211 6.The table ONLEAVE has: A: Multi-valued attributes B: Partial functional dependency C: no dependency D: Transitive dependency 190 7.The following is a functional dependency in the table STUDENT: A: Minor -> Major B: Major -> Minor C: Minor -> Name D: Major -> Age 189 8._____________ _____________ depicts all the dependencies found within a given table structure. A: dependency diagram B: independent diagram C: nice diagram D: any diagram 189 9.Any attribute that is not even part of a key is called ___________ attribute. A: composite B: nonprime C: nonkey D: b or c 191 10.A table is in ___________ if every determinant in the table is a candidate key.

A: 1NF B: 2NF C: BCNF D: 3NF 199 11.The _______ is the basic building block in the database design process. A: row B: column C: table D: entity 184 12.3NF and BCNF are equivalent if a table contains only A: two candidate keys B: one candidate key C: three candidate keys D: none of the above 201 13.A table with a _____________ cannot exhibit partial dependencies. A: two rows B: single-attribute C: three columns D: none of the above 209 14.A table that satisfies 2NF: A: May Satisfy 3NF B: May violate 1NF C: Always satisfies 3NF D: Always satisfies 1NF 192 15.A functional dependency between two or more nonkey attributes is called a(n): A: Transitive dependency B: Partial functional dependency C: Partial nonkey dependency D: Partial transitive dependency 190 16.Denoramlization produces a ____________ normal form. A: higher B: upper C: slower D: lower 184 17.The 1NF describes the tabular format in which: A: all the key attributes are defined B: no repeating groups in the table C: all attributes are dependent on the primary key D: all of the above 190 18.A _____________ is any attribute whose value determines other values within a row.

A: determinate B: indeterminant C: dependency D: none of the above 192 19.The ER diagram provides ________ view of an organization's data requirements and operations. A: micro B: macro C: great D: none of the above 202 20.Normalizing the table will reduce data ________________. A: redundancies B: anatomy C: storage D: none of the above 188

Relational Data**** )

Relational Data**** ****************************** : ____________________________________

____ : Relation : Table Attribute :

Relation Degree :

: Unary - -

Binary

Ternary 3 -

____________________________________ ______________ : - - . - . - . - . - ____________________________________ _ ______________ : : . :

Null . : : ____________________________________ _______ : Primary Key : :

Null

Composite Key : : : . Candidate Key : :

Null Null Null : . Foreign Key : :

. :

Data Type . ____________________________________ _______