Chapter 4: Database concepts II Flashcards

1
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

To maximise the flexibility of the database structure in the business environment, achieving the _______ normal form is sufficient.

a. Third
b. Boyce-Codd
c. Fourth
d. Fifth

A

To maximise the flexibility of the database structure in the business environment, achieving the _______ normal form is sufficient.

*a. Third

b. Boyce-Codd
c. Fourth
d. Fifth

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Normalisation is the process of ____________ to eliminate repeating groups and data redundancies.

a. assigning primary keys to database tables
b. assigning attributes to entities
c. assigning foreign keys to database tables
d. assigning relationships to entities

A

Normalisation is the process of ____________ to eliminate repeating groups and data redundancies.

a. assigning primary keys to database tables

*b. assigning attributes to entities

c. assigning foreign keys to database tables
d. assigning relationships to entities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

With respect to REA models, which of the following statements is NOT true?

a. REA models the exchanges in the various processes in an organisation and brings these exchanges together to form an enterprise system.
b. REA models concern the developing of the dualities between resources, events and agents.
c. REA models assists the development of database structures that can be used to capture the details of a business process.
d. REA models have been implemented in actual accounting systems in practice.

A

With respect to REA models, which of the following statements is NOT true?

a. REA models the exchanges in the various processes in an organisation and brings these exchanges together to form an enterprise system.
b. REA models concern the developing of the dualities between resources, events and agents.
c. REA models assists the development of database structures that can be used to capture the details of a business process.

*d. REA models have been implemented in actual accounting systems in practice.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The resource that decreases is:

a. customer order.
b. inventory.
c. customer payment.
d. cash.

A

The resource that decreases is:

a. customer order.

*b. inventory.

c. customer payment.
d. cash.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What normal form is the Lecturer Table at?

a. First normal form.
b. Second normal form.
c. Third normal form.
d. The table is not at any normal form.

A

What normal form is the Lecturer Table at?

a. First normal form.

*b. Second normal form.

c. Third normal form.
d. The table is not at any normal form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following statements about the REA model is incorrect?

a. The REA model emphasises the recording of debits and credits within a relational database environment.
b. The REA provides a structured approach for modelling business processes.
c. The REA model consists of resources, events, and agents.
d. The REA model provides a template for a data model that can be applied in an accounting information system.

A

Which of the following statements about the REA model is incorrect?

*a. The REA model emphasises the recording of debits and credits within a relational database environment.

b. The REA provides a structured approach for modelling business processes.
c. The REA model consists of resources, events, and agents.
d. The REA model provides a template for a data model that can be applied in an accounting information system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A table in third normal form must not have:

a. abstractive dependencies.
b. binding dependencies.
c. transitive dependencies.
d. substitutive dependencies.

A

A table in third normal form must not have:

a. abstractive dependencies.
b. binding dependencies.

*c. transitive dependencies.

d. substitutive dependencies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The resource that increases is:

a. customer order.
b. inventory.
c. customer payment.
d. cash.

A

The resource that increases is:

a. customer order.
b. inventory.
c. customer payment.

*d. cash.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A transitive dependency is when:

a. an attribute is dependent on the primary key wholly.
b. an attribute is dependent on the primary key but via a non-key attribute.
c. an attribute is only dependent on part of the primary key.
d. none of the above.

A

A transitive dependency is when:

a. an attribute is dependent on the primary key wholly.

b. an attribute is dependent on the primary key but via a non-key attribute.

c. an attribute is only dependent on part of the primary key.
d. none of the above.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which normal form is sufficient for most business applications?

a. Second normal form.
b. Third normal form.
c. Fourth normal form.
d. Fifth normal form.

A

Which normal form is sufficient for most business applications?

a. Second normal form.

*b. Third normal form.

c. Fourth normal form.
d. Fifth normal form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

It is proposed that there are common patterns of inflows and outflows in every exchange. All such exchanges can be best represented by:

a. ER.
b. REA.
c. Relational database.
d. Client-server model.

A

It is proposed that there are common patterns of inflows and outflows in every exchange. All such exchanges can be best represented by:

a. ER.

*b. REA.

c. Relational database.
d. Client-server model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

__________ can be removed by making the non-key attribute that an attribute is dependent on a primary key in a new table with the attribute and by leaving the non-key attribute as a foreign key in the existing table so the attribute is dependent on the primary key but via a non-key attribute.

a. Data redundancies
b. Partial dependencies
c. Repeating groups
d. Transitive dependencies

