Database - Departamental Exam Practice

5.0(1)
studied byStudied by 51 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/110

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

111 Terms

1
New cards

Components of Relational Model?

Data Structure, Data Manipulation, Data Integrity

2
New cards

Data structure Components?

Tables ( relations ), Rows ( records ) and Columns ( attributes )

3
New cards

Definition of Data Manipulation?

Powerful SQL operation for retrieving and modifying data

4
New cards

SQL Definition?

Structured Query Language

5
New cards

Definition of Data Integrity?

Mechanism for implementing business rules

6
New cards

Definition of Relation?

Two-dimensional table of data

7
New cards

A table consists of?

Table Rows and Columns

8
New cards

An attribute that uniquely identifies each row in a relation

Primary Key

9
New cards

This type of primary key consists of two or more attributes

Composite key

10
New cards

An attribute in a relation that serves as the primary key of another relation in the same database.

Foreign Key

11
New cards

Key fields can be ______ or ________

Simple ( single field ) or Composite ( more than one field )

12
New cards

Identifiers that enables a dependent relation

Foreign Keys

13
New cards

The order of the rows and columns must be?

Irrelevant

14
New cards

Five requirements for a table to qualify as a relation?

  1. Must have unique name

  2. Every attribute value must be atomic

  3. Every row must be unique

  4. Attributes must have unique names

  5. The order of the columns must be irrelevant

15
New cards

_______, in which each relation is represented by a rectangle containing the attributes for the relation

Graphical Representation

16
New cards

Can a relational database may consists of any number of relations?

Yes

17
New cards

Two common methods for expressing a schema?

Short text statements and Graphical Representation

18
New cards

______, in which each relation is named and the names of its attributes follow in parentheses

Short text statements

19
New cards

Define Short Text Statement

Each relation is named and the names of its attributes follow in parentheses

20
New cards

Define Graphical Representation

Each relation is represented by a rectangle containing the attributes for the relation

21
New cards

Define Referential Integrity

The rule states that any foreign key value MUST match a primary key value in the relation of the one side

22
New cards

Define Restrict

Does not allow deletion of the parent table if other rows depends on it

23
New cards

Relation is a term for?

Tables

24
New cards

Relations correspond with?

Entity type and many to many relationship types

25
New cards

Rows correspond with?

Entity instances and with many-to-many relationship instances

26
New cards

Columns correspond with?

Attributes

27
New cards

Is the word relation (in relational database) the same as the word relationship (in E-R model)?

No

28
New cards

Define Domain Constraint

Allowable values for an attribute

29
New cards

What is Entity Integrity?

Primary key should never be null

30
New cards

What is Action Assertions?

Business rules

31
New cards

Delete Rule that don’t allow delete of “parent” side if related rows exist in “dependent” side?

Restrict

32
New cards

Delete Rule that automatically delete “dependent” side rows that correspond with the “parent” side row to be deleted

Cascade

33
New cards

Delete Rule that set the foreign key in the dependent side to null if deleting from the parent side not allowed for weak entities

Set-to-Null

34
New cards

Three types of Entity?

Regular Entities, Weak Entities, Associative Entities

35
New cards

Define Relational Schema

A visual depiction of the relational database model

36
New cards

Entities that have an independent existence and generally represent real-world objects, such as persons and products.

Regular Entities

37
New cards

______ are entities that cannot exist except with an identifying relationship with an owner (regular) entity type.

Weak Entities

38
New cards

_______ are formed from many-to-many relationships between other entity types.

Associative entities

39
New cards

Rows correspond with?

entity instances and with many-to-many relationship instances.

40
New cards

Columns correspond with?

Attributes

41
New cards

Allowable values for an attribute.

Domain Constraints

42
New cards

_____ implements 1:N relationship

Foreign Key

43
New cards

Define Unary Relationship

A relationship between the instances of a single entity type.

44
New cards

Integrate all the functions such as the manufacturing, finance, sales, marketing, inventory, accounting, human resources.

ERP

45
New cards

The type of database applications that can be use by more than 100 users and this uses distributed server.

enterprise

46
New cards

A detailed representation of data and their relationships.

Project data model

47
New cards
It is a stored representation of objects and events that have meaning and importance in the user’s environment.

data

48
New cards

