Database Concept
Tarikh: 06/10/2022 – Khamis (13.00 – 14.00)
(Latihan untuk Kelas ganti: 02/10/2022 – Ahad)
1. The number of rows in a relation
A. Degree C. tuple
B. Cardinality D. domain
2. Data about data is ______________
A. Data Description C. Metadata
B. Data redundancy D. Data inconsistency
3. RDBMS
A. Relational Database Basic Management System
B. Relational Database Management System
C. Required Database Management Setup
D. None of these
4. Repetition of data is called data ..............
A. Dependance C. redundancy
B. Inconsistency D. isolation
5. Mismatched redundant copies of data is known as data ............
A. Dependance C. redundancy
B. Inconsistency D. isolation
6. A ............ is an organized collection of structured data.
A. Information C. file
B. Database DBMS
7. A database ............... is a sketch of design of a planned data.
A. Instance C. schema
B. Metadata D. Relation
8. A data ................ is a set of rules that define valid data.
A. Constraint C. data dictionary
B. Query D. all of these
9. A relational database consists of a collection of ..............
A. Tables C. fields
B. Records D. keys
10. In relational data model, the total number of rows can be identified as
______________________ .
A. Cardinality C. Degree
B. Attribute D. Entity
12. Identify the total number of attributes in a relational data model.
A. Tuple C. Entity
B. Degree D. Cardinality
13. A row in a database.
A. Record C. Field
B. Entity D. Table
14. What language does the Relational Model use?
A. Java C. Python
B. SQL D. C++
15. What entity type is used in the given diagram?
A. STUDENT C. DOCTOR
B. EMPLOYEE D. COURSE
16. Which attribute is the MULTI-VALUED ATTRIBUTE?
A. EmpID C. Degree
B. Age D. Address
17. Which attribute is the COMPOSITE ATTRIBUTE?
A. Degree C. Age
B. Salary D. Address
18. Which attribute is the DERIVED ATTRIBUTE?
A. EmpID C. Age
B. Name D. Degree
19. Which attribute is the KEY IDENTIFIER or the PRIMARY KEY?
A. EmpID C. Degree
B. Name D. Birthday
20. This symbol indicates _____ relationship.
A. one or many C. zero or many
B. zero or one D. many to many
21. This symbol indicates _____ relationship.
A. zero or one C. zero or many
B. one or many D. many to many
22. _________is a person, place, object, event or concept in the user environment
about which company wishes to maintain the data
A. Attribute C. entity
B. Relationship D. none of these
23. Each entity is described by __________.
A. Entity C. relationship
B. attribute D. none of these
24. This key uniquely identifies each record in an entity.
A. Primary Key or Key Identifier C. Foreign Key
B. Secondary Key D. Composite Key
25. Diamond shape is symbol for ?
A. Entity C. Cardinality
B. Relationship D. Atribut
26. This shape is symbol for ?
A. Atribut C. Relationship
B. Entity D. Cardinality
27. For ERD this shape describe for ?
A. Cardinality C. Relationship
B. Attribute D. Entity
28. If you were collecting and storing information about your music collection, an
album would be considered a(n) _____.
A. Relation C. Entity
B. Instance D. Attribute
29. The entity relationship set is represented in E-R diagram as
A. Double diamonds C. Undivided rectangles
B. Dashed lines D. Diamond
30. What relationship is a pupil to pupil support teacher?
A. one to one
B. many to many
C. one to many
31. What relationship is a car to a car registration number?
A. one to one
B. many to many
C. one to many
32. What relationship is a mother to child
A. one to one
B. many to many
C. one to many
33. What relationship is teacher to pupil
A. one to one
B. many to many
C. one to many
34. What relationship is an actor to a film
A. one to one
B. many to many
C. one to many
35. What relationship is a horse to jockey at a racing event?
A. one to one
B. many to many
C. one to many
36. What relationship is a pupil to an SQA candidate number?
A. one to one
B. many to many
C. one to many
37. What do we call a field that is a primary key in another table?
A. Foreign C. Primary
B. Compound D. Candidate
38. What is not a datatype?
A. time/date C. text
B. boolean D. number
39. What do we call a database that consists of more than one table?
A. Access C. Datafile
B. Flat D. Relational
40. Below are the characteristics of a Relational Table EXCEPT
A. A table is perceived as a two-dimensional structure composed of rows and
columns.
B. Each table row(tuple) represents a single entity occurrence within the entity set.
C. Each table column represents an attribute.
D. All values in a column may have different data format.
41. Write the relationship and connectivity between these entities.
ENTITY1 RELATIONSHIP CONNECTIVITY ENTITY2
DEPARTMENT UNIT
UNIT STUDENT
UNIT LECTURER
UNIT COURSE
COURSE CLASS
SEMESTER CLASS
LECTURER DEPARTMENT
LECTURER UNIT
LECTURER CLASS
LECTURER STUDENT
STUDENT IC
STUDENT GENDER
STUDENT CLASS
BUILDING ROOM
ROOM CLASS