Sei sulla pagina 1di 8

1.

Consider an example where an Oracle database works "behind the scenes" for common internet activity. Which of
the following best describes a database transaction?
-A person searching an airline website to find all available fares for a flight.

2.

Which of the following are examples of data vs. information.


-Both A and B

3.

What are the results of having all your data in one central location?
-Easier access to data
-Improved performance

4.

How do you turn "data" into "information"?


-By querying it or accessing it

5.

Which of the following is the correct order for the Database Development Process?
-Strategy, Analysis, Design, Build

6.

Oracle was one of the first relational database systems available commercially? True or False?
-True

7.

Data Modeling is the last stage in the development of a database. True or False?
-False

8.

Are all of the following examples of how changes in computing have affected day-to-day activities? Yes or No?
In the past you used to use the phone system to call directory assistance to get a phone number. Today you can
use your PC to look up a phone number online.
In the past you used to have to go to the shoe store to buy shoes. Today you can use your PC to order shoes
online.
In the past you had to use your PC to send a person an email. Today you can use your phone to send a text
message.
-Yes

9.

Users would use which of the following software to access essential business applications?
-Operatin System
-GUI Interface
-Internet Browser

10.

Which of the following are examples of e-businesses that use database software?
-Online clotching store
-Online book store
-Online personal shopping service

11.

Personal computers (PCs) have been in existence since 1950. True or False?
-False

12.

In the grid computing model, resources are pooled together for efficiency. True or False?
-True

13.

The overall mission of the Oracle Corporation is to use the internet and fast servers to meet the needs of
organizations by only storing data.
-False

14.

A customized hat is an example of the conceptual model or the physical model?


-Physical Model

15.

Many reasons exist for creating a conceptual model. Choose three appropriate reasons from the options below.
-They accurately describe what a physical model will contain.
-They capture current and future needs.
-They model functional and informational needs.

16.

Which of the following are reasons we create conceptual models?


-All of the above

17.

An Entity Relationship Diagram is an example of a Physical Model. True or False?


-False

18.

A/an _________ is a piece of information that in some way describes an entity. It is a property of the entity and
it quantifies, qualifies, classifies or specifies the entity.
-Attribute

19.

Entities are usually verbs. True or False?


-False

20.

In a physical data model, an attribute is represented as a/an


-Column

21.

Some of the following could be attributes of an ENTITY called PERSON. Select the incorrect attributes for
PERSON.
-Freddy Wilson
-Priya Hansenna

22.

What is the purpose of a Unique Identifier?


-To identify one unique instance of an entity, by using one or more attributes and/or relationships.

23.

An entity may have which of the following?


-Instances

24.

The word "Volatile" means....


-Changing constantly; unstable

25.

Which of the following entities most likely contains invalid attributes?


-Entity: Car. Attributes: Owner Occupation, Owner Salary, Speed

26.

All of the following would be instances of the entity PERSON except which?
-Male

27.

In the following statements, find two examples of ENTITY: Instance.


-DAIRY PRODUCT: milk
-BOOK: Biography of Mahatma Gandhi

28.

Which of the following statements about attributes are true?


-They describe, qualify, quantify, classify, or specify an entity.
-They have a data type such as a number or character string.

29.

Unique Identifiers....
-Distinguish one instance of an entity from all other instances of that entity

30.

A well structured ERD will show only some parts of the finished data model. You should never try to model the
entire system in one diagram, no matter how small the diagram might be. True or False?
-False

31.

An Entity Relationship model is independent of the hardware or software used for implementation. True or False?
-True

32.

Which of the following statements are true about ERD's?


-You should not model derivable data.
-A piece of information should only be found one place on an ERD.

33.

The purpose of an ERD is to document the proposed system and facilitate discussion and understanding of the
requirements captured by the developer. True or False?
-True

34.

Relationships always exist between


-2 entities (or one entity twice)

35.

In a business that sells computers, choose the best relationship name from CUSTOMER to ITEM (computer, in this
case).
-Each CUSTOMER must be the buyer of one or more ITEMS.

36.

Relationships can be either mandatory or optional. True or False?


-True

37.

What are the three properties that every relationship should have?
-Name, optionality, degree

38.

Consider the recommended drawing conventions for ERD's.


