DBMS Fill in The Blanks Questions Cleaned
DBMS Fill in The Blanks Questions Cleaned
1. _____ Islamic University H-10, Islamabad, Pakistan Database Management System Week 01
Answer: International
Course Objectives Definition: A database is an organized collection of data that can be easily
Examples:
Banking systems
University records
Highly valuable
Relatively large
A modern database system is a complex software system whose task is to manage a large, complex
collection of data.
Answer: Rashid
3. _____ is a Database ?
Answer: What
4. A _____ Management System (DBMS) is software that enables users to store, retrieve, manage,
Role of DBMS: It provides an interface between the database and end users or application
programs.
Examples of DBMS:
Answer: Database
5. _____ is a DBMS ?
Answer: What
Healthcare
Education
Answer: Banking
Telecommunications
Manufacturing
chain logistics.
Answer: Applications
and testing.
Citizen Records Stores data on citizens, such as tax records and licenses.
Social Media
Answer: Applications
Real Estate
Lease and Rent Management: Automates rent collection and lease renewals.
Retail
Answer: Applications
Vulnerable to Inconsistency
Traditional File Systems Data Redundancy and Inconsistency
Duplicate Data: The same data is stored in multiple files, leading to redundancy.
Inconsistency: Changes in one file may not reflect in others, resulting in data discrepancies.
No Constraints: Traditional file systems lack mechanisms to enforce data integrity rules (e.g., unique
Data Errors: Manual checks are required to maintain accuracy, increasing the chance of errors.
Restricted Access: Files are often tied to specific applications, limiting access to data across
different programs.
Concurrency Issues: Multiple users accessing same file may cause conflicts & corruption.
Answer: Applications
Poor Security
users.
Data Isolation
Scattered Data: Data is stored in separate files, making it hard to consolidate for analysis.
Incompatibility: Different file formats across systems hinder seamless data integration.
Answer: Limitations
12. _____ of Traditional File Systems (2/4) Concurrency and Recovery Issues
Concurrency Control: Traditional file systems lack mechanisms to handle concurrent data access
properly.
No Automatic Recovery: Data loss due to system crashes or hardware failures often results in
permanent damage.
Scalability _____
Handling Large Data: File systems struggle to manage large volumes of data efficiently.
Performance Degradation: As data grows, file access and management become slower.
Manual Backup: Backup processes are manual and prone to human error.
No Transaction Logging: There is no mechanism to roll back or recover from partial updates.
Answer: Limitations
Tight Coupling Files are created and managed by specific applications, leading to tight coupling
DBMS Provides structured data management, supports concurrency, ensures data integrity, and
File Systems Simple to use but lacks advanced features required for complex data management.
application software that allows users to efficiently define, create, maintain and share databases.
Defining a database involves specifying the data types, structures and constraints of date to be
Answer: Limitations
Answer: What
Consistency: Updates to data are reflected across all related records, ensuring data remains
consistent.
Constraints Databases enforce rules such as primary keys, foreign keys, and unique constraints to
Access Control Databases allow user permissions at different levels (read, write, delete).
Encryption Sensitive data can be encrypted, reducing the risk of unauthorized access.
Answer: Reduced
16. _____ of Databases Over File Systems (1/4) Efficient Data Retrieval and Management
SQL Queries Databases support complex queries to retrieve specific data quickly.
Multi-user Access Multiple users can access and modify data concurrently without conflicts.
Answer: Advantages
Transaction Logging Changes are logged, allowing recovery from system failures.
Answer: Concurrency
18. _____ of Databases Over File Systems (2/4) Data Integrity Across Applications
Centralized Management A single database can be used by different applications, ensuring
uniformity of data.
Reduced Application Dependency Changes in the database structure do not necessarily affect
application logic.
Relational Models Data is organized in tables with relationships, making it easier to manage and
update.
Data Models DBMS supports hierarchical, relational, and object-oriented models for better
organization.
Answer: Advantages
19. _____ of Databases Over File Systems (3/4) Scalability and Flexibility
Horizontal and Vertical Scaling Databases can scale to accommodate growing data needs.
Distributed Databases Data can be distributed across different servers for faster access and
reliability.
ACID Properties Databases ensure Atomicity, Consistency, Isolation, and Durability, making
transactions reliable.
Rollback and Commit Changes can be rolled back if errors occur, preserving data integrity.
Data Analytics DBMS supports data aggregation, reporting, and analytical queries.
Answer: Advantages
20. _____ of Databases Over File Systems (4/4) Types of Database Users Database DBMS
How to get Application Programs What to get End users interact Application Programmers
Database Administrators Database Designers develop maintain design Software Data Users
The main types of database users can be classified into four key categories based on how they
1.
Answer: Advantages
Role:
Responsibilities:
Answer: Database
Answer: Types
Role:
Responsibilities:
Answer: Application
24. _____ of Database Users (2/4) 3.
Answer: Types
Role:
Responsibilities:
Examples:
Answer: System
Role:
Types of End _____: Types of Database _____ (4/4) 3.1 Casual _____
Definition: Occasional users who access the database irregularly and do not have deep knowledge
Characteristics:
Examples:
Managers running performance reports.
Answer: Users
27. _____ of End Users (1/3) 3.2 Parametric Users (Naive Users)
Definition: Users who perform routine tasks by interacting with applications that access the
database.
Answer: Types
Characteristics:
Examples:
Answer: They
Definition: Advanced users who directly interact with the database by writing complex queries,
scripts, or programs.
Characteristics:
Examples:
Answer: Types
Answer: Types
Examples:
Use Cases:
Databases:
Answer: Banking
32. _____
Examples:
Use Cases:
Databases:
Answer: Telecommunications
Examples:
Use Cases:
Databases:
Oracle, DB2.
Answer: Public
Answer: Examples
36. _____
Examples:
Use Cases:
Databases:
Answer: Examples
38. _____
Examples:
Use Cases:
Databases:
Answer: Education
Answer: Examples
40. E-Commerce
_____
Use Cases:
Databases:
MongoDB, DynamoDB.
Answer: Examples
Answer: Examples
Examples:
Careem, Bykea
Use Cases:
Databases:
PostgreSQL, MySQL.
Answer: Transportation
Answer: Examples
Examples:
Use Cases:
Answer: Retail
46. _____ Islamic University H-10, Islamabad, Pakistan Database Managements Systems Week
Answer: International
Users:
Developers
End Users Components of DBMS Hardware: Set of physical electronics devices such as computers,
Answer: Rashid
48. _____ When we run oracle or MySQL on our personal computer, then our computers hard disk,
Answer: Examples
49. _____ This is the set of programs used to control and manage the overall database.
Answer: Software
50. _____ The software in DBMS environment includes operating system, database management
Answer: Example
Answer: Data
52. _____ are defined, constructed, and then data is stored, retrieved and updated to and form the
database.
Answer: Database
53. _____ Name (Size, Characters, Unique, Length) Components of DBMS Procedures: These are
the instructions and rules that assist on how to use the DBMS, and in designing and running the
database, using documented procedures, to guide the users that operate and manage it.
Answer: Example
54. _____ Procedures are used to setup and install a new DBMS to login and logout of DBMS
software, to manage DBMS or application programs, to take backup of the database, and to change
Answer: Examples
55. _____ The people are who control and manage the databases and perform different types of
Answer: People
56. _____ Administrator: Managing the license keys, user accounts and access etc.
Answer: Database
57. _____ Developer: This user group is involved in developing and designing the parts of DBMs.
Answer: Software
Answer: Users
59. _____ of DBMS Database Access Language
Example Commands:
Answer: Components
60. _____ of DBMS Definition: Database architecture is the design and structure that defines how a
One-Tier Architecture
Answer: Components
Two-Tier Architecture
Answer: Example
Three-Tier Architecture
Includes a client (User interface (UI), application server (Business logic processing), and database
Answer: Example
63. _____ Web applications using MySQL with PHP.
Answer: Example
Answer: What
65. It is a software design pattern where all components of an application (user interface, business
All-in-One Structure: The applications interface, logic, and database are combined in one layer.
Direct Access: The client directly interacts with the database or performs all functions within the
same environment.
Simpler Design: Easier to develop and deploy since everything is contained in a single executable or
environment.
Limitations:
Not scalable for large applications One-Tier Architecture Desktop Software (Microsoft Word, Excel,
Notepad)
All functionalities (text processing, data management) operate within the same application without
The database and application logic are embedded within the same file or system.
The player interface, decoding logic, and file access are all managed by the application itself.
Answer: Characteristics
66. _____ of One-Tier Architecture Two-Tier Architecture, also known as Client-Server Architecture,
is a software architecture where the application is divided into two main components client and
server.
Sends requests to the server and displays the results to the user.
Receives requests from the client, processes them, and sends back the results.
Communication:
The client and server communicate over a network using protocols like HTTP, TCP/IP, or SQL.
Answer: Examples
Example: A simple website where the browser sends HTTP requests to the server, and the server
Example: A point-of-sale (POS) system where the desktop app interacts with a local or remote
database.
Email Clients
Answer: Architecture
Answer: Server
69. _____ of Two-Tier Architecture Three-Tier Architecture divides an application into three logical
and physical layers: the presentation layer, the application layer (business logic), and the data layer.
Displays data to the user and sends user inputs to the application layer.
Acts as an intermediary between the presentation layer and the data layer.
Answer: Examples
Application Layer: Web server and backend application (Node.js, Django, Spring Boot).
The backend processes user requests, such as adding items to a cart (application layer).
Mobile Applications
Presentation Layer: Mobile app (e.g., iOS or Android app).
Application Layer: Backend API (e.g., RESTful API built with Flask or Express.js).
Answer: Architecture
The backend API handles user authentication and post creation (application layer).
Gaming Applications
Data Layer: Database for storing player profiles and game data.
The game server manages player interactions and game logic (application layer).
Answer: Examples
Conceptual Level
01110011010011100101001010100101010010101..
Answer: Examples
It tells the actual location of data that is being stored by the user.
The Database Administrator (DBA) decides that which data should be kept at which particular disk
drive, how the data has to be arranged, where it has to be stored etc.
It totally depends on the DBA, How he/she manages the database at the physical level.
Answer: Lowest
74. _____ Level (Physical View) This level defines what data are stored in database & What
Example:
Let us take an example where we use the relational model for storing the data.
We have to store the data of a student, the columns in the student table will be student name, age,
Though the data is stored in the database but the structure of the tables like the student table,
teacher table, books table, etc are defined here in the conceptual level or logical level.
Also, how the tables are related to each other are defined here.
Answer: Internal
75. _____ Level (Logical View) This level tells the application about how the data should be shown
to the user.
Different views of same database can be created for user to interact with database for user friendly
approach.
Example:
If we have a login-id and password in a university system, then a student can view his marks,
attendance, etc.
Answer: Conceptual
76. But the faculty of the university will have a different view.
_____ will have options like salary, edit marks, enter attendance of the students, etc.
So, both the student and the faculty have a different view.
In this example, the student can't edit his marks but the faculty who is authorized to edit the marks
Answer: Faculty
77. _____ Level (User View) _____ to Conceptual: Translates user queries to logical structures
Internal to Conceptual: Retrieves data from storage for logical representation Interactions between
Levels Relational DBMS (RDBMS): Data is stored in tables (rows and columns).
Answer: External
NoSQL DBMS: Non-relational, flexible data storage, data is stored in formats like documents,
key-value pairs, graphs, or wide-columns.
Use Case: Big data applications, real-time analytics, social media platforms IoT.
programming languages.
Use Case: CAD/CAM systems, multimedia applications Types of DBMS Hierarchical DBMS: Data is
Network DBMS: Data is stored using a graph structure, allowing multiple parent-child relationships
Answer: Relationships
Use Case: Social networks, recommendation engines, fraud detection Types of DBMS (Cont.)
Columnar Databases: Data is stored by columns rather than rows, which speeds up read operations
Use Case: Data warehousing, analytics Types of DBMS (Cont.) Database architecture provides the
The three-tier model is widely used for its scalability and security.
Understanding DBMS components and architecture is essential for database design and
implementation.
Different DBMS types are used based on application needs, such as structured vs.
Answer: Example
_____ these DBMS types helps in choosing the right database for a given use case.
Summary
Answer: Understanding
81. _____ Islamic University H-10, Islamabad, Pakistan Database Management System Week
Answer: International
Grasp the concept of cardinality and mapping constraints Learning Objectives Data Model gives us
an idea that how the final system will look like after its complete implementation.
Answer: Rashid
83. _____ Models are used to show how data is stored, connected, accessed and updated in the
Answer: Data
84. _____ we use a set of symbols and text to represent the information so that members of the
organization can communicate and understand it.
Answer: Here
85. _____ there are many data models being used nowadays but the Relational model is the most
Answer: Though
Answer: What
87. _____ of Data Models Hierarchical Model was the first DBMS model.
Answer: Types
88. _____ model organizes the data in the hierarchical tree structure.
Answer: This
89. The hierarchy starts from the root which has root data and then it expands in the form of a tree
_____
Windows Registry
XML Databases
Answer: Examples
90. _____ is organized as a graph, where records (nodes) can have multiple parent and child
records.
Answer: Data
91. _____ model is the same as the hierarchical model, the only difference is that a record can have
Answer: This
Examples
Answer: Features
93. _____ Model The real-world problems are more closely represented through the object-oriented
data model.
Answer: Network
94. In this model, both the data and relationship are present in a single structure known as an
object.
We can store audio, video, images, etc in the database which was not possible in the _____ Model.
Answer: Relational
_____
MongoDB, CouchDB, ObjectDB Object Oriented Model The NoSQL Model refers to a category of
Answer: Examples
96. _____ traditional relational databases, which use tables and SQL (Structured Query Language),
NoSQL databases use a variety of data models to store and manage data.
NoSQL databases are particularly well-suited for modern applications that require high scalability,
flexibility, and performance, such as web applications, big data, and real-time analytics.
Document-Oriented Model
Key-Value Model
Graph Model NoSQL Model Description: Stores data as documents, typically in JSON, BSON, or
XML format.
Structure: Each document is a self-contained unit with key-value pairs, nested objects, or arrays.
Use Cases:
E-commerce applications.
Real-time analytics.
Examples:
Answer: Unlike
97. Document-Oriented _____ Description: Stores data as key-value pairs, where each key is
Structure: Simple and efficient for lookups, but values can be complex (e.g., JSON, strings, or binary
data).
Use Cases:
Real-time recommendations.
Distributed configurations.
Examples:
Redis: An in-memory key-value store with support for data structures like lists and sets.
Answer: Model
98. Key-Value _____ Description: Stores data in columns rather than rows, making it suitable for
Structure: Data is organized into column families, which are groups of related columns.
Use Cases:
Time-series data.
Examples:
Answer: Model
99. Column-Family (Wide-Column) _____ Description: Represents data as nodes (entities) and
Use Cases:
Social networks.
Fraud detection.
Recommendation engines.
Examples:
Answer: Model
100. _____ Model The Entity-Relationship (ER) Model is a high-level conceptual data model used
It represents real-world objects (entities) and the relationships between them, making it easier to
Key Components:
Relationships: Links between entities, how entities interact with each other (e.g., Enrolled in)
Answer: Graph
Answer: Examples
assigned to an items that exist in an environment and that have similar properties.
Answer: Model
_____ Instance:
_____ Set:
Example:
_____: Employee
These entities exist independently i.e., without being linked to other instances and
have a unique identifier (primary key).
Answer: Entity
Weak/Dependent Entity:
These entities depend on a strong entity and cannot exist without it.
Answer: Student
A dependent (like a spouse or child) cannot exist independently in the system without being
Composite Key: The primary key is a combination of the strong entitys primary key and the weak
entitys discriminator.
Answer: Example
106. _____ of Entity Employee Strong Entity Week Entity Weak Entity Example Customer Type
_____ of Attributes:
Answer: Types
Composite: Can be divided into smaller sub-parts, each representing a basic attribute.
Answer: Gender
108. _____ First _____, Last _____.
Ex.
Answer: Name
Answer: Date
Multi Valued: Can have more than one value for a single entity.
Answer: Total
Answer: Degrees
Answer: Employee
Composite _____
Answer: Attribute
114. _____ Attribute
Answer: Multivalued
Answer: Student
An attribute that can be derived from other attribute is known as a derived attribute.
Answer: Types
117. A person's age changes over time and can be derived from another attribute like _____ of birth.
Answer: Date
118. _____ of Attributes ER Diagram Symbols Student ID Key Attribute Name Non-key Attribute
Passport Number Week Attribute Age Derived Attribute Student Strong Entity Multi Valued
Relationship Identifying
Relationship Mandatory
Relation Optional
Relation ER Diagram Symbols DoB year month day Composite Attribute Name First Middle Last
Attribute Age Derived Attribute Student DoB Age ER Diagram with Different _____ of Attributes mr
no Simple Attribute patient id Key Attribute Age Derived Attribute Multi Valued Attribute patient
Strong Entity insurance id Key Attribute provider Simple Attribute Multi Valued Attribute Week Entity
Identifying
Relationship Keys Example student id name age major course id name teacher Enroll grade
Course Student A key in a database is an attribute (or a set of attributes) that is used to uniquely
Importance of Keys:
_____ of Keys:
Primary Key (PK), Candidate Key, Foreign Key (FK), Composite Key Keys It is the first key used to
identify one and only one instance of an entity or uniquely identify every rows in Table.
Answer: Types
Answer: Rules
120. _____ Key _____ Key A candidate key is an attribute or set of attributes that can uniquely
Answer: Primary
121. The _____ key should be selected from the Candidate keys.
Answer: Primary
Answer: Rules
123. _____ Key _____ Key Alternate Key Primary Key A super key is a set of attributes that can
Answer: Candidate
124. _____ for defining Super Key:
Answer: Rules
125. _____
Each set can uniquely identify each student in the Student table.
Answer: Example
126. _____ Key (roll, name, gender, age, address, class, section)
(name, address) Alternate Keys is uniquely identify every row in that table.
Answer: Super
127. All the keys which are not primary key are called an _____ Key.
Answer: Alternate
128. _____ number of the Alternate Keys = _____ number of Candidate Keys - Primary Key.
Answer: Total
129. _____ Key Primary Key _____ Key Candidate Key Foreign keys is a column that creates a
Answer: Alternate
130. _____ keys are the column of the table used to point to the primary key of another table.
Answer: Foreign
131. It is a key it acts as a primary key in one table & secondary key in another table.
The purpose of _____ keys is to maintain data integrity and allow navigation between two different
instances of an entity
Answer: Foreign
Answer: Foreign
Answer: There
Answer: Foreign
Key Composite Key is a combination of two or more columns that uniquely identify rows in a table.
Answer: Products
136. _____ a primary key consists of more than one attribute, it is known as a composite key.
Answer: Whenever
137. _____
Employee may be assigned multiple roles and an employee may work on multiple projects
simultaneously.
Answer: Example
in Student Table.
_____ Key: A key that consists of two or more columns to uniquely identify a record when a single
Answer: Composite
Naming:
Entities involved in a relationship are called its participants Relationship Symbol for Relationships
Ternary Relationship
Sometimes, breaking a ternary relationship into multiple binary relationships can lead to loss of
Answer: Enrolment
140. It doesn't clearly specify which supplier supplied which product to which project.
_____ Constraints
Specifies how many instances of one entity can be associated with instances of the other entity
these are
Example: "Person" - (owns) - "Passport ".Each person owns only one passport, and each passport
When only one instance of the entity on the left, and more than one instance of an entity on the right
Answer: Cardinality
Answer: Example
When more than one instance of an entity on the right and only one instance of the entity on the left
Answer: Cardinality
Answer: Example
144. _____ students can enroll in only one degree program, but degree program can have many
students.
When more than one instance of the entity on the left, and more than one instance of an entity on
Answer: Many
The weak entity cannot exist independently and depends on the strong entity for its identification.
The primary key of the weak entity is derived from the primary key of the strong entity (often
A Bank Account (strong entity) can have multiple Transactions (weak entity).
Answer: Cardinality
Answer: Transaction
transaction _____ Relationship Date Amount performs An Entity Type linked with itself, is called
Types:
One-to-One (1:1): One entity relates to one entity (e.g., Country - Capital)
Many-to-Many (M:M): Many entities relate to many (e.g., Students - Courses) Cardinality in
Relationships Student M Course M Teacher M M Cardinality in Relationships 51 56 60 ISB LHR
KAR 123 145 147 3/3/93 2/2/92 3/1/92 3/1/92 Employee Works in Department 147 Location
One:
Many:
The origin entity has only one target entity associated with it
Zero to One:
The origin entity can either have no associated entities or up to one target entity associated with it.
Notations that begin with zero generally indicate that the relationship is optional Cardinality
The origin entity can have one or many linked Target entities associated with it
Zero to Many:
The target entity can be associated with the origin entity any number of times from zero on up this is
another optional relationship Cardinality Notations Roles in Relationships Teacher Advisor Roles:
Answer: Identifying
148. _____
Answer: Roles
149. provides
treatment receives
treatment provides
care receives
care _____ Many customers can buy many products from many suppliers, at different prices Doctor
Types:
Representation: Rectangle.
Types:
Derived Attribute: Calculated from other attributes (e.g., Age from DateOfBirth).
Answer: Patient
Answer: Draw
Types:
One-to-One (1:1)
One-to-Many (1:M)
Many-to-Many (M:N)
Answer: Step
Answer: Draw
The primary key of the related strong entity is part of the weak entitys composite key.
Representation:
Answer: Step
Answer: Draw
Answer: Diagram
157. _____ Islamic University H-10, Islamabad, Pakistan Database Management System Week 04
Answer: International
Learn key concepts like relational schema, keys, and constraints Learning Objectives The Relational
Model is a way to structure and manage data in a database by organizing it into tables (relations).
Answer: Rashid
Answer: Converts
160. _____ in 1970 and is the foundation of most modern database systems.
Answer: Codd
Answer: What
162. _____ Organizes data into tables (relations) with rows and columns.
Example: A university database with tables like Students, Courses, and Enrollments.
Key Features:
Uses tables, primary keys, foreign keys, and normalization.
SQL Server.
Answer: Purpose
163. _____ Model Consider a relation STUDENT with attributes ROLL_NO, NAME, ADDRESS,
PHONE and AGE shown in Table 1 _____ Model Concepts Key Concepts of the _____ Model
Relation (Table)
Answer: Relational
Answer: Each
Relation Instance
The set of tuples of a relation at a particular instance of time is called as relation instance.
Answer: Tables
Answer: Example
Example: ROLL_NO, NAME, ADDRESS, PHONE, AGE in STUDENT Table Key Concepts of the
Relationships:
One-to-Many (1:M)
Many-to-Many (M:N)
A primary key is an attribute (or a combination of attributes) that uniquely identifies each tuple (row)
in a relation.
Answer: Attribute
An attribute in one table that references the primary key of another table, establishing relationships
between tables.
Answer: Example
The number of attributes in a table (e.g., a table with 4 columns has degree 4).
Cardinality
NULL Values
Answer: Concepts
Relational Schema
Answer: Example
171. _____ STUDENT (ROLL_NO, NAME, ADDRESS, PHONE and AGE) is relation schema for
STUDENT.
Answer: Example
Relationships:
Many-to-Many (M:N)
Answer: Concepts
The insert operation gives values of the attribute for a new tuple which should be inserted into a
relation.
Answer: Properties
to Active.
Answer: Update
To specify deletion, a condition on the attributes of the relation selects the tuple to be deleted.
Answer: Operations
Select Operation
Answer: Example
Answer: Example
178. _____ in Relational Model A Relational Schema is the blueprint of a relational database.
Answer: Operations
179. It defines how data is organized and how relationships between data are maintained.
It describes the structure of tables (relations), the attributes (columns) in each table, and the
table.
Constraints: Rules like NOT NULL, UNIQUE, CHECK, and DEFAULT that maintain data integrity.
Answer: Components
180. _____ Schema Imagine a university database with two entities: Students and Courses.
_____ Schema:
ID for Customer
ID for Product
Foreign Keys:
Product_ID in Order references ID in Product _____ Schema: Example The schema defines the
SQL is used to implement the schema, create tables, and manage data.
Answer: Relational
StudentID INT,
CourseID INT,
Grade CHAR(1),
Major VARCHAR(50)
Query Example: _____ Schema: How it Works SELECT s.Name, c.Title, e.Grade
FROM STUDENT s
JOIN COURSE c ON e.CourseID = c.CourseID; INSERT INTO STUDENT VALUES (101, 'Alice
INSERT INTO ENROLLMENT VALUES (101, 301, 'A'); Comparison of three Models Levels of
Abstraction 1.
Answer: Relational
2.
Answer: Start
3.
Answer: Convert
Define SQL CREATE TABLE statements to implement the tables and constraints in the database.
Answer: Implement
2.
Answer: Model
CourseID).
3.
Answer: Relational
187. _____ Schema (Implementation Phase): Example Workflow CREATE TABLE ENROLLMENT (
StudentID INT,
CourseID INT,
Name VARCHAR(100),
Age INT
Title VARCHAR(100)
); The _____ Model in databases offers several advantages, making it a widely used and preferred
Answer: Relational
Data is represented in rows and columns, making it straightforward to query and manipulate.
Structural Independence
Changes in database schema (such as adding or modifying columns) do not affect applications
Supports integrity constraints (e.g., primary keys, foreign keys, and unique constraints) to maintain
data consistency.
Answer: Here
189. _____ referential integrity, preventing orphan records and maintaining valid relationships.
Answer: Ensures
190. _____ of using Relational Model Reduced Data Redundancy
Data Security
Provides access control mechanisms, ensuring only authorized users can access or modify data.
Answer: Advantages
Supports Structured Query Language (SQL), which enables complex queries, filtering, and data
manipulation.
Answer: Allows
ensuring reliability.
Answer: Support
Ensures that changes made by one user do not negatively impact others.
Relational databases follow ANSI/ISO standards, making them compatible across different
platforms.
Popular RDBMSs like MySQL, PostgreSQL, Oracle, and SQL Server support the relational model,
Answer: Advantages
Answer: Advantages
2.
Answer: Complexity
High-performance relational databases may need powerful hardware for efficient operations.
3.
Answer: Storage
Vertical Scaling (adding more resources to a single server) is common but has limits.
Horizontal Scaling (distributing data across multiple servers) is complex compared to NoSQL
databases.
Answer: Scalability
Answer: Disadvantages
Changes in the schema (e.g., adding/removing columns) can be difficult and impact existing
applications.
5.
Answer: Rigid
No built-in support for hierarchical or graph-like relationships (Graph Databases perform better
here).
6.
Answer: Complexity
Regular backups, indexing, query tuning, and security management add to maintenance costs.
Answer: High
Answer: Disadvantages
While ACID properties ensure consistency, they can introduce latency in distributed systems.
8.
Answer: Compliance
Complex joins and integrity constraints can slow down real-time data processing.
NoSQL databases are often preferred for real-time analytics and IoT applications.
Answer: Ideal
205. _____ of using Relational Model ER Diagram Relational Diagram Attributes Relationships
Cardinality ER Diagram Example Using Draw.IO ER Diagram Example Using Draw.IO Roles in
Relationships Roles in Relationships Roles in Relationships An employee can have 0,1 or several
phone numbers
Business Rule 1 There are finite number of phone number combinations that exist.
Answer: Disadvantages
206. _____ time different employee can have same phone number, each a different time.
Answer: Over
207. _____ Rule 2 An employee can be paid either hourly or by a yearly salary.
Answer: Business
208. _____ on how they are paid, we need to collect specific information that applies only to that
type of employee.
Answer: Depending
209. _____ Rule 3 An employee can be assigned to many projects, however a single project can
Answer: Business
210. _____ Rule 4 MySQL Sample Database MySQL Sample Database MySQL Sample
Database Steps:
Example:
The primary key of the table will be the key attribute of the entity set.
Answer: Business
211. _____ ER Model to Table Rule 2: For Strong Entity Set with Composite Attribute
A strong entity set with any number of composite attributes will require only one table in relational
model.
During conversion, simple attributes of the composite attributes are taken into account and not
_____ ER Model to Table Rule 3: For Strong Entity Set with Multi Valued Attribute
A strong entity set with any number of multivalued attributes will require two tables in relational
model.
One table will contain all the simple attributes with the primary key.
Other table will contain the primary key and all the multi valued attributes.
Answer: Converting
212. _____ ER Model to Table Rule 4: Translating Relationship Set into a Table
Answer: Converting
213. _____ ER Model to Table Rule 5: For Binary Relationships with Cardinality Ratios
A (a1, a2)
B (b1, b2)
A (a1, a2)
BR (a1, b1, b2) M N 1 N Rule 5: For Binary Relationships with Cardinality Ratios
B (b1, b2)
Way 2
A (a1, a2)
BR (a1, b1, b2) M 1 1 1 _____ ER Diagram to Table Relational Diagram for University Database
Answer: Converting