Midterm Exam IT 507
Please Note: Please DO NOT RETURN the entire exam. Only Submit a word document of your answers only. DO not repeat the questions please.
For T/F please do not repeat the questions. Only write the question number and the correct answer for example: 1) T, 2) F…..
For Multiple choices only write the question number and the answer for example: 1) A 2) B
Total Points for this exam is: 100 points.
T/F (15 questions, 2 points each, total points 30)
1. Redundancy wastes space because you are storing different types of data in the same place.
2. A database will not only hold information about multiple types of entities, but also information about
the relationships among these multiple entities.
3. A relational database handles entities, attributes, and relationships by storing each entity in its own
table.
4. A query is a question represented in a way that the DBMS can recognize and process.
5. In an AND criterion, the overall criterion is true if either of the individual criteria is true.
6. The concept of grouping means that statistics will be calculated for individual records.
7. In many cases, you will need to create queries to select data from more than one table. To do so, it is
necessary to join the tables based on matching fields in corresponding columns.
8. Matrix algebra is a theoretical way of manipulating a database.
9. The union of tables A and B is a table containing all rows that are in either table A or table B or in
both table A and table B.
10. The intersection of two tables A and B is the set of all rows that are in table A but that are not in table B.
11. The product of two tables is the table created by combining every row in the first table with every row in the second table.
12. The join operation is the core operation of relational algebra because it is the command that allows
you to extract data from more than one table.
13. The SELECT command will allow you to write a query in SQL.
14. Removal of repeating groups is the starting point in the quest to create tables that are as free of problems as possible.
15. Relational Algebra is the foundation of relational Database.
Multiple Choice questions
(20 questions, 3 points each, total points 60)
1. is defined as the condition in which all of the data in the database are consistent with the real-world events and conditions.
a. Data integrity b. Data anomaly
c. Data ubiquity d. Data quality
2. A desktop database is a database.
a. single-user b. multiuser
c. workgroup d. distributed
3. Data warehouse contains historical data obtained from the .
a. operational databases b. desktop database
c. enterprise databases d. workgroup databases
4. Data is said to be verifiable if:
a. the data always yields consistent results. b. the data cannot be changed or manipulated.
c. the data is obtained from trusted sources. d. the data is stored in different places within the database.
5. provide a description of the data characteristics and the set of relationships that link the data found within the database.
a. Queries b. End-user data
c. Metadata d. Schemas
6. serve as the intermediary between the user and the database.
a. DBMSs b. Metadata
c. End-user data d. Programming languages
7. From a database point of view, the collection of data becomes meaningful only when it reflects properly defined_____.
a. business rules
b. business norms
c. business goals
d. business plans
8. is defined as the condition in which all of the data in the database are consistent with the real-world events and conditions.
a. Data integrity b. Data anomaly
c. Data ubiquity d. Data quality
9. A desktop database is a database.
a. single-user b. multiuser
c. workgroup d. distributed
10. Data warehouse contains historical data obtained from the .
a. operational databases b. desktop database
c. enterprise databases d. workgroup databases
11. Data is said to be verifiable if:
a. the data always yields consistent results. b. the data cannot be changed or manipulated.
c. the data is obtained from trusted sources. d. the data is stored in different places within the database.
12. data exist in the format in which they were collected.
a. Structured b. Semistructured
c. Unstructured d. Historical
13. data exist in a format that does not lend itself to processing that yields information.
a. Structured b. Semistructured
c. Unstructured d. Historical
14. Which of the following is true of business rules?
a. They allow the designer to set company policies with regard to data.
b. They allow the designer to develop business processes.
c. They can serve as a communication tool between the users and designers.
d. They provide a framework for the company’s self-actualization.
15. A noun in a business rule translates to a(n) in the data model.
a. entity b. attribute
c. relationship d. constraint
16. A verb associating two nouns in a business rule translates to a(n) in the data model.
a. entity b. attribute
c. relationship d. constraint
17. Oracle 11g is an example of the .
a. hierarchical model b. file system data model
c. relational data model d. XML/Hybrid data model
18. MySQL is an example of the .
a. hierarchical model b. file system data model
c. relational data model d. XML data model
19. A(n) is anything about which data are to be collected and stored.
a. attribute b. entity
c. relationship d. constraint
20. logic, used extensively in mathematics, provides a framework in which an assertion (statement of fact) can be verified as either true or false.
a. Predicate b. Database
c. Relational d. Index
Short Essay (10 points)
1) Explain multivalued attributes with the help of examples.
Good Luck
ANSWER: Multivalued attributes are attributes that can have many values. For instance, a person may have several college degrees, and a household may have several different phones, each with its own number.
Similarly, a car’s color may be subdivided into many colors for the roof, body, and trim. In the Chen Entity Relationship model, multivalued attributes are shown by a double line connecting the attribute to the entity.
are the result of formatting disorganized