A

__________ can be removed by making the non-key attribute that an attribute is dependent on a primary key in a new table with the attribute and by leaving the non-key attribute as a foreign key in the existing table so the attribute is dependent on the primary key but via a non-key attribute.

a. Data redundancies
b. Partial dependencies
c. Repeating groups

*d. Transitive dependencies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The client-server architecture is based on three major components, namely:

a. PCs, servers, and network.
b. hardware, software, and people.
c. hardware, software, and communications middleware.
d. computers, network, and people.

A

The client-server architecture is based on three major components, namely:

a. PCs, servers, and network.
b. hardware, software, and people.

*c. hardware, software, and communications middleware.

d. computers, network, and people.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

REA database modelling is based on the premise that:

a. revenues, expenses and accrual items need to be identified for effective modelling.
b. in every exchange in a process there is a revenue, event and agent involved.
c. in every exchange in a process there is a resource, event and agent involved.
d. none of the options are correct.

A

REA database modelling is based on the premise that:

a. revenues, expenses and accrual items need to be identified for effective modelling.
b. in every exchange in a process there is a revenue, event and agent involved.

*c. in every exchange in a process there is a resource, event and agent involved.

d. none of the options are correct.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

When developing an enterprise model, the connectivity’s and cardinalities are primarily based on:

a. The general narrative of the organisation’s operations.
b. The revision from areas of the organisation with ownership of the operations, policies, and processes.
c. The Normalisation process.
d. The consolidation of ER diagrams.

A

When developing an enterprise model, the connectivity’s and cardinalities are primarily based on:

*a. The general narrative of the organisation’s operations.

b. The revision from areas of the organisation with ownership of the operations, policies, and processes.
c. The Normalisation process.
d. The consolidation of ER diagrams.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

One of the REA model’s greatest advantages is that:

a. it is extremely easy and cost effective for any business to implement.
b. it enables all staff to better understand customer needs.
c. it can store both non-financial and financial data.
d. it enables businesses to identify which staff are the busiest.

A

One of the REA model’s greatest advantages is that:

a. it is extremely easy and cost effective for any business to implement.
b. it enables all staff to better understand customer needs.

*c. it can store both non-financial and financial data.

d. it enables businesses to identify which staff are the busiest.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

In a client-server architecture, the concept of ‘thin’ means:

a. slim tower design of the computer case.
b. laptop computers are less bulky.
c. the computer conducts minimal processing.
d. the computer runs on less power.

A

In a client-server architecture, the concept of ‘thin’ means:

a. slim tower design of the computer case.
b. laptop computers are less bulky.

*c. the computer conducts minimal processing.

d. the computer runs on less power.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

A table in second normal form must not have:

a. partial dependencies.
b. transitive dependencies.
c. abstractive dependencies.
d. binding dependencies.

A

A table in second normal form must not have:

*a. partial dependencies.

b. transitive dependencies.
c. abstractive dependencies.
d. binding dependencies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Normalisation is a modelling technique used specifically for which type of database?

a. Hierarchical.
b. Network.
c. Relational.
d. Object-oriented.

A

Normalisation is a modelling technique used specifically for which type of database?

a. Hierarchical.
b. Network.

*c. Relational.

d. Object-oriented.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

For more convenient and quicker structuring, manipulating or reporting, one can:

a. pursue the highest normal form possible through normalisation.
b. eliminate data redundancies.
c. leave the repeating groups as they are.
d. create controlled redundancies via lower forms of normalisation.

A

For more convenient and quicker structuring, manipulating or reporting, one can:

a. pursue the highest normal form possible through normalisation.
b. eliminate data redundancies.
c. leave the repeating groups as they are.

*d. create controlled redundancies via lower forms of normalisation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

In an e-commerce environment:

(i) an organisation can open up its database to its suppliers.
(ii) an organisation can allow its employees to access internal databases from outside the company.
(iii) an organisation can open up its database to its customers.
a. (i) (iii)
b. (i) (ii)
c. (ii) (iii)
d. (i) (ii) (iii)

A

In an e-commerce environment:

(i) an organisation can open up its database to its suppliers.
(ii) an organisation can allow its employees to access internal databases from outside the company.
(iii) an organisation can open up its database to its customers.
a. (i) (iii)
b. (i) (ii)
c. (ii) (iii)

*d. (i) (ii) (iii)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

The event that causes a decrease is:

a. customer order.
b. inventory.
c. customer payment.
d. cash.

A

The event that causes a decrease is:

*a. customer order.

b. inventory.
c. customer payment.
d. cash.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Controlled redundancies:

a. are allowed for the convenience of structuring data, data manipulation or reporting.
b. should be prevented at all costs.
c. permit the formation of tables that promote structural and data independence.
d. none of the options are correct.

A

Controlled redundancies:

*a. are allowed for the convenience of structuring data, data manipulation or reporting.

b. should be prevented at all costs.
c. permit the formation of tables that promote structural and data independence.
d. none of the options are correct.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

When building a traditional accounting system using REA, the REA model:

a. is implemented as it is.
b. is implemented as a relational database.
c. is implemented as business processes.
d. is implemented as an ER model.

A

When building a traditional accounting system using REA, the REA model:

a. is implemented as it is.

*b. is implemented as a relational database.

c. is implemented as business processes.
d. is implemented as an ER model.

29
Q

Client-server systems can normally be classified as:

a. single-tier and multiple-tier.
b. two-tier and three-tier.
c. internal-tier and external-tier.
d. single-tier and two-tier.

A

Client-server systems can normally be classified as:

a. single-tier and multiple-tier.

*b. two-tier and three-tier.

c. internal-tier and external-tier.
d. single-tier and two-tier.

30
Q

The attitude of businesses towards using REA to implement accounting systems is best described as:

a. keen.
b. positive.
c. reluctant.
d. negative.

A

The attitude of businesses towards using REA to implement accounting systems is best described as:

a. keen.
b. positive.

*c. reluctant.

d. negative.

31
Q

How many attributes are present in the Lecturer Table?

a. 4
b. 5
c. 6
d. 30

A

How many attributes are present in the Lecturer Table?

a. 4

*b. 5

c. 6
d. 30

32
Q

Duality in the REA model refers to:

a. debits equalling credits when recording a transaction.
b. the relationship between events that bring about an increase and decrease in resources.
c. an event can only relate to one resource and each event can only relate to one other event.
d. each event needing two related agents - an internal and external agent.

A

Duality in the REA model refers to:

a. debits equalling credits when recording a transaction.

*b. the relationship between events that bring about an increase and decrease in resources.

c. an event can only relate to one resource and each event can only relate to one other event.
d. each event needing two related agents - an internal and external agent.

33
Q
A
34
Q

A composite primary key can also be called a:

a. concatenated primary key.
b. foreign key.
c. primary key.
d. none of the above.

A

A composite primary key can also be called a:

a. concatenated primary key.

b. foreign key.
c. primary key.
d. none of the above.

35
Q

A partial dependency is when:

a. an attribute is dependent on the primary key wholly.
b. an attribute is dependent on the primary key but via a non-key attribute.
c. an attribute is only dependent on part of the primary key.
d. none of the above.

A

A partial dependency is when:

a. an attribute is dependent on the primary key wholly.
b. an attribute is dependent on the primary key but via a non-key attribute.

c. an attribute is only dependent on part of the primary key.

d. none of the above.

36
Q
A
37
Q

The software that effects transmission of data and control between client and server is called:

a. communications middleware.
b. a front-end application.
c. a back-end application.
d. none of the options are correct.

A

The software that effects transmission of data and control between client and server is called:

*a. communications middleware.

b. a front-end application.
c. a back-end application.
d. none of the options are correct.

38
Q

Which of the following is NOT true about the differences between REA and ER diagrams?

a. ER diagrams do not have events.
b. REA diagrams do not show cardinalities.
c. In an REA diagram, entities are sorted into separate columns.
d. Both REA and ER diagrams show relationships.

A

Which of the following is NOT true about the differences between REA and ER diagrams?

a. ER diagrams do not have events.

*b. REA diagrams do not show cardinalities.

c. In an REA diagram, entities are sorted into separate columns.
d. Both REA and ER diagrams show relationships.

39
Q

__________ occurs where one attribute is dependent on another, but neither is part of the primary key.

a. Partial dependency
b. Transitive dependency
c. Data redundancy
d. Repeating group

A

__________ occurs where one attribute is dependent on another, but neither is part of the primary key.

a. Partial dependency

*b. Transitive dependency

c. Data redundancy
d. Repeating group

40
Q

In a client-server architecture, the concept of ‘fat’ means:

a. the computer conducts most of the processing.
b. generous space exists in the computer case for extra components.
c. bulky laptops.
d. more power consumption.