Indicate which of the following accurately describes diagramming conventions for entities and attributes:
-The * means that an attribute is mandatory or required and the entity name should be singular

39.

Attributes are written inside the entity to which they belong. True or False?
-True

40.

Entity boxes are drawn as


-Soft Boxes

41.

Entity names are always plural. True or False?


-False

42.

Which symbol is used to show that a particular attribute is optional?


-o

43.

On an ER diagram which symbol identifies an attribute as part of a unique identifier.


-#

44.

After looking at the diagram, choose the sentence below that could be "read" from the existing relationship (even
though you're missing relationship labels!)
-Each Student may participate in one or more Activities.

45.

Two entities can have one or more relationships between them. True or False?
-True

46.

When reading a relationship between 2 entities, the relationship is only read from left to right. True or False?
-False

47.

All instances of the supertype are also instances of one of the subtypes. True or False?
-True

48.

All instances of the subtypes must be an instance of the supertype. True or False?
-True

49.

Which of the following is true about supertypes and subtypes?


-Subtypes inherit the relationships and attributes of the supertype.

50.

Which of the following is a TRUE statement about the diagram below?


-Every A is a B

51.

A subtype can have a relationship not shared by the supertype. True or False?
-True

52.

A supertype should have at least two subtypes. True or False?


-True

53.

Which of the following is the best scenario for using supertype/subtype entities:
-A vehicle dealership that sells cars, trucks and boats on trailers.

54.

The "Other" subtype is best used:


-As an extra subtype to ensure that all instances of subtypes are mutually exclusive and complete. By having an
"Other" subtype, all instances of the Supertype will be of one subtype type.

55.

How should you handle constraints that cannot be modeled on an ER diagram?


-List them on a separate document to be handled programmatically

56.

Business rules are important to data modelers because:


-They capture all of the needs, processes and required functionality of the business.

57.

Which of the following is an example of a structural business rule?


-All employees must belong to at least one department.

58.

'Only managers can approve travel requests' is an example of which of the following?
-A procedural business rule.

59.

A business rule such as "All accounts must be paid in full within 10 days of billing" is best enforced by:
-Hiring a programmer to create additional programming code to identify and report accounts past due.

60.

Why is it important to identify and document business rules?


-It allows you to create your data model and then check it for accuracy.

61.

How would you model a business rule that states that on a student's birthday, they do not have to attend their
classes?
-You cannot model this. You need to document it

62.

Non-transferable relationships can only be mandatory, not optional. True or False?


-True

63.

If a relationship can be moved between instances of the entities it connects, it is said to be:
-Transferrable

64.

A non-transferable relationship is represented by which of the following symbols?


-Diamond

65.

What uncommon relationship is described by the statements: "Each LINE must consist of many POINTS and each
POINT must be a part of many LINES"
-Many to Many Mandatory

66.

When resolving an M:M relationship, the new relationships will always be __________ on the many side.
-Mandatory

67.

Which of the following are relationship types?


-One to Many
-Many to Many

68.

Many to many relationships between entities usually hide what?


-Another entity

69.

Which of the following pairs of entities is most likely to be modeled as a M:M relationship?
-STUDENT and CLASS
-CAR and DRIVER

70.

If the same relationship is represented twice in an Entity Relationship Model, it is said to be:
-Redundant

71.

When are relationships unnecessary?


-When you can derive the relationship from other relationships in the model

72.

Many-to-Many relationships are perfectly acceptable in a finished ERD. There is no need to do any more work on
them. True or False?
-False

73.

When you resolve a M-M by creating an intersection entity, this new entity will always inherit:
-A relationship to each entity from the original M-M.

74.

If an intersection entity is formed that contains no attributes of its own, its uniqueness may be modeled by
-None of the above.

75.

An entity can only have one UID. True or False?


-False

76.

A UID can be made up from the following:


-Relationships
-Attributes

77.

A unique identifier can only be made up of one attribute. True or False?


-False

78.

People are not born with "numbers," but a lot of systems assign student numbers, customer IDs, etc. A shoe has
a color, a size, a style, but may not have a descriptive "number". So, to be able to uniquely and efficiently
identify one instance of the entity SHOE, a/an ______________ UID can be created.
-Artificial

79.

When data is stored in more than one place in a database, the database violates the rules of
-Normalization

80.

When all attributes are single-valued, the database model is said to conform to:
-1st Normal Form

81.

The following entity is on 1st normal form: True or False?


ENTITY: VEHICLE
ATTRIBUTES:
REGISTRATION
MAKE
MODEL
COLOR
DRIVER
PASSENGER 1
PASSENGER 2
PASSENGER 3
-False

82.

An entity can have repeated values and still be in 1st Normal Form. True or False?
-False

83.

What is the rule of Second Normal Form?


-All non-UID attributes must be dependent upon the entire UID

84.

An entity can be on 2nd Normal Form even if it has repeated values. True or False?
-False

85.

Examine the following entity and decide which attribute breaks the 2nd Normal Form rule:
ENTITY: CLASS
ATTRIBUTES:
CLASS ID

DURATION
SUBJECT
TEACHER NAME AND ADDRESS
-TEACHER NAME AND ADDRESS

86.

As a database designer it is your job to store data in only one place and the best place. True or False?
-True

87.

Examine the following Entity and decide which sets of attributes breaks the 3rd Normal Form rule:
ENTITY: TRAIN (SYNONYM: ROLLING STOCK)
ATTRIBUTES:
TRAIN ID
MAKE
MODEL
DRIVER NAME
DEPARTURE STATION
NUMBER OF CARRIAGES
NUMBER OF SEATS
DATE OF MANUFACTURE
-DEPARTURE STATION, DRIVER NAME
-NUMBER OF CARRIAGES, NUMBER OF SEATS

88.

No databases in the world is ever truly on 3rd Normal Form. Everyone always stops after 2nd Normal Form. True
or False?
-False

89.

If the entity CD has the attributes: #number, *title, *producer, *year, o store name, o store address, this entity
is in 3rd Normal Form ("no non-UID attribute can be dependent on another non-UID attribute). True or False?
-False

90.

This diagram could also be expressed as a supertype/subtype construction. True or False?


-False

91.

Which of the following can be added to a relationship?


-An arc can be assigned

92.

Secondary UID's are


-Useful as an alternative means identifying instances of an entity

93.

Which of the following would best be represented by an arc?


-STUDENT ( University, Trade School)

94.

Which of the following is the definition for Third Normal Form?


-No non-UID attribute can be dependent on another non-UID attribute

95.

To visually represent exclusivity between two or more relationships in an ERD you would most likely use an
________.
-Arc

96.

All parts of a UID are mandatory. True or False?


-True

97.

A relationship can be both recursive and hierachal at the same time. True or False?
-False

98.

In this simple diagram, what comprises the unique identifier for the student class entity?
-student id and course id

99.

A recursive rationship should not be part of a UID. True or False?


-True

100.

Which of the following would be a good Unique Identifier for its Entity?
-Identification Number for Person
-Birthdate for Baby Which Includes Hour, Minute, and Seconds

101.

Historical data should always be kept. True or False?

-False

102.

Which of the following scenarios should be modeled so that historical data is kept?
-LIBRARY and BOOK
-STUDENT and GRADE

103.
-True

Modeling historical data can produce a unique identifier that includes a date. True or False?

104.

Audit trail attributes cannot be placed in the entities they are auditing, they must be placed in separate,
new entities, created just for that purpose. True or False?
-False

105.

Column integrity refers to


-Columns always containing values consistent with the defined data format

106.

One or more columns in a primary key can be null. True or False?

-False

107.

The explanation below is an example of what constraint type:


The value in the dept_no column of the EMPLOYEES table must match a value in the dept_no column in the
DEPARTMENTS table.
-Referential integrity

108.

A foreign key always refers to a primary key in the same table. True or False?

-False

109.

Foreign keys cannot be null when


-It is part of a primary key

110.

A table does not have to have a primary key. True or False?

-True

111.

The explanation below defines which constraint type:


A primary key must be unique, and no part of the primary key can be null.
-Entity integrity

112.

Identify all of the correct statements that complete this sentence: A primary key is ...
-A single column that uniqualy identifies each row in table
-A set of columns that uniquely identifies each row in a table
-A set of columns and keys in single table that uniquely identifies each row in a single table

113.

The explanation below defines which constraint type:


A column must contain only values consistent with the defined data format of the column
-Column integrity

114.

The explanation below is an example of what constraint type:


If the value in the balance column of the ACCOUNTS table is below 100, we must send a letter to the account
owner which will require extra programming to enforce.
-User-defined integrity

115.

In a physical data model, an entity becomes a _____________.

-Table

116.

Why would this table name NOT work in an Oracle database?


2007_EMPLOYEES
-Table names must start with an alphabetic character

117.

In an Oracle database, why would the following table name not be allowed 'EMPLOYEE JOBS'?
-You cannot have spaces between words in a table name

118.

Attributes become columns in a database table. True or False?

-True

119.

The transformation from an ER diagram to a physical design involves changing terminology.


Relationships in the ER diagram become __________ , and primary unique identifiers become ____________.
-Foreign keys, primary keys

120.

In a physical data model, a relationship is represented as a:


-Foreign Key

121.

The transformation from an ER diagram to a physical design involves changing terminology. Entities in
the ER diagram become __________ , and attributes become ____________.
-Tables, Columns

122.

Two entities A and B have an optional (A) to Mandatory (B) One-to-One relationship. When they are
transformed, the Foreign Key(s) is placed on:
-The Table B

123.

One-to-One relationships are transformed into Foreign Keys in the tables created at either end of that
relationship? True or False?
-True

124.

What do you create when you transform a many to many relationship from your ER diagram into a
physical design?
-Intersection table

125.

A barrred Relationship will result in a Foreign Key column that also is part of:
-Primary Key

126.

Relationships on an ERD can only be transformed into UIDs in the physical model? True or False?

-False

127.

One-to-Many Optional to Mandatory becomes a _______________ on the Master table.


-Nothing (There are no new columns created on the Master table)

128.

If you want to see just a subset of the columns in a table, you use what symbol?
-None of the above, instead of using a symbol you name the columns you want to see the data for.

129.

SELECT * FROM departments; is a:


-Statement

130.
-

The order of operator precedence is


*/+-

131.

What is a NULL value?


-An unknown value

132.

The SQL SELECT statement is capable of:


-Selection and projection

133.

The following is a valid SQL SELECT statement. True or False?

SELECT first_name || ' ' || last_name alias AS Employee_Name


FROM employees
-False

134.

Which of the following is NOT BEING DONE in this SQL statement?


SELECT first_name || ' ' || last_name "Name"
FROM employees;
-Concatenating first name, middle name and last name

135.

The structure of the table can be displayed with the _________ command:
-Desc and Describe

136.

In order to eliminate duplicate rows use the ________ keyword


-DISTINCT

137.

The concatenation operator ...


-All of the above

138.

Which query would give the following result?


-SELECT last_name, first_name, department_id FROM employees WHERE last_name = 'King';

139.

How can you write not equal to in the WHERE-clause


-All of the Above

140.

Which of the following statements will work?


-SELECT first_name ||' '||last_name NAME, department_id DEPARTMENT, salary*12 "ANNUAL SALARY" FROM
employees WHERE last_name = 'King';

141.

Which of the following would be returned by this SELECT statement:


-SELECT last_name, salary
FROM employees
WHERE salary < 3500;
-LAST_NAME SALARY Davies 3100

142.

To restrict the rows returned from an SQL Query, you should use the _____ clause:

-WHERE

143.

Which of the following is true?


-Date values are enclosed in single quotation marks

144.

Which of the following are true?


-Date values are enclosed in single quotation marks
-Date values are format-sensitive

145.

Which example would limit the number of rows returned?


-SELECT title FROM d_songs WHERE type_code = 88;

146.

When using the "LIKE" operator, the % and _ symbols can be used to do a pattern-matching, wild card
search. True or False?
-True

147.

Which two statements would select salaries that are greater than or equal to 2500 and less than or
equal to 3500?
-WHERE salary >= 2500 AND salary <= 3500
-WHERE salary BETWEEN 2500 AND 3500

148.

Which of the following are examples of comparison operators used in the WHERE clause?
-all of the above

149.

Which of the following WHERE clauses would not select the number 10?
-WHERE hours <>10

Potrebbero piacerti anche