You are on page 1of 19

1.The fact that the same operation may apply to two or more classes is called what? A. B. C. D.

Inheritance Polymorphism Encapsulation Multiple classification

Answer:B 2. The object-oriented development life cycle is which of the following? A. Analysis, design, and implementation steps in the given order and using multiple iterations. Analysis, design, and implementation steps in the given order and going through the steps no more than one time. Analysis, design, and implementation steps in any order and using multiple iterations. Analysis, design, and implementation steps in any order and going through the steps no more than one time.

B.

C.

D. Answer:A

3. Multiplicity is the same as what concept for an ERD? A. C. Relationship Entity B. D. Attribute Cardinality

Answer:D

4.Composition is a stronger form of which of the following? A. B. C. D. Aggregation Encapsulation Inheritance All of the above.

Answer:A 5.An abstract class is which of the following? A. B. A class that has direct instances, but whose descendants may have direct instances. A class that has no direct instances, but whose descendants may have direct instances. A class that has direct instances, but whose descendants may not have direct instances. A class that has no direct instances, but whose descendants may not have direct instances

C.

D.

Answer:B 6. The term Complete for a UML has the same meaning as which of the following for an EER diagram? A. B. C. D. Overlapping rule Disjoint rule Total specialization rule Partial specialization rule

Answer:C

7.

A UML diagram includes which of the following? A. B. C. D. Class name List of attributes List of operations All of the above.

Answer:D

8. An object can have which of the following multiplicities? A. B. C. D. Zero One More than one All of the above.

Answer:D 9. Which of the following statement is true concerning objects and/or classes? A. B. C. D. Answer:A An object is an instance of a class. A class is an instance of an object. An object includes encapsulates only data. A class includes encapsulates only data.

10.Which of the following applies to a class rather than an object? A. C. Query Scope B. D. Update Constructor

Answer:c 11. The benefits of object-oriented modeling are which of the following? A. B. C. D. Answer:D 12. A constructor operation does which of the following? A. B. C. D. Creates a new instance of a class Updates an existing instance of a class Deletes and existing instance of a class All of the above. The ability to tackle more challenging problems Reusability of analysis, design, and programming results Improved communication between users, analysts, etc. All of the above.

Answer:A 13.Which of the following is a technique for hiding the internal implementation details of an object? A. B. C. D. Encapsulation Polymorphism Inheritance All of the above. Answer:A

14. Aggregation is which of the following? A. Expresses a part-of relationship and is a stronger form of an association relationship. Expresses a part-of relationship and is a weaker form of an association relationship. Expresses an is-a relationship and is a stronger form of an association relationship. Expresses an is-a relationship and is a weaker form of an association relationship. Answer:A

B.

C.

D.

15.Which of the following indicates the maximum number of entities that can be involved in a relationship? A. B. C. D. Answer:B Minimum cardinality Maximum cardinality ERD Greater Entity Count (GEC)

16.In a one-to-many relationship, the entity that is on the one side of the relationship is called a(n) ________ entity. A. C. parent instance B. D. child Subtype

17.Which type of entity represents an actual occurrence of an associated generalized entity? A. B. C. D. Supertype entity Subtype entity Archetype entity Instance entity

Answer:D 18.A recursive relationship is a relationship between an entity and ________ . A. B. C. D. itself a subtype entity an archetype entity an instance entity

Answer:A 19.Which of the following refers to something that can be identified in the users' work environment, something that the users want to track? A. C. Entity Identifier B. D. Attribute Relationship

Answer:A

20.In which of the following is a single-entity instance of one type related to many entity instances of another type? A. B. C. D. One-to-One Relationship One-to-Many Relationship Many-to-Many Relationship Composite Relationship

Answer:B 21.Which of the following refers to an entity in which the identifier of one entity includes the identifier of another entity? A. B. C. D. Weak entity Strong entity ID-dependent entity ID-independent entity

Answer:C 22.Which type of entity is related to two or more associated entities that each contain specialized attributes that apply to some but not all of the instances of the entity? A. B. C. D. Supertype entity Subtype entity Archetype entity Instance entity

Answer:A

23.An attribute that names or identifies entity instances is a(n): A. C. Answer:C entity. identifier. B. D. attribute. relationship.

24.Properties that describe the characteristics of entities are called: A. C. entities. identifiers. B. D. attributes. relationships.

Answer:B 25. Entities of a given type are grouped into a(n): A. B. C. D. database. entity class. attribute. ERD.

Answer:B

26.Which of the following is NOT a basic element of all versions of the E-R model? A. B. C. D. Entities Attributes Relationships Primary keys

Answer:D

27.Which of the following data constraints would be used to specify that the value of cells in a column must be one of a specific set of possible values? A. B. C. D. A domain constraint A range constraint An intrarelation constraint An interrelation constraint

Answer:A 28.In a 1:N relationship, the foreign key is placed in: A. B. C. D. either table without specifying parent and child tables. the parent table. the child table. either the parent table or the child table.