A

In a client-server architecture, the concept of ‘fat’ means:

*a. the computer conducts most of the processing.

b. generous space exists in the computer case for extra components.
c. bulky laptops.
d. more power consumption.

41
Q

The goal of normalisation is to form tables that promote:

a. structural and query independence.
b. relational and data independence.
c. structural and data independence.
d. relational and query independence.

A

The goal of normalisation is to form tables that promote:

a. structural and query independence.
b. relational and data independence.

*c. structural and data independence.

d. relational and query independence.

42
Q

In a client-server system, the client’s request is handled by intermediate severs that coordinate the execution of the client request with other servers. This is known as a:

a. single-tier client-server system.
b. two-tier client-server system.
c. three-tier client-server system.
d. multiple-tier client-server system.

A

In a client-server system, the client’s request is handled by intermediate severs that coordinate the execution of the client request with other servers. This is known as a:

a. single-tier client-server system.
b. two-tier client-server system.

*c. three-tier client-server system.

d. multiple-tier client-server system.

43
Q

In a client-server system, which of the following software is loaded into the client computers?

a. Front-end application software.
b. Back-end application software.
c. Communications middleware.
d. Groupware.

A

In a client-server system, which of the following software is loaded into the client computers?

*a. Front-end application software.

b. Back-end application software.
c. Communications middleware.
d. Groupware.

44
Q

Which of the following is true?

a. The REA model can store non-financial data and financial data.
b. The ER model can store only financial data.
c. The REA model can store only non-financial data.
d. The ER model can store non-financial data or financial data, but not at the same time.

A

Which of the following is true?

*a. The REA model can store non-financial data and financial data.

b. The ER model can store only financial data.
c. The REA model can store only non-financial data.
d. The ER model can store non-financial data or financial data, but not at the same time.

45
Q

The process of normalisation has ______ outcomes and _____ steps to achieve those outcomes:

a. three; two
b. three; three
c. three; four
d. none of the options are correct

A

The process of normalisation has ______ outcomes and _____ steps to achieve those outcomes:

a. three; two

*b. three; three

c. three; four
d. none of the options are correct

46
Q
A
47
Q

A client-server system distributes computing functions between two types of ________ and _______ processes: servers and clients.

a. dependent; autonomous
b. dependent; non - autonomous
c. independent; autonomous
d. independent; non - autonomous

A

A client-server system distributes computing functions between two types of ________ and _______ processes: servers and clients.

a. dependent; autonomous
b. dependent; non - autonomous

*c. independent; autonomous

d. independent; non - autonomous

48
Q
A
49
Q
A
50
Q

Can a table which is in 2NF also be in 3NF?

a. Yes, when there are no partial dependencies.
b. Yes, when there are no transitive dependencies.
c. Yes, when there are no functional dependencies.
d. None of the above.

A

Can a table which is in 2NF also be in 3NF?

a. Yes, when there are no partial dependencies.

b. Yes, when there are no transitive dependencies.

c. Yes, when there are no functional dependencies.
d. None of the above.

51
Q
A
52
Q

If we want a table to have no repeating groups, what should we do?

a. Select a primary key that uniquely identifies each line in the table.
b. Remove duplicated records in the table.
c. Create another table and transfer the duplicated instances into the new table.
d. Create foreign keys in the table.

A

If we want a table to have no repeating groups, what should we do?

*a. Select a primary key that uniquely identifies each line in the table.

b. Remove duplicated records in the table.
c. Create another table and transfer the duplicated instances into the new table.
d. Create foreign keys in the table.

53
Q
A
54
Q

Redundancies that are allowed for the convenience of structuring data, data manipulation or reporting are referred to as:

a. restricted redundancies.
b. controlled redundancies.
c. normalised redundancies.
d. partial redundancies.

A

Redundancies that are allowed for the convenience of structuring data, data manipulation or reporting are referred to as:

a. restricted redundancies.

*b. controlled redundancies.

c. normalised redundancies.
d. partial redundancies.

55
Q

How many records are present in the Lecturer Table?

a. 4
b. 5
c. 6
d. 30

A

How many records are present in the Lecturer Table?

a. 4
b. 5

*c. 6

d. 30

56
Q
A
57
Q

What best describes the relationship between the entities Subject and Lecturer?

a. A lecturer can teach no subjects but may also teach many subjects.
b. A lecturer always teaches at least one subject.
c. A lecturer always teaches only one subject.
d. A lecturer can, but does not have to, teach only one subject.

