Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
You're offline
Unit 4 MCQsIntroduction to Database Management System
Question 1 of 60 · Conceptual understanding of databases · Easy
What is a database?
Not quite. Try another option.
Answer: An organized collection of related data
A database stores related data in an organized form so that it can be accessed and managed efficiently.
Question 2 of 60 · Conceptual understanding of databases · Easy
In a relational database, what does a table usually represent?
Not quite. Try another option.
Answer: A collection of related records
A table organizes related records into rows and columns.
Question 3 of 60 · Conceptual understanding of databases · Easy
What is a record in a database table?
Not quite. Try another option.
Answer: A single row of related data
A record is one row containing related values about a single item or entity.
Question 4 of 60 · DBMS applications · Easy
Which system commonly uses a DBMS to store account and transaction information?
Not quite. Try another option.
Answer: Banking system
Banking systems use a DBMS to store and manage customer accounts and financial transactions.
Question 5 of 60 · DBMS applications · Easy
How can a DBMS be used in a school?
Not quite. Try another option.
Answer: Managing student records
Schools use database systems to manage student details, attendance, grades, and course information.
Question 6 of 60 · DBMS applications · Easy
Which DBMS application helps a hospital organize patient information?
Not quite. Try another option.
Answer: Patient record system
A patient record system stores and organizes details such as patient profiles, appointments, and treatments.
Question 7 of 60 · Components of DBMS · Easy
Which DBMS component interprets and executes database queries?
Not quite. Try another option.
Answer: Query processor
The query processor interprets database queries and helps execute them.
Question 8 of 60 · Components of DBMS · Easy
Which DBMS component manages how data is stored and retrieved?
Not quite. Try another option.
Answer: Storage manager
The storage manager controls the storage, retrieval, and updating of data in the database.
Question 9 of 60 · Components of DBMS · Easy
What does the data dictionary contain?
Not quite. Try another option.
Answer: Metadata about database objects
A data dictionary stores metadata, such as definitions of tables, columns, and constraints.
Question 10 of 60 · Users and actors of DBMS · Easy
Who is primarily responsible for controlling access to a database?
Not quite. Try another option.
Answer: Database administrator
A database administrator manages permissions, security, backup, and the overall operation of a database.
Question 11 of 60 · Users and actors of DBMS · Easy
Which DBMS actor writes programs that interact with a database?
Not quite. Try another option.
Answer: Application programmer
An application programmer develops software that sends requests to and receives data from a DBMS.
Question 12 of 60 · Users and actors of DBMS · Easy
Who uses a database application to perform routine tasks such as entering or viewing data?
Not quite. Try another option.
Answer: End user
An end user interacts with database applications to enter, search, update, or view information.
Question 13 of 60 · DBMS architecture · Easy
How many levels are present in the traditional three-schema DBMS architecture?
Not quite. Try another option.
Answer: Three levels
The three-schema architecture has external, conceptual, and internal levels.
Question 14 of 60 · DBMS architecture · Easy
Which level of the three-schema architecture describes how data is physically stored?
Not quite. Try another option.
Answer: Internal level
The internal level describes physical storage structures and access methods.
Question 15 of 60 · DBMS architecture · Easy
Which level presents different database views to individual users?
Not quite. Try another option.
Answer: External level
The external level provides user-specific views of the database.
Question 16 of 60 · DBMS architecture · Easy
What does the conceptual level describe?
Not quite. Try another option.
Answer: The overall logical database structure
The conceptual level defines the overall logical organization of data and its relationships.
Question 17 of 60 · Data independence · Easy
What is data independence?
Not quite. Try another option.
Answer: Changing one schema level without greatly affecting higher levels
Data independence allows changes at one schema level with minimal or no changes at higher levels.
Question 18 of 60 · Data independence · Easy
What is a major benefit of data independence?
Not quite. Try another option.
Answer: Reduced impact of database changes
Data independence reduces the need to modify applications when the database structure or storage changes.
Question 19 of 60 · Types of data independence · Easy
Which type of data independence allows physical storage changes without changing the conceptual schema?
Not quite. Try another option.
Answer: Physical data independence
Physical data independence allows storage details, such as file organization, to change without altering the logical design.
Question 20 of 60 · Types of data independence · Easy
Which type of data independence allows changes to the conceptual schema without changing user views or application programs?
Not quite. Try another option.
Answer: Logical data independence
Logical data independence protects external views and applications from changes to the conceptual schema.
Question 21 of 60 · Conceptual understanding of databases · Medium
A college stores student addresses separately in admissions, library, and examination files. The address may therefore differ across departments. Which database concept most directly addresses this problem?
Not quite. Try another option.
Answer: Centralized sharing of integrated data
An integrated database provides a shared version of data, reducing duplication and inconsistent updates.
Question 22 of 60 · Conceptual understanding of databases · Medium
In a relational database, a foreign key in an Orders table refers to a primary key in a Customers table. What is the main purpose of this relationship?
Not quite. Try another option.
Answer: To maintain referential integrity
The foreign-key relationship ensures that each referenced customer exists in the Customers table.
Question 23 of 60 · Conceptual understanding of databases · Medium
Two employees try to reserve the last available conference room for the same time slot. What database capability is most important for preventing both reservations from being accepted?
Not quite. Try another option.
Answer: Concurrency control
Concurrency control coordinates simultaneous operations so conflicting reservations cannot both commit.
Question 24 of 60 · DBMS applications · Medium
A bank transfers money by debiting one account and crediting another. If the credit operation fails, the debit must also be undone. Which DBMS feature supports this requirement?
Not quite. Try another option.
Answer: Transaction atomicity
Atomicity treats the transfer as one indivisible transaction: either both operations occur or neither occurs.
Question 25 of 60 · DBMS applications · Medium
A hospital permits doctors to view medical histories but allows billing staff to view only payment details. Which DBMS application capability enables this arrangement?
Not quite. Try another option.
Answer: Role-based access control
Role-based access control grants each group only the permissions needed for its responsibilities.
Question 26 of 60 · DBMS applications · Medium
An online store must reduce product stock immediately after a successful purchase while supporting many simultaneous customers. Which type of workload best describes this application?
Not quite. Try another option.
Answer: Online transaction processing
Online transaction processing handles frequent, concurrent, short transactions such as purchases and stock updates.
Question 27 of 60 · Components of DBMS · Medium
A SQL statement is checked, converted into an execution plan, and optimized before accessing data. Which DBMS component performs these tasks?
Not quite. Try another option.
Answer: Query processor
The query processor parses, validates, optimizes, and executes database queries.
Question 28 of 60 · Components of DBMS · Medium
Frequently accessed disk pages are retained temporarily in main memory to reduce input/output operations. Which component manages this activity?
Not quite. Try another option.
Answer: Buffer manager
The buffer manager moves pages between disk and memory and keeps useful pages available for reuse.
Question 29 of 60 · Components of DBMS · Medium
After a power failure, a DBMS uses recorded changes to restore committed transactions and undo incomplete ones. Which component supplies the required records?
Not quite. Try another option.
Answer: Recovery manager
The recovery manager uses log information to redo committed work and undo incomplete transactions.
Question 30 of 60 · Components of DBMS · Medium
A developer needs to find the data type, constraints, and owner of a table without reading its rows. Which DBMS component should be consulted?
Not quite. Try another option.
Answer: Data dictionary
The data dictionary stores metadata such as table definitions, constraints, ownership, and data types.
Question 31 of 60 · Users and actors of DBMS · Medium
Who is primarily responsible for creating user accounts, granting privileges, planning backups, and monitoring database performance?
Not quite. Try another option.
Answer: Database administrator
The database administrator manages security, availability, backup, recovery, and overall database performance.
Question 32 of 60 · Users and actors of DBMS · Medium
A specialist decides which entities, relationships, attributes, and constraints should represent a university's information requirements. Which role is being performed?
Not quite. Try another option.
Answer: Database designer
A database designer translates information requirements into an appropriate database structure.
Question 33 of 60 · Users and actors of DBMS · Medium
A bank teller repeatedly uses predefined forms to deposit and withdraw funds without writing SQL. How is this user best classified?
Not quite. Try another option.
Answer: Parametric end user
Parametric end users repeatedly execute predefined transactions through forms or standard interfaces.
Question 34 of 60 · DBMS architecture · Medium
In the three-schema architecture, which level describes the complete logical structure of the database while hiding physical storage details?
Not quite. Try another option.
Answer: Conceptual level
The conceptual level defines the database's overall logical entities, relationships, and constraints.
Question 35 of 60 · DBMS architecture · Medium
A reporting employee sees only EmployeeName and Department, although the database also stores salary and tax details. Which architectural level defines this restricted representation?
Not quite. Try another option.
Answer: External level
The external level provides user-specific views that expose only required parts of the database.
Question 36 of 60 · DBMS architecture · Medium
In a three-tier application, where is validation of business rules normally placed so that multiple client interfaces can reuse it?
Not quite. Try another option.
Answer: Application server tier
The application server typically contains reusable business logic between clients and the database server.
Question 37 of 60 · Data independence · Medium
A DBMS is said to provide data independence when developers can do what?
Not quite. Try another option.
Answer: Modify one schema level with minimal impact above it
Data independence limits the effect that changes at a lower schema level have on higher-level schemas and applications.
Question 38 of 60 · Types of data independence · Medium
An administrator adds an index to CustomerID to improve search speed, but application queries remain unchanged. Which type of data independence does this demonstrate?
Not quite. Try another option.
Answer: Physical data independence
Adding an index changes physical storage and access methods without changing the logical schema.
Question 39 of 60 · Types of data independence · Medium
A database designer adds DateOfBirth to the conceptual schema while existing user views and programs continue to work. Which type of data independence is demonstrated?
Not quite. Try another option.
Answer: Logical data independence
Logical data independence allows conceptual-schema changes without requiring changes to existing external views or programs.
Question 40 of 60 · Types of data independence · Medium
Which change is most likely to require logical data independence rather than physical data independence?
Not quite. Try another option.
Answer: Splitting an Address attribute into several logical fields
Splitting an attribute changes the conceptual structure, so external views and applications must be protected through logical data independence.
Question 41 of 60 · Conceptual understanding of databases · Hard
A university changes every student's stored GPA after grades are finalized, but it does not alter any relation definitions, domains, or constraints. Which description is most accurate?
Not quite. Try another option.
Answer: The database state changes while the database schema remains unchanged.
Stored tuples constitute the current database state. Updating their values changes that state, whereas the schema remains unchanged because its definitions and constraints were not modified.
Question 42 of 60 · Conceptual understanding of databases · Hard
A relation records (EmployeeID, ProjectID, Hours). An employee may work on several projects, but each employee-project pair must occur at most once. Which constraint best captures the required identity?
Not quite. Try another option.
Answer: (EmployeeID, ProjectID) should form a composite key.
Neither identifier alone uniquely identifies an assignment. Their combination uniquely identifies each employee-project association.
Question 43 of 60 · Conceptual understanding of databases · Hard
Two applications separately store a customer's address. Both files are internally valid, but one contains an old address. Which database concept is most directly violated?
Not quite. Try another option.
Answer: Data consistency across representations
Conflicting values for the same real-world fact create inconsistency. Centralized control and reduced redundancy help a DBMS prevent this anomaly.
Question 44 of 60 · DBMS applications · Hard
A banking application debits one account and credits another. A failure occurs after the debit but before the credit. Which DBMS capability is essential to prevent a permanently incomplete transfer?
Not quite. Try another option.
Answer: Atomic transaction processing
Atomicity guarantees that all operations in the transfer occur or none do. Recovery therefore rolls back the debit if the credit cannot complete.
Question 45 of 60 · DBMS applications · Hard
An airline reservation system allows two agents to read the final available seat and then both confirm it. Which DBMS function should primarily prevent this outcome?
Not quite. Try another option.
Answer: Concurrency control enforcing isolation
The outcome is a concurrent access anomaly. Suitable isolation or locking ensures that conflicting reservations cannot both commit for the same seat.
Question 46 of 60 · DBMS applications · Hard
A hospital must let physicians see full clinical records while billing staff see only treatment codes and charges. Which DBMS feature most directly supports this requirement?
Not quite. Try another option.
Answer: Role-controlled external views
External views can expose different subsets of the same database, while role-based authorization limits which users may access each view.
Question 47 of 60 · Components of DBMS · Hard
A SQL query is syntactically valid and produces the correct result, but its selected execution strategy performs repeated full-table scans despite available indexes. Which DBMS component is chiefly responsible?
Not quite. Try another option.
Answer: Query optimizer
The query optimizer evaluates alternative execution plans and selects access paths. Choosing scans instead of useful indexes is principally an optimization issue.
Question 48 of 60 · Components of DBMS · Hard
After a committed update, the system crashes before the modified data page reaches permanent storage. Which mechanism enables the DBMS to restore the committed value?
Not quite. Try another option.
Answer: Redo information in the transaction log
With write-ahead logging, committed changes can be redone from durable log records even if their data pages were not written before the crash.
Question 49 of 60 · Components of DBMS · Hard
The optimizer needs table cardinalities, available indexes, attribute domains, and access privileges. Which DBMS component centrally stores this metadata?
Not quite. Try another option.
Answer: System catalog
The system catalog, or data dictionary, stores schema definitions, statistics, indexes, constraints, and authorization metadata used by DBMS components.
Question 50 of 60 · Components of DBMS · Hard
A requested page is already present in main memory, but the DBMS reads it from disk again because it fails to recognize the cached copy. Which component has malfunctioned most directly?
Not quite. Try another option.
Answer: Buffer manager
The buffer manager tracks database pages held in memory and decides when pages must be fetched, retained, replaced, or written back.
Question 51 of 60 · Users and actors of DBMS · Hard
An organization must decide entity structures, relationship cardinalities, and integrity constraints before application programs are implemented. Who is primarily responsible?
Not quite. Try another option.
Answer: Database designer
A database designer translates information requirements into conceptual and logical structures, including entities, relationships, keys, and constraints.
Question 52 of 60 · Users and actors of DBMS · Hard
A bank teller repeatedly executes predefined deposit and withdrawal forms without writing SQL or modifying schemas. Which DBMS user category best fits this role?
Not quite. Try another option.
Answer: Parametric end user
Parametric users repeatedly run predefined, or canned, transactions through fixed application interfaces rather than formulating arbitrary database operations.
Question 53 of 60 · Users and actors of DBMS · Hard
A production database requires privilege revocation, storage allocation, backup scheduling, and performance monitoring. Which actor should hold primary operational responsibility?
Not quite. Try another option.
Answer: Database administrator
The DBA manages authorization, storage, backup and recovery policies, availability, and performance across the operational database.
Question 54 of 60 · Users and actors of DBMS · Hard
A specialist identifies business workflows and determines what transactions a new inventory system must support, but does not define storage structures or write the final programs. Which role is the closest match?
Not quite. Try another option.
Answer: System analyst
A system analyst studies organizational requirements and specifies application behavior and transactions, bridging users' needs and technical implementation.
Question 55 of 60 · DBMS architecture · Hard
In the three-schema architecture, a user view continues exposing FullName after the conceptual schema replaces it with GivenName and FamilyName. Where should the reconstruction rule primarily be represented?
Not quite. Try another option.
Answer: In the external-conceptual mapping
This mapping relates an external view to the conceptual schema. It can derive FullName from the new conceptual attributes without changing the user's view.
Question 56 of 60 · DBMS architecture · Hard
A desktop client sends requests to an application server, which enforces business rules and accesses the database server. The client has no direct database connection. Which architecture is described?
Not quite. Try another option.
Answer: Three-tier client-server architecture
The presentation, application logic, and database services occupy separate tiers. The middle application tier mediates all client database access.
Question 57 of 60 · DBMS architecture · Hard
Which statement correctly distinguishes the conceptual schema from the internal schema in the three-schema architecture?
Not quite. Try another option.
Answer: The conceptual schema models global logical structure; the internal schema models physical storage.
The conceptual level describes the database's overall logical organization, while the internal level describes files, records, indexes, and other storage details.
Question 58 of 60 · Data independence · Hard
A DBA replaces a table scan with a B-tree index and reorganizes records into different disk pages. No conceptual definitions or application queries change. What property is demonstrated?
Not quite. Try another option.
Answer: Physical data independence
Physical data independence allows storage structures and access paths to change without altering the conceptual schema or its applications.
Question 59 of 60 · Types of data independence · Hard
A conceptual relation Employee(EmpID, Name, DeptName) is replaced by Employee(EmpID, Name, DeptID) and Department(DeptID, DeptName). Existing user views still present the original columns. Which type of independence is being exercised?
Not quite. Try another option.
Answer: Logical data independence
The conceptual schema changed through decomposition, but external views were preserved. Insulating external schemas from conceptual changes is logical data independence.
Question 60 of 60 · Types of data independence · Hard
Why is logical data independence generally harder to achieve than physical data independence?
Not quite. Try another option.
Answer: Conceptual changes may alter meanings and structures visible to external views.
Conceptual modifications can affect entities, relationships, and attributes expected by applications. Physical modifications are usually hidden more readily behind the conceptual-internal mapping.
That's unit 4
Answer a few questions and your score shows up here.
Nearly through. Did unit 4 of INT322 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 4 of INT322 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.