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
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).
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
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).
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
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).
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. 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.
__ 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
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).
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. Redundancy
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
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ụ:
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
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.
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
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).
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
True
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
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.
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. 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:
DBMS có nhiệm vụ:
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.
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
e. Presents data as they would be perceived by end users
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
d. Microsoft Access
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
c. Relational DBMS
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
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.
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. Tuple
Trong cơ sở dữ liệu quan hệ (relational database):
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. 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.
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
b. Key field
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
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à:
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
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.
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. Combines relational tables to provide the user with more information than is otherwise available
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
c. Creates a subset consisting of columns in a table
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
e. The organization within the organization that is responsible for maintaining the data