A

What best describes the relationship between the entities Subject and Lecturer?

a. A lecturer can teach no subjects but may also teach many subjects.
b. A lecturer always teaches at least one subject.
c. A lecturer always teaches only one subject.

*d. A lecturer can, but does not have to, teach only one subject.

58
Q
A
59
Q
A
60
Q
A
61
Q

When developing an enterprise model, which of the following sequence is correct?

a. Normalisation -> Construct ER Model -> Review ER Model -> Consolidate ER Model.
b. Construct ER Model -> Consolidate ER Model -> Normalisation -> Review ER Model.
c. Construct ER Model -> Normalisation -> Consolidate ER Model-> Review ER Model.
d. Construct ER Model -> Review ER Model -> Normalisation -> Consolidate ER Model.

A

When developing an enterprise model, which of the following sequence is correct?

a. Normalisation -> Construct ER Model -> Review ER Model -> Consolidate ER Model.
b. Construct ER Model -> Consolidate ER Model -> Normalisation -> Review ER Model.
c. Construct ER Model -> Normalisation -> Consolidate ER Model-> Review ER Model.

*d. Construct ER Model -> Review ER Model -> Normalisation -> Consolidate ER Model.

62
Q

The process of developing an enterprise model is:

a. incremental.
b. interlocking.
c. iterative.
d. agile.

A

The process of developing an enterprise model is:

a. incremental.
b. interlocking.

*c. iterative.

d. agile.

63
Q

A table to be normalised starts at what normal form?

a. 0NF
b. 1NF
c. 2NF
d. 3NF

A

A table to be normalised starts at what normal form?

a. 0NF

b. 1NF
c. 2NF
d. 3NF

64
Q

Client–server architecture is based on:

a. hardware, software and communications middleware.
b. mainframes and terminals.
c. databases, tables and keys.
d. none of the above.

A

Client–server architecture is based on:

a. hardware, software and communications middleware.

b. mainframes and terminals.
c. databases, tables and keys.
d. none of the above.

65
Q

In the REA diagram shown below, the event that causes an increase is:

a. customer order.
b. inventory.
c. customer payment.
d. cash.

A

In the REA diagram shown below, the event that causes an increase is:

a. customer order.
b. inventory.

*c. customer payment.

d. cash.

66
Q

The best attribute to be chosen as the primary key for the Lecturer Table is:

a. Surname.
b. Surname and Given_Name.
c. Lecturer_Code.
d. Given _Name.

A

The best attribute to be chosen as the primary key for the Lecturer Table is:

a. Surname.
b. Surname and Given_Name.

*c. Lecturer_Code.

d. Given _Name.

67
Q

Which of the following combination regarding the client-server architecture is correct?

a. A thin client with a fat server.
b. A thin client with a thin server.
c. A fat client with a fat server.
d. Any combination of thin and fat clients and servers is fine.

A

Which of the following combination regarding the client-server architecture is correct?

*a. A thin client with a fat server.

b. A thin client with a thin server.
c. A fat client with a fat server.
d. Any combination of thin and fat clients and servers is fine.

68
Q

Normal forms higher than 3NF are often not performed because:

a. the process usually requires artificial assumptions that rarely hold in the business environment.
b. the process is too time-consuming.
c. the process requires special knowledge in database design that is not generally available in the everyday business environment.
d. the process is for academic use only.

A

Normal forms higher than 3NF are often not performed because:

*a. the process usually requires artificial assumptions that rarely hold in the business environment.

b. the process is too time-consuming.
c. the process requires special knowledge in database design that is not generally available in the everyday business environment.
d. the process is for academic use only.

69
Q

If an organisation decided to open up its database to its suppliers, it must:

(i) Discuss with the suppliers how electronic connections are done.
(ii) Discuss with the suppliers how relevant costs are shared.
(iii) Discuss with the suppliers what data are actually needed by them.
a. (i) (ii)
b. (ii) (iii)
c. (i) (iii)
d. (i) (ii) (iii)

A

If an organisation decided to open up its database to its suppliers, it must:

(i) Discuss with the suppliers how electronic connections are done.
(ii) Discuss with the suppliers how relevant costs are shared.
(iii) Discuss with the suppliers what data are actually needed by them.
a. (i) (ii)
b. (ii) (iii)
c. (i) (iii)

*d. (i) (ii) (iii)