Answer:C 29.Which of the following column properties specifies whether or not cells in a column must contain a data value? A. B. C. D. Null status Data type Default value Data constraints

Answer:A

30.A primary key should be defined as: A. B. C. NULL. NOT NULL. Either of the above can be used. None of the above are correct. Answer:B 31.Which of the following column properties would be used to specify that cells in a column must contain a monetary value? A. B. C. D. Null status Data type Default value Data constraints

Answer:B D. 32.Which of the following situation requires the use of ID-dependent entities? A. B. C. D. Association relationships only Multivalued attributes only Archetype/instance relationships only All of the above use ID dependent entities

Answer:D

33.A foreign key is: A. B. C. D. a column containing the primary key of another table. used to define data types. used to define null status. all of the above are above correct.

Answer:A

34.

Which of the following columns is(are) are required in a table? A. B. C. D. A foreign key An alternate key A primary key A surrogate key.

Answer:c 35.In a 1:1 relationship, the foreign key is placed in: A. B. C. D. either table without specifying parent and child tables. the parent table. the child table. either the parent table or the child table.

Answer:A

36.Which of the following column properties would be used to specify that cells in a column must be immediately filled with a monetary value of $10,000? A. B. C. D. Null status Data type Default value Data constraints

Answer:C

37.The identifier of an entity will become the of the new table. A. B. C. D. foreign key main attribute primary key identity key

Answer:C 38. Which of the following data constraints would be used to specify that the value of a cell in one column must be less than the value of a cell in another column in the same row of the same table? A. B. C. D. A domain constraint A range constraint An intrarelation constraint An interrelation constraint

Answer:C

39.A unique, DBMS-supplied identifier used as the primary key of a relation is called a(n): A. B. C. D. primary key. foreign key. composite key. surrogate key.

Answer:D

40.Which is not true about surrogate keys? A. B. C. D. They are short. They are fixed. They have meaning to the user. They are numeric.

Answer:C 41.For every relationship, how many possible types of actions are there when enforcing minimum cardinalities? A. C. Two Four B. D. Three Six

Answer:D

42.Which constraint requires that the binary relationship indicate all combinations that must appear in the ternary relationship? A. B. C. D. MUST COVER MUST NOT Both of the above. None of the above is correct.

Answer:A 43. Each entity is represented as a(n): A. C. tuple. attribute. B. D. table. file.

Answer:B

44. For every relationship, how many possible sets of minimum cardinalities are there? A. C. Two Four B. D. Three Six

Answer:C 45.If a relationship has a cascade updates constraint, then if ________ in the parent table is changed, then the same change will automatically be made to any corresponding foreign key value. A. B. the primary key any alternate key

C. D.

a surrogate key a foreign key

Answer:A 46.Which of the following column properties would be used to specify that cells in a column must contain a monetary value that is less than another monetary value in the same row? A. B. C. D. Null status Data type Default value Data constraints

Answer:D 47. ODBC minimum SQL grammar contains which of the following? A. B. C. D. INSERT, UPDATE, DELETE only Stored Procedures only Literals for date, time and timestamp only CREATE VIEW, DROP VIEW only

Answer:A 48.When using ODBC, which of the following processes ODBC requests and submits specific SQL statements to a given type of data source? A. B. C. D. Data source Driver Driver manager DBMS

Answer:B 49.The ODBC core API consists of which of the following functions? A. B. C. D. Commit or rollback transactions only Connect to data sources with driver-specific information only Connect to data sources only Both 1 and 3 above are in the OBDC core API.

Answer:D 50. ________ is a simple object model that is easier to understand and use than OLE DB, and is frequently used for database applications. A. C. ASP ODBC B. D. XML ADO

Answer:D

51.ODBC core SQL grammar contains which of the following?: A. B. C. D. INSERT, UPDATE, DELETE only Stored procedures only Full SELECT (includes subqueries) only Both 1 and 3 above are contained in the ODBC core SQL.

Answer:D

52.A good identifier is which of the following? A. B. C. D. One that can change over time Can be null One that is unique Be intelligent

Answer:C 53. A rectangle represents which of the following in an ERD? A. B. C. D. Attribute Entity Optional One Relationship

Answer:B 54.An entity name should be which of the following? A. B. C. D. A singular noun Specific to the organization Concise All of the above.

Answer:D

55.An oval represents which of the following in an ERD? A. B. C. D. Attribute Entity Optional One Relationship

Answer:A 56. When the minimum and maximum number of instances of an entity is one, you know which of the following? A. B. C. D. Mandatory one Optional one Mandatory many Cannot tell

Answer:A

57. A binary relationship cannot be which of the following? A. C. One-to-One Many-to-Many B. D. One-to-Many Zero-to-Zero

Answer:D

58.A ternary relationship involves how many entities? A. B. C. D. 3 or less 3 More than 3 3 or more

Answer:B

59.Which is not a type of data management technology? A. C. Relational Object-oriented B. D. Rational Dimensional

Answer:B 60.User views are included as part of which schema? A. B. C. D. Internal Conceptual External None of the above.

Answer:C

You might also like