MIS 6 Flashcards

(34 cards)

1
Q

Which of the following best illustrates the relationship between entities and attributes

a. The entity CUSTOMER with the attribute PRODUCT

b. The entity CUSTOMER with the attribute PURCHASE

c. The entity PRODUCT with the attribute PURCHASE

d. The entity PRODUCT with the attribute CUSTOMER

e. The entity PURCHASE with the attribute CUSTOMER

A

b. The entity CUSTOMER with the attribute PURCHASE

Entity (thực thể): là một “đối tượng” hoặc “vật thể” trong database mà mình muốn lưu thông tin (ví dụ: CUSTOMER, PRODUCT, EMPLOYEE).

Attribute (thuộc tính): là “đặc điểm” mô tả cho entity (ví dụ: Customer Name, Address, Purchase Date).

C) PRODUCT với attribute PURCHASE
→ PURCHASE không phải thuộc tính của PRODUCT, mà là một thực thể riêng (liên quan đến giao dịch).

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

All of the following are issues with the traditional file environment except

a. Data inconsistency

b. Inability to develop specialized applications for functional areas

c. Lack of flexibility in creating ad-hoc reports

d. Poor security

e. Data sharing

A

b. Inability to develop specialized applications for functional areas

truyền thống file environment vẫn cho phép viết ứng dụng riêng cho từng phòng ban (ví dụ: Kế toán có phần mềm riêng, Nhân sự có file Excel riêng).

Nhưng vấn đề là các ứng dụng đó không kết nối với nhau, gây ra silo data (cát cứ dữ liệu).

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

A characteristic or quality that describes a particular database entity is called a(n)

a. Field

b. Tuple

c. Key field

d. Attribute

e. Relationship

A

d. Attribute

Entity (thực thể): đối tượng cần quản lý dữ liệu.
👉 Ví dụ: CUSTOMER, PRODUCT, EMPLOYEE.

Attribute (thuộc tính): đặc điểm/đặc trưng mô tả entity.
👉 Ví dụ: với entity CUSTOMER → Name, Address, Phone là attribute.

Field (trường): cột trong bảng (thường tương ứng với 1 attribute).

Tuple (bản ghi/record): một dòng dữ liệu trong bảng, đại diện cho 1 instance của entity.
👉 Ví dụ: 1 khách hàng cụ thể.

Key field: trường đặc biệt dùng để phân biệt các record (ví dụ: Customer_ID).

Relationship: mối quan hệ giữa các entity (ví dụ: CUSTOMER purchases PRODUCT).

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

A __ is an example of pre-digital data storage that is comparable to a database

a. Library card catalog

b. Cash register receipt

c. Doctor’s office invoice

d. List of sales totals on spreadsheet

e. Schedule of due dates on a project outline

A

a. Library card catalog

library card catalog (hệ thống thẻ thư viện) → mỗi cuốn sách sẽ có một tấm thẻ ghi thông tin: tên sách, tác giả, chủ đề, số phân loại…

Các thẻ được xếp theo thứ tự → giống như database có record (thẻ) và attribute (tên, tác giả…).

B) Cash register receipt → chỉ là chứng từ bán hàng, không phải hệ thống tra cứu dữ liệu.

C) Doctor’s office invoice → chỉ là hóa đơn, không phải hệ thống lưu trữ tổ chức.

D) List of sales totals on a spreadsheet → gần giống database, nhưng đó là digital chứ không phải pre-digital.

E) Project due dates schedule → chỉ là danh sách công việc, không có chức năng tổ chức & tra cứu phức tạp.

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

__ creates confusion that hampers the creation of information systems that integrate data from different sources

a. Batch processing

b. Data redundancy

c. Data independence

d. Online processing

e. Data quality

A

b. Data redundancy

Là tình trạng dữ liệu bị lặp lại nhiều lần ở nhiều nơi khác nhau.

Ví dụ: Cùng một khách hàng, thông tin “Rio” có thể được lưu ở file khách hàng, file đơn hàng, file bảo hành → nhưng đôi khi các bản ghi này lại không đồng nhất (một nơi ghi “Rio”, nơi khác ghi “Río”, hoặc số điện thoại cũ/mới khác nhau).

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

Data __ occurs when the same data is duplicated in multiple files of a database

a. Redundancy

b. Repetition

c. Independence

d. Partitions

e. Discrepancy

A

a. Redundancy

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

Which of the following occurs when the same attribute in related data files das different values

a. Data redundancy

b. Data duplication

c. Data dependence

d. Data discrepancy

e. Data inconsistency

