Unit 1 - Practice Quiz

INT306 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 What is the primary disadvantage of using a File Processing System compared to a DBMS regarding data storage?

A. Data Atomicity
B. Data Redundancy and Inconsistency
C. Data Isolation
D. Data Security

2 Which component of a DBMS is responsible for translating DML statements into low-level file system instructions?

A. Query Processor
B. DML Compiler
C. Data Dictionary
D. Transaction Manager

3 In the Three-Schema Architecture, which level describes how the data is actually stored on the storage medium?

A. Conceptual Level
B. External Level
C. Physical (Internal) Level
D. Logical Level

4 What is Physical Data Independence?

A. The ability to change the conceptual schema without changing the external schema.
B. The ability to change the physical schema without changing the conceptual schema.
C. The ability to change the external schema without changing the physical schema.
D. The ability to modify data without authorization.

5 The collection of information stored in the database at a particular moment in time is known as a(n) ____.

A. Schema
B. Instance
C. Model
D. Relation

6 Which of the following symbols is used to represent an Entity Set in an Entity-Relationship (ER) Diagram?

A. Ellipse
B. Diamond
C. Rectangle
D. Double Ellipse

7 In the Relational Model, a row in a table represents a ____.

A. Domain
B. Schema
C. Tuple
D. Degree

8 If a relation has 5 attributes and 10 tuples, what is the degree of relation ?

A. 5
B. 10
C. 15
D. 50

9 Which of the following is a characteristic of NoSQL databases compared to Relational databases?

A. Strict Schema Enforcement
B. Complex Joins Support
C. Horizontal Scaling
D. ACID Compliance as a primary focus

10 What does a double ellipse represent in an ER Diagram?

A. Derived Attribute
B. Multivalued Attribute
C. Composite Attribute
D. Key Attribute

11 The Conceptual Schema is defined at which level of the 3-tier architecture?

A. View Level
B. Logical Level
C. Physical Level
D. Storage Level

12 Which property ensures that a transaction is treated as a single, indivisible unit of work (all or nothing)?

A. Atomicity
B. Consistency
C. Isolation
D. Durability

13 In an ER diagram, a Weak Entity Set must be associated with an identifying entity set via a relationship called a ____.

A. Identifying Relationship
B. Recursive Relationship
C. Ternary Relationship
D. Total Relationship

14 Which of the following best describes Data Modeling?

A. The process of creating physical files on a disk.
B. Creating a conceptual representation of data objects and their relationships.
C. Writing SQL queries to retrieve data.
D. Installing the DBMS software.

15 In the relational model, the set of permitted values for each attribute is called the ____.

A. Range
B. Domain
C. Set
D. Group

16 What is Logical Data Independence?

A. Immunity of the external schemas to changes in the conceptual schema.
B. Immunity of the conceptual schema to changes in the physical schema.
C. Immunity of the physical schema to changes in the disk structure.
D. Immunity of the application to hardware failure.

17 Which symbol represents a Relationship Set in an ER diagram?

A. Rectangle
B. Ellipse
C. Diamond
D. Triangle

18 A key that consists of more than one attribute to uniquely identify a tuple is called a ____.

A. Foreign Key
B. Composite Key
C. Simple Key
D. Domain Key

19 Which of the following is NOT a typical application of a DBMS?

A. Airline Reservation Systems
B. Banking Systems
C. Real-time Operating System Kernel scheduling
D. University Student Management

20 In a Relational Database, a Foreign Key is used to:

A. Uniquely identify a record in the current table.
B. Establish a link between the data in two tables.
C. Store large binary objects.
D. Index the table for faster searching.

21 The schema of a database is:

A. The data stored at a specific time.
B. The overall design or structure of the database.
C. The list of authorized users.
D. The physical disk arrangement.

22 Which attribute type in an ER diagram is represented by a dashed ellipse?

A. Composite Attribute
B. Multivalued Attribute
C. Derived Attribute
D. Key Attribute

23 What is the Cardinality of a relation?

A. The number of attributes in the relation.
B. The number of tuples (rows) in the relation.
C. The size of the relation in bytes.
D. The number of relationships it participates in.

24 In the context of the ER model, what does a Total Participation (indicated by a double line) mean?

A. Every entity in the entity set must participate in the relationship.
B. Only some entities participate in the relationship.
C. The relationship is many-to-many.
D. The entity set is weak.

25 Which of the following is an example of a Non-Relational (NoSQL) database?

A. MySQL
B. Oracle Database
C. MongoDB
D. PostgreSQL

26 The View Level in the 3-tier architecture allows:

A. Users to see the entire database structure.
B. Users to see only a part of the database relevant to them.
C. DBAs to optimize disk storage.
D. The system to perform backup operations.

27 A Super Key is:

A. A minimal set of attributes that uniquely identifies a tuple.
B. Any set of attributes that uniquely identifies a tuple.
C. A key used for encryption.
D. A key that relates two tables.

28 Which constraint ensures that a Primary Key cannot contain NULL values?

A. Entity Integrity Constraint
B. Referential Integrity Constraint
C. Domain Constraint
D. Key Constraint

29 In data modeling, what is Metadata?

A. Large binary data.
B. Data about data.
C. Redundant data.
D. Corrupted data.

30 Which notation represents a Many-to-One relationship from Entity A to Entity B in an ER diagram?

A. An arrow pointing to A.
B. An arrow pointing to B.
C. A generic line with no arrows.
D. Double lines on both sides.

31 Compared to Relational Databases, NoSQL databases are generally better suited for:

A. Complex transactional systems (Banking).
B. Unstructured or semi-structured data (Big Data).
C. Applications requiring strict ACID compliance.
D. Legacy systems relying on COBOL.

32 The attribute that acts as the primary identifier in a relation is typically underlined in the ER model. What is it called?

A. Weak Key
B. Derived Attribute
C. Primary Key
D. Composite Attribute

33 What is the mathematical definition of a Relation in the relational model?

A. A pointer to a file location.
B. A subset of the Cartesian product of a list of domains.
C. A linked list of data blocks.
D. A hierarchical tree structure.

34 Which DBMS component manages the allocation of space on disk structures?

A. Transaction Manager
B. Storage Manager
C. Query Processor
D. Buffer Manager

35 What is a Composite Attribute?

A. An attribute that can be divided into sub-parts.
B. An attribute derived from another attribute.
C. An attribute that must be unique.
D. An attribute that holds multiple values.

36 A Candidate Key is:

A. A super key with no proper subset that is also a super key.
B. Any key that allows null values.
C. A key that connects two tables.
D. A key automatically generated by the DBMS.

37 The CAP Theorem in the context of Non-Relational databases stands for:

A. Consistency, Atomicity, Partition Tolerance
B. Consistency, Availability, Partition Tolerance
C. Concurrency, Availability, Persistence
D. Consistency, Availability, Performance

38 Which of the following represents the relationship between Schema and Instance?

A. Schema changes often; Instance is static.
B. Schema is the variable; Instance is the type.
C. Schema is the structure (Type); Instance is the data (Variable).
D. They are the same thing.

39 In an ER diagram, a Weak Entity Set is represented by:

A. A double rectangle.
B. A dashed rectangle.
C. A double diamond.
D. A rectangle with rounded corners.

40 Which type of data independence is generally harder to achieve?

A. Physical Data Independence
B. Logical Data Independence
C. Both are equally hard
D. Neither is difficult

41 In the relational model, the value NULL represents:

A. Zero
B. Empty String
C. Unknown or Inapplicable value
D. An error

42 Which of the following is an advantage of DBMS over file systems regarding security?

A. DBMS allows concurrent access.
B. DBMS enforces data types.
C. DBMS can restrict access to specific data views for specific users.
D. DBMS uses more disk space.

43 What is the primary function of the Data Dictionary?

A. To store the actual data of the users.
B. To store metadata about the database structure.
C. To compile SQL queries.
D. To manage buffer memory.

44 A relationship where one entity from set A is associated with at most one entity in set B, and vice versa, is called:

A. One-to-Many
B. Many-to-One
C. One-to-One
D. Many-to-Many

45 In a Relational Schema, if an attribute is a Foreign Key, it must match a value in the ____ of the referenced relation.

A. Any attribute
B. Foreign Key
C. Primary Key (or Candidate Key)
D. Composite attribute

46 Which model is considered a Schema-less model?

A. Relational Model
B. Network Model
C. NoSQL (e.g., Document Model)
D. Hierarchical Model

47 The Data Abstraction level that describes what data is stored and the relationships is:

A. Physical Level
B. Logical Level
C. View Level
D. Network Level

48 In an ER Diagram, attributes are connected to entity sets by:

A. Dashed lines
B. Double lines
C. Straight lines
D. Arrows

49 Which of the following is a disadvantage of a DBMS?

A. Improved Data Integrity
B. Data Independence
C. High cost of hardware and software
D. Reduced Data Redundancy

50 If a relationship set connects Entity Sets and , and the relationship is Many-to-Many, how is this represented in the Relational Model?

A. Adding a foreign key to Table A.
B. Adding a foreign key to Table B.
C. Creating a new table consisting of primary keys from both A and B.
D. Merging Table A and Table B.