NEW
Font size
WorksheetsDatabase Fundamentals Worksheet
Total questions: 55
Worksheet time: 32mins
Which of the following best defines a database?
A software used for word processing
A structured collection of related data stored for easy access
A program that creates spreadsheets
A computer file that stores random numbers
A backup copy of an operating system
The main purpose of a database management system (DBMS) is to:
Control access to the operating system
Manage data efficiently and allow multiple users to access data safely
Design hardware components
Translate programming languages
Handle internet browsing sessions
In a database, a row is also known as a:
Field
Attribute
Record
Table
File
The columns in a database table represent:
Records
Entities
Attributes
Relationships
Tuples
What is the smallest unit of data in a database?
Field
Character
Table
Record
Relation
A database that stores data in tables with rows and columns follows which model?
Network model
Hierarchical model
Object-oriented model
Relational model
File-based model
Who introduced the relational database model?
Charles Babbage
Tim Berners-Lee
Edgar F. Codd
Bill Gates
Dennis Ritchie
What is an entity in a database?
A column heading
A real-world object about which data is stored
A software application
A data dictionary
A type of relationship
Which key uniquely identifies each record in a table?
Foreign key
Composite key
Primary key
Alternate key
Candidate key
The process of reducing data redundancy and improving data integrity is called:
Normalization
Encryption
Replication
Denormalization
Optimization
A relationship between two entities where each record in one table corresponds to many in another is called:
One-to-one
One-to-many
Many-to-many
Circular
Hierarchical
Which of the following is NOT a level in the three-level architecture of DBMS?
Internal level
External level
Conceptual level
Logical level
Physical level
The component responsible for data storage and retrieval is the:
Query processor
Data definition subsystem
Data manipulation subsystem
Data storage subsystem
Application interface
Which model represents data as a tree structure?
Relational
Hierarchical
Object-oriented
Network
ER model
The DBMS language used to define database structures is:
DML
DDL
DCL
TCL
SQL*Plus
In SQL, which statement is used to insert new data into a table?
ADD
UPDATE
INSERT INTO
CREATE TABLE
MODIFY
Which of the following describes a foreign key?
A key that identifies each record uniquely
A key from another table that establishes a link between two tables
A duplicate field used for sorting
A temporary key used in queries
A key used only in backup copies
The relationship between "students" and "courses" in which a student can enroll in many courses, and a course can have many students is:
One-to-one
One-to-many
Many-to-many
Recursive
Derived
What does SQL stand for?
Sequential Query Language
Standardized Query Logic
Structured Query Language
Simple Query Layout
Stored Question List
A data dictionary stores:
Only user passwords
The structure, format, and constraints of database data
Raw data values
Historical transactions
Backup configurations
Which command retrieves data from one or more tables?
INSERT
SELECT
ALTER
DROP
COMMIT
The UPDATE command is used to:
Modify existing data
Delete data
Add new tables
Retrieve data
Define constraints
In SQL, which clause is used to filter records based on a condition?
SORT
ORDER BY
FILTER
WHERE
HAVING
Which of the following ensures that no duplicate values exist in a column?
FOREIGN KEY
UNIQUE constraint
DEFAULT constraint
CHECK constraint
NULL constraint
Which SQL clause groups rows that have the same values in specified columns?
SORT BY
ORDER BY
GROUP BY
HAVING
UNION
What does the COMMIT command do?
Saves changes permanently in the database
Cancels current transaction
Deletes a record permanently
Temporarily stores data
Locks the table
Which of the following statements removes a table from a database?
ERASE TABLE
REMOVE TABLE
DROP TABLE
DELETE TABLE
CLEAR TABLE
What type of integrity ensures that foreign keys match primary keys in related tables?
Domain integrity
Referential integrity
Entity integrity
User integrity
Attribute integrity
Which normalization form removes repeating groups?
1NF
2NF
3NF
BCNF
4NF
The database language that handles data retrieval and manipulation is:
DDL
DCL
DML
TCL
HTML
What is the first step in designing a database?
Create tables
Identify entities and their relationships
Normalize data
Write SQL code
Define constraints
In an ER diagram, rectangles represent:
Attributes
Entities
Relationships
Keys
Values
A weak entity is one that:
Has no attributes
Depends on another entity for its identification
Has no relationships
Can exist independently
Contains redundant data
In an ER diagram, an oval represents a/an:
Entity
Attribute
Relationship
Key
Table
A composite key is:
A key formed by combining multiple fields
A key copied from another table
A randomly generated identifier
A default system key
A foreign key
When a table violates normalization rules by storing multiple values in one field, it causes:
Data loss
Update anomaly
Redundancy
Inconsistency
All of the above
The process of designing a database without redundancy and with logical grouping of data is called:
Denormalization
Normalization
Classification
Data mining
Replication
Which DBMS feature controls who can access or modify data?
Backup system
Security and authorization
Query optimizer
Data abstraction
View generator
The process of making a copy of database data for safety is called:
Replication
Backup
Logging
Encryption
Normalization
Which SQL command revokes privileges from a user?
DENY
DELETE
REMOVE
REVOKE
ALTER
Which of the following ensures data privacy during transmission?
Backup
Data dictionary
Encryption
Compression
Replication
A transaction in a DBMS refers to:
A unit of work performed in the database
A database backup
A data dictionary entry
A system restore operation
A deleted record
Which property ensures that either all parts of a transaction are completed or none at all?
Durability
Isolation
Consistency
Atomicity
Integrity
The property that ensures multiple transactions can occur without interfering is:
Consistency
Atomicity
Isolation
Durability
Redundancy
A deadlock occurs when:
Two transactions wait indefinitely for each other to release resources
The database crashes due to overload
The data is corrupted
The query optimizer fails
The network disconnects
Which SQL command permanently deletes all records but not the table itself?
DELETE
DROP
ERASE
CLEAR
REMOVE
A distributed database is one that:
Stores data in multiple locations but acts as a single database
Is accessible only by one user
Is stored in a spreadsheet
Operates without a DBMS
Has no replication
Cloud databases are advantageous mainly because they:
Require no internet
Allow scalability and remote access
Operate offline
Eliminate data security
Use manual storage
Big data databases like NoSQL differ from relational databases because they:
Store unstructured data and scale horizontally
Do not support large data
Use fixed schemas
Are only for numeric data
Require local servers only
An example of a NoSQL database is:
Oracle
MySQL
MongoDB
Access
DB2
Which of the following is an open-source RDBMS?
Microsoft Access
Oracle
MySQL
IBM DB2
SAP HANA
The component of a DBMS that translates user queries into instructions is called:
Query processor
Data dictionary
Transaction manager
Storage manager
Backup module
In database security, authentication refers to:
Restricting physical access
Verifying the identity of a user
Encrypting stored data
Checking for data duplication
Logging user activity
Which of the following is NOT a function of a DBMS?
Data manipulation
Data security
Report generation
Hardware assembly
Backup and recovery
The overall goal of a database system is to:
Make data storage more expensive
Provide organized, accurate, and accessible data for decision-making
Replace operating systems
Eliminate user roles
Increase redundancy