A

e. Data inconsistency

Là khi cùng một thuộc tính (attribute) nhưng ở các file dữ liệu khác nhau lại chứa giá trị khác nhau.

Ví dụ:

  • Trong file khách hàng: số điện thoại của Rio = 0909 123 456.
  • Trong file đơn hàng: số điện thoại của Rio = 0912 345 678.
    👉 Cùng là “phone number” của Rio, nhưng giá trị lại không giống nhau → đây chính là data inconsistency.
  • Data redundancy = dữ liệu bị lặp lại ở nhiều nơi.
  • Data inconsistency = dữ liệu bị mâu thuẫn/không khớp giữa các bản lặp đó.

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

Which of the following is a grouping of charactiers into a word, a group of words, or a complete number

a. File

b. Table

c. Entity

d. Field

e. Tuple

A

d. Field

Đề bài lại mô tả: “grouping of characters into a word, a group of words, or a complete number” → đang nhắm đến “một ô dữ liệu” chứ không phải cả cái cột → nên đáp án mới là field.

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

The fact that a traditional file system cannot respond to unanticipated information requirements in a timely fashion is an example of which of the following issues with traditional file systems?

a. Program-data dependece

b. Lack of flexibility

c. Poor security

d. Lack of data sharing

e. Data redundancy

A

b. Lack of flexibility

Tại sao hệ thống file truyền thống (file-based system) không đáp ứng kịp mấy unanticipated information requirements (tức mấy câu hỏi bất ngờ, report ad-hoc)?

👉 Đó chính là vấn đề lack of flexibility (thiếu linh hoạt).

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

True or False

Program-data dependece refers to the coupling of data stored in files and the specific programs required to update and maintain those files such that changes in programs require changes to the data

A

True

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

Which of the following enables a DBMS to reduce data redundancy and inconsistency

a. Ability to enforce referential integrity

b. Ability to couple program and data

c. Use of a data dictionary

d. Ability to create two-dimensional tables

e. Ability to minimize isolated files with repeated data

A

e. Ability to minimize isolated files with repeated data

Mục tiêu: Giảm trùng lặp dữ liệu (data redundancy) và sự không nhất quán (inconsistency).

Khi dữ liệu được lưu rải rác trong nhiều file riêng lẻ (isolated files) thì dễ bị trùng lặp và khó đồng bộ.

Hệ quản trị cơ sở dữ liệu (DBMS) giúp tập trung dữ liệu, từ đó giảm các file riêng lẻ chứa dữ liệu lặp.

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

A DBMS makes the

a. Physical database available for different logical views

b. Relational database available for different logical views

c. Physical database available for different analytic views

d. Relational database available for different analytic views

e. Logical database available for different analytic views

A

a. Physical database available for different logical views

Trong DBMS (Hệ quản trị cơ sở dữ liệu), có hai khái niệm về dữ liệu:

  • Dữ liệu vật lý (physical database) → cách dữ liệu thực sự được lưu trữ trên ổ cứng.
  • Dữ liệu logic (logical view) → cách người dùng nhìn thấy và tương tác với dữ liệu (ví dụ: bảng, báo cáo, truy vấn).

DBMS có nhiệm vụ:

  • Giúp nhiều người dùng hoặc ứng dụng có thể truy cập cùng một dữ liệu vật lý nhưng dưới nhiều góc nhìn logic khác nhau.

Nói nôm na: dữ liệu có thể “thật” chỉ lưu một chỗ, nhưng mỗi người nhìn vào đều thấy theo cách họ cần.

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

The logical view of a database

a. Displays the organization and structure of data on the physical storage media

b. Includes a digital dashboard

c. Allows the creation of supplementary reports

d. Enables users to manipulate the logical structure of the database

e. Presents data as they would be perceived by end users

A

e. Presents data as they would be perceived by end users

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

Which of the following is a DBMS for desktop computers

a. DB2

b. Oracle Database

c. Microsoft SQL Server

d. Microsoft Access

e. Microsoft Exchange

A

d. Microsoft Access

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

A(n) __ represent data as two-dimensional tables

a. Non-relational DBMS

b. Mobile DBMS

c. Relational DBMS

d. Hierarchical DBMS

e. Object-oriented DBMS

A

c. Relational DBMS

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

In a table for customers, the information about a single customer resides in a single

a. Field

b. Row

c. Column

d. Table

e. Entity

A

b. Row

Field (cột/trường) → lưu một thuộc tính của khách hàng, ví dụ Tên, Địa chỉ, Số điện thoại.

Row (dòng/bản ghi) → lưu toàn bộ thông tin của một khách hàng.

Column (cột) → tương tự field, là thuộc tính.

Table (bảng) → chứa tất cả khách hàng.

Entity (thực thể) → khái niệm trừu tượng, ở đây là “Khách hàng”, không phải dữ liệu trong bảng.

17
Q

In a relational database, a record is referred to in technical terms as a(n)

a. Tuple

b. Table

c. Entity

d. Field

e. Key

A

a. Tuple

Trong cơ sở dữ liệu quan hệ (relational database):

  • Record (bản ghi/dòng) = tuple → là một hàng dữ liệu đầy đủ trong bảng.
  • Table (bảng) → chứa nhiều tuple.
  • Entity (thực thể) → là khái niệm trừu tượng, ví dụ: “Khách hàng”, “Sách”.
  • Field (cột/trường) → là thuộc tính, ví dụ: Tên, Địa chỉ.
  • Key (khóa) → dùng để định danh hoặc liên kết dữ liệu.

18
Q

A field identified in a table as holding the unique identifier to the table’s records is called the

a. Primary key

b. Key field

c. Primary field

d. Unique ID

e. Primary entity

A

a. Primary key

Primary key (khóa chính) là trường (field) được dùng để định danh duy nhất mỗi bản ghi (record) trong bảng.

Mỗi bảng chỉ có một primary key, và giá trị trong cột này không được trùng lặp.

Ví dụ trong bảng “Khách hàng”:

CustomerID có thể là primary key, mỗi khách hàng có một mã riêng.

Các cột khác như Tên, Địa chỉ… không thể làm primary key nếu có khả năng trùng lặp.

19
Q

A field identified in a record as holding the unique identifier for that record is called the

a. Primary key

b. Key field

c. Primary field

d. Unique ID

e. Key attribute

20
Q

In a relational database, the three basic operations used to develop useful sets of data are

a. Select, project and where

b. Select, join and where

c. Select, project and join

d. Where, from and join

e. Where, find and select

A

d. Where, from and join

Trong cơ sở dữ liệu quan hệ, ba phép toán cơ bản để tạo ra tập dữ liệu hữu ích là:

  • Select (chọn) → lấy các bản ghi/dòng thỏa mãn điều kiện nhất định.
    Ví dụ: chọn tất cả khách hàng ở TP.HCM.
  • Project (chiếu) → lấy các cột/trường mà bạn quan tâm, bỏ những cột không cần.
    Ví dụ: chỉ lấy tên và số điện thoại của khách hàng.
  • Join (nối) → kết hợp hai hoặc nhiều bảng dựa trên mối quan hệ giữa chúng.
    Ví dụ: nối bảng “Khách hàng” với bảng “Hóa đơn” qua CustomerID để biết khách nào mua gì.

21
Q

The “select” operation

a. Combines relational tables to provide the user with more information than is otherwise available

b. Creates a subset consisting of columns in a table

c. Identifies the table from which the columns will be selected

d. Creates a subset consisting of all records in the file that meet stated criteria

e. creates a subset consisting of rows in a table

A

d. Creates a subset consisting of all records in the file that meet stated criteria

Select (chọn) là phép toán trong cơ sở dữ liệu quan hệ dùng để lọc các bản ghi (dòng) thỏa mãn điều kiện nhất định.

Kết quả là một tập con các bản ghi từ bảng gốc, không thay đổi bảng gốc.

22
Q

The “join” operation

a. Combines relational tables to provide the user with more information than is otherwise available

b. Identifies the table from which the columns will be selected

c. Creates a subset consisting of columns in a table

d. Organizes elements into segments

e. Creates a subset consisting of rows in a table

A

a. Combines relational tables to provide the user with more information than is otherwise available

23
Q

The “project” operation

a. Combines relational tables to provide the user with more information than is otherwise available

b. Identifies the table from which the columns will be selected

c. Creates a subset consisting of columns in a table

d. Organizes elements into segments

e. Creates a subset consisting of rows in a table

A

c. Creates a subset consisting of columns in a table

24
Q

Microsoft Access’s data dictionary displays all of the following information about a field except the

a. Size of the field

b. Format of the field

c. Description of the field

d. Type of the field

e. The organization within the organization that is responsible for maintaining the data

A

e. The organization within the organization that is responsible for maintaining the data