In database approach, data is manage by an IT director

False

49
New cards

The data processed to increase knowledge in the person using the data

information

50
New cards

This refers to data about data.

metadata

51
New cards

ERP stands for ___________________________

Enterprise Resource Planning

52
New cards

The type of database applications that can be use by five to twenty five users.

workgroup

53
New cards

Integrated decision support system derived from various operational databases

Data warehouse

54
New cards

A software system that is used to create, maintain, and provide controlled access to user databases.

DBMS

55
New cards

Data redundancy comprises

data integrity

56
New cards

EDI stands for ____________________

Electronic data interchange

57
New cards

The graphical system showing the definition and relationship of data.

Data model

58
New cards

A broad representation of data and their relationships.

Enterprise data model

59
New cards

In the conceptual data modeling under prototyping methodology what is the main objective?

to analyze the requirements and develop the data model.

60
New cards

Steps to Top-Down planning are

  1. Planning

  2. Analysis

  3. Design

  4. Implementation

61
New cards

This is the database schema that provides the E-R models.

cenceptual

62
New cards

This provide relationships between planning objects in the organization

Planning Matrixes

63
New cards

What are the phases in SDLC?


1. Planning

2. Analysis

3. Logical Design

4. Physical Design

5. Implementation

6. Maintenance

64
New cards

The iterative process breaking system description into finer and finer detail

functional decomposition

65
New cards

Prototyping can be described as?

for rapid development, Cursory attempt at conceptual data modeling

66
New cards

A generic Information system planning methodology for obtaining a broad understanding of the information system

Information Engineering

67
New cards

The main purpose of the 1st phase in the SDLC is to have_______________?

preliminary understanding of the system

68
New cards

Enterprise data model describes the high-level entities in an organization and the relationship between relations

False

69
New cards

In this schema, the database administrator determines the schema for different users.

External Schema

70
New cards

phases of Information Engineering planning?

1. Identify strategic planning factors

2. Identify corporate planning objects

3. Develop an enterprise model

71
New cards

User must enter a digit.

0

72
New cards

User can enter a digit, space, plus or minus sign.

#

73
New cards

User must enter a letter.

L

74
New cards

User can enter a letter or digit.

a

75
New cards

User must enter either a character or a space.

&

76
New cards

Converts all characters that follow to uppercase.

>

77
New cards

Characters immediately following will be displayed literally.

W

78
New cards

Causes the input mask to fill from left to right instead of from right to left.

!

79
New cards

Converts all characters that follow to lowercase.

<

80
New cards

User can enter a letter.

?

81
New cards

In Access, it is the custom screen that provide an easy way to enter and view data.

Form

82
New cards

Part of the Design view interface that allows you to define an object's appearance, behavior or characteristics.

Field Properties

83
New cards

Used to set a particular format for your field.

Input Mask

84
New cards

In Access that  allows you to set how the data in the field will be displayed on the screen.

Format

85
New cards

Highest value for field size of short text is

255

86
New cards

Stop the users from entering incorrect data into your tables.

Validation Rule

87
New cards

If the data to be filled-in is optional, the property ___________ must be with No value.

Required

88
New cards

Primary is a must in each table.

False

89
New cards

Relationship will be generated after the setting Lookup property of a field.

True

90
New cards

Short Text field size can be as low as 0. 

False

91
New cards

The Access object that is used to define and store data.

Table

92
New cards
The total quiz points for a student for an entire semester is a(n) ________ attribute.

derived

93
New cards
A fact is an association between two or more:

terms

94
New cards
An attribute that must have a value for every entity (or relationship) instance is a(n):

required attribute.

95
New cards
An attribute that can be calculated from related attribute values is called a(n) ________ attribute.

derived

96
New cards

In transforming ERD to relations, if there is a multivalued attribute, another relation will be created and the identifier of the superior entity will be also its identifier

False

97
New cards

In mapping binary relations, the Primary key on the one side becomes the foreign key on the many side when it is ___________.

1:M

98
New cards

In mapping binary relations, primary key on the mandatory side becomes the foreign key on optional side when it is_________.

1:1

99
New cards

When all multivalued attributes have been removed from a relation, it is said to be in:

first normal form

100
New cards

A primary key whose value is unique across all relations 

enterprise key