25
Which of the following is an automated or manual file that stores information about data elements and data characteristics such as usage, physical representation, ownership, authorization and security? ## Footnote a. Data dictionary b. Data definition diagram c. Entity-relationship diagram d. Relationship dictionary e. Data table
a. Data dictionary ## Footnote Data dictionary (từ điển dữ liệu) là một file tự động hoặc thủ công lưu trữ thông tin về các thành phần dữ liệu và đặc điểm của chúng, ví dụ: * Cách sử dụng (usage) * Cách biểu diễn vật lý (physical representation) * Chủ sở hữu (ownership) * Quyền truy cập (authorization) * Bảo mật (security) Nó không chứa dữ liệu thực tế mà chỉ mô tả dữ liệu, giúp người quản trị DBMS và lập trình viên hiểu và quản lý dữ liệu một cách nhất quán.
26
Which of the following is a specialized language that programmers use to add and change data in the database? ## Footnote a. Data access language b. Data manipulation language c. Structured query language d. Data definition language e. DBMS
b. Data manipulation language
27
Which of the following is the most prominent data manipulation language today? ## Footnote a. Access b. DB2 c. SQL d. Crystal Reports e. NoSQL
c. SQL
28
DBMSs typically include report generating tools in order to ## Footnote a. Retrieve and display data b. Display data in an easier-to-read format c. Display data in graphs d. Perform predictive analysis e. Analyze the database's performance
b. Display data in an easier-to-read format
29
The process of streamlining data to minimize redundancy and awkward many-to-many relationships is called ## Footnote a. Normalization b. Data scrubbing c. Data cleansing d. Data defining e. Optimization
a. Normalization
30
A schematic of the entire database that describes the relationships in a database is called a(n) ## Footnote a. Data dictionary b. Intersection relationship diagram c. Entity-relationship diagram d. Data definition diagram e. Data analysis table
c. Entity-relationship diagram ## Footnote Entity-Relationship Diagram (ERD) là sơ đồ mô tả toàn bộ cơ sở dữ liệu, tập trung vào: * Entities (thực thể) → ví dụ: Khách hàng, Sách, Hóa đơn * Relationships (mối quan hệ) → ví dụ: Khách hàng mua Sách, Tác giả viết Sách * Attributes (thuộc tính) → ví dụ: Tên, Địa chỉ, ISBN ERD giúp thiết kế cơ sở dữ liệu trước khi tạo bảng thực tế trong DBMS, làm rõ cấu trúc và mối quan hệ giữa các bảng.
31
A one-to-many relationship between two entities is symbolized in a diagram by a line that ends with ## Footnote a. One short mark b. Two short marks c. Three short marks d. A crow's foot e. A crow's foot topped by a short mark
e. A crow's foot topped by a short mark ## Footnote Trong ERD (Entity-Relationship Diagram), các mối quan hệ được biểu diễn bằng dòng nối giữa các thực thể. One-to-many (1:N) relationship → một thực thể bên “một” có thể liên kết với nhiều thực thể bên “nhiều”. Ký hiệu: * “Crow’s foot” (chân quạ) ở phía nhiều → biểu thị nhiều bản ghi. * Một dấu ngắn (short mark) ở phía một → biểu thị chỉ một bản ghi. Mẹo nhớ: * “Crow’s foot = nhiều” * “Short mark = một”
32
You are creating a database to store temperature and wind data from various airports. Which of the following fields is the most likely candidate to use as the basis for a primary key in the Airport table? ## Footnote a. Address b. City c. Airport code d. State e. Day
c. Airport code ## Footnote Primary key (khóa chính) phải là giá trị duy nhất xác định mỗi bản ghi trong bảng. Trong bảng Airport, mỗi sân bay có mã sân bay riêng (Airport code), đảm bảo không trùng lặp. Các lựa chọn khác: * Address → có thể trùng hoặc thay đổi * City → nhiều sân bay trong cùng thành phố * State → nhiều sân bay trong cùng bang * Day → không liên quan, nhiều bản ghi có cùng ngày
33
A one-to-one relationship between 2 entities is symbolized in a diagram by a line that ends ## Footnote a. In 2 short marks b. In one short mark c. With a crow's foot d. With a crow's foot topped by a short mark e. With a crow's foot topped by 2 short mark
a. In 2 short marks ## Footnote Trong ERD (Entity-Relationship Diagram): One-to-one (1:1) relationship) → mỗi bản ghi bên thực thể này liên kết với chính xác một bản ghi bên thực thể kia. Ký hiệu: Hai dấu ngắn (two short marks) ở hai đầu của đường nối → biểu thị mỗi bên chỉ có một bản ghi liên kết.
34
# True or False The logical and physical views of data are seperated in a DBMS
True