Correct Answer: An organized collection of related data
Explanation:
A database is an organized collection of related data that can be easily stored, accessed, and managed.
Incorrect! Try again.
2In a database table, a row is also commonly called a:
The Database
Easy
A.Query
B.Index
C.Record
D.Field
Correct Answer: Record
Explanation:
Each row in a table represents a single record, holding one complete set of related data.
Incorrect! Try again.
3In a database table, a column is also known as a:
The Database
Easy
A.Field
B.Table
C.Record
D.Report
Correct Answer: Field
Explanation:
A column represents a field, which stores one specific attribute or category of data.
Incorrect! Try again.
4Which field uniquely identifies each record in a table?
The Database
Easy
A.Foreign key
B.Primary key
C.Sort key
D.Data field
Correct Answer: Primary key
Explanation:
A primary key is a field whose value is unique for each record, so it can identify records without duplication.
Incorrect! Try again.
5A collection of related records in a database is called a:
The Database
Easy
A.Menu
B.Cell
C.Table
D.Macro
Correct Answer: Table
Explanation:
A table organizes related records into rows and columns and is the basic structure for storing data.
Incorrect! Try again.
6What does the abbreviation DBMS stand for?
The DBMS
Easy
A.Database Management System
B.Digital Base Memory Storage
C.Data Backup Management Service
D.Database Model Structure
Correct Answer: Database Management System
Explanation:
DBMS stands for Database Management System, the software used to create and manage databases.
Incorrect! Try again.
7What is the main purpose of a DBMS?
The DBMS
Easy
A.To design web pages
B.To send emails
C.To edit photographs
D.To store, retrieve, and manage data
Correct Answer: To store, retrieve, and manage data
Explanation:
A DBMS provides tools to store, retrieve, update, and manage data in a database efficiently.
Incorrect! Try again.
8The most widely used type of database model organizes data into:
The DBMS
Easy
A.Folders and shortcuts
B.Slides and layouts
C.Tables of rows and columns
D.Circles and lines
Correct Answer: Tables of rows and columns
Explanation:
The relational model, the most common type, stores data in tables made up of rows and columns.
Incorrect! Try again.
9A DBMS that stores data in related tables is called a:
The DBMS
Easy
A.Graphical DBMS
B.Relational DBMS
C.Textual DBMS
D.Sequential DBMS
Correct Answer: Relational DBMS
Explanation:
A relational DBMS (RDBMS) stores data in tables that can be linked, or related, to one another.
Incorrect! Try again.
10Which benefit does a DBMS provide compared to storing data in separate files?
The DBMS
Easy
A.Loss of data security
B.More duplicate records
C.Slower data access
D.Reduced data redundancy
Correct Answer: Reduced data redundancy
Explanation:
A DBMS reduces data redundancy by storing data centrally, avoiding repeated copies of the same information.
Incorrect! Try again.
11A query in a database is used to:
Working with a database
Easy
A.Print a document
B.Install software
C.Retrieve specific data
D.Format the screen
Correct Answer: Retrieve specific data
Explanation:
A query is a request that retrieves specific data from a database based on given conditions.
Incorrect! Try again.
12Which language is commonly used to work with relational databases?
Working with a database
Easy
A.CSS
B.HTML
C.XML
D.SQL
Correct Answer: SQL
Explanation:
SQL (Structured Query Language) is the standard language used to query and manage relational databases.
Incorrect! Try again.
13What is a database form mainly used for?
Working with a database
Easy
A.Deleting the database
B.Encrypting files
C.Compiling programs
D.Entering and viewing data
Correct Answer: Entering and viewing data
Explanation:
A form provides a user-friendly interface for entering, editing, and viewing data one record at a time.
Incorrect! Try again.
14A database report is used to:
Working with a database
Easy
A.Connect to the internet
B.Write source code
C.Draw diagrams
D.Present data in a formatted layout
Correct Answer: Present data in a formatted layout
Explanation:
A report presents data from a database in an organized, formatted layout suitable for printing or review.
Incorrect! Try again.
15Sorting data in a database means:
Working with a database
Easy
A.Arranging records in a certain order
B.Copying the whole database
C.Deleting all records
D.Changing field names
Correct Answer: Arranging records in a certain order
Explanation:
Sorting arranges records in a specific order, such as alphabetical or numerical, to make data easier to read.
Incorrect! Try again.
16Filtering data allows a user to:
Working with a database
Easy
A.Back up the server
B.Change the font color
C.Merge two databases
D.Display only records that meet a condition
Correct Answer: Display only records that meet a condition
Explanation:
Filtering temporarily displays only the records that match a specified condition, hiding the rest.
Incorrect! Try again.
17Which is a common everyday use of a database?
Databases at Work
Easy
A.Playing background music
B.Drawing freehand sketches
C.Cooling a computer processor
D.Storing customer records in a store
Correct Answer: Storing customer records in a store
Explanation:
Businesses commonly use databases to store and manage customer records, orders, and inventory.
Incorrect! Try again.
18A bank uses a database mainly to:
Databases at Work
Easy
A.Track account and transaction data
B.Design bank buildings
C.Broadcast television
D.Print newspapers
Correct Answer: Track account and transaction data
Explanation:
Banks rely on databases to store account details and track transactions accurately and securely.
Incorrect! Try again.
19Which of the following is a well-known corporate DBMS?
Common Corporate Database Management Systems
Easy
A.Windows Media Player
B.Oracle
C.Photoshop
D.Google Chrome
Correct Answer: Oracle
Explanation:
Oracle Database is one of the most widely used corporate database management systems.
Incorrect! Try again.
20Which product is a database management system developed by Microsoft?
Common Corporate Database Management Systems
Easy
A.OneNote
B.Skype
C.PowerPoint
D.SQL Server
Correct Answer: SQL Server
Explanation:
Microsoft SQL Server is a popular corporate relational database management system.
Incorrect! Try again.
21A retail company stores customer records where each customer can place many orders, but each order belongs to exactly one customer. Which type of relationship best describes this design?
The Database
Medium
A.Many-to-many
B.Many-to-one from customer to order
C.One-to-one
D.One-to-many
Correct Answer: One-to-many
Explanation:
A single customer relates to many orders while each order maps back to one customer, which is a classic one-to-many relationship.
Incorrect! Try again.
22In a relational table, a column is chosen to uniquely identify every row and is never left blank. What is this column called?
The Database
Medium
A.Foreign key
B.Index field
C.Candidate attribute
D.Primary key
Correct Answer: Primary key
Explanation:
A primary key uniquely identifies each record and cannot be null, ensuring every row can be distinguished.
Incorrect! Try again.
23A database designer wants to link an Orders table to a Customers table. The CustomerID column in Orders refers to the primary key of Customers. What is CustomerID in the Orders table?
The Database
Medium
A.A primary key
B.A composite key
C.A surrogate key
D.A foreign key
Correct Answer: A foreign key
Explanation:
A foreign key is a column in one table that references the primary key of another table to enforce a relationship.
Incorrect! Try again.
24In database terminology, a single row of a table that groups related fields about one entity is best described as a:
The Database
Medium
A.Field
B.Record
C.Attribute
D.Table
Correct Answer: Record
Explanation:
A record (or row) holds one complete set of related fields describing a single instance of an entity.
Incorrect! Try again.
25A hospital needs many staff members to read and update patient data at the same time without corrupting records. Which core DBMS capability directly addresses this need?
The DBMS
Medium
A.Spell checking
B.Concurrency control
C.Report formatting
D.Data compression
Correct Answer: Concurrency control
Explanation:
Concurrency control manages simultaneous access so multiple users can work on data without conflicts or corruption.
Incorrect! Try again.
26A DBMS allows a payroll clerk to see salary fields while blocking a receptionist from viewing them. Which DBMS function makes this possible?
The DBMS
Medium
A.Query optimization
B.Access control and security
C.Indexing
D.Data backup
Correct Answer: Access control and security
Explanation:
Security and access-control features let the DBMS grant or restrict user permissions on specific data.
Incorrect! Try again.
27Which statement best explains why a DBMS reduces data redundancy compared with separate flat files?
The DBMS
Medium
A.It automatically deletes duplicate applications
B.It converts all data into spreadsheets
C.It stores each user's data in a private copy
D.It centralizes data so the same fact is stored once and shared
Correct Answer: It centralizes data so the same fact is stored once and shared
Explanation:
A DBMS keeps data in one integrated store that many applications share, avoiding repeated copies of the same information.
Incorrect! Try again.
28A power failure interrupts a bank transfer after money left one account but before it reached another. Which DBMS feature ensures the whole transaction is undone rather than left half-done?
The DBMS
Medium
A.Transaction rollback
B.Data mining
C.Normalization
D.Field validation
Correct Answer: Transaction rollback
Explanation:
Transaction management rolls back incomplete transactions so the database returns to a consistent state after failures.
Incorrect! Try again.
29The part of a DBMS that provides a layer between the physical data storage and the user's view, so users need not know how data is physically stored, is achieved through:
The DBMS
Medium
A.Data abstraction
B.Data entry
C.Data duplication
D.Data export
Correct Answer: Data abstraction
Explanation:
Data abstraction hides the physical storage details and presents users a logical view of the data.
Incorrect! Try again.
30A user runs the SQL statement SELECT name FROM Employees WHERE dept = 'Sales';. What does this statement do?
Working with a database
Medium
A.Deletes Sales employees
B.Adds a new Sales employee
C.Renames the department column
D.Retrieves names of employees in the Sales department
Correct Answer: Retrieves names of employees in the Sales department
Explanation:
SELECT ... WHERE retrieves rows matching the condition; here it returns names where dept equals 'Sales'.
Incorrect! Try again.
31Which SQL command would you use to permanently remove specific rows from a table while keeping the table structure intact?
Working with a database
Medium
A.DELETE
B.SELECT
C.CREATE
D.DROP
Correct Answer: DELETE
Explanation:
DELETE removes rows based on a condition but leaves the table definition in place, unlike DROP which removes the table.
Incorrect! Try again.
32A manager wants a screen where staff can type data into labeled boxes without seeing the raw table. Which database object is designed for this input task?
Working with a database
Medium
A.Form
B.Schema
C.Index
D.Query
Correct Answer: Form
Explanation:
A form provides a user-friendly interface for entering and editing data without exposing the underlying table directly.
Incorrect! Try again.
33To combine matching rows from a Students table and an Enrollments table based on a common StudentID, which SQL operation is used?
Working with a database
Medium
A.GROUP BY
B.ORDER BY
C.DISTINCT
D.JOIN
Correct Answer: JOIN
Explanation:
A JOIN links rows from two tables using a shared column, letting you query related data together.
Incorrect! Try again.
34A librarian wants a printable, formatted summary of overdue books grouped by member. Which database object best produces this output?
Working with a database
Medium
A.Report
B.Form
C.Field
D.Table
Correct Answer: Report
Explanation:
A report presents query results in a formatted, printable layout suitable for summaries and presentation.
Incorrect! Try again.
35When you define that the Age field may only accept values greater than 0, you are applying a:
Working with a database
Medium
A.Validation rule
B.Primary key
C.Backup policy
D.Sort order
Correct Answer: Validation rule
Explanation:
Validation rules restrict what data can be entered into a field, improving accuracy and integrity.
Incorrect! Try again.
36An online store analyzes years of sales history to discover that customers who buy printers often buy ink within two weeks. This process of finding hidden patterns in large data is called:
Databases at Work
Medium
A.Data mining
B.Data entry
C.Data backup
D.Data validation
Correct Answer: Data mining
Explanation:
Data mining searches large datasets for patterns and relationships that support business decisions.
Incorrect! Try again.
37A company keeps a large, integrated store of historical data from many systems specifically for analysis and reporting rather than daily transactions. This is known as a:
Databases at Work
Medium
A.Web form
B.Field index
C.Data warehouse
D.Transaction log
Correct Answer: Data warehouse
Explanation:
A data warehouse consolidates historical data from multiple sources to support analysis and decision-making.
Incorrect! Try again.
38When you search an airline website for flights and it instantly returns matching options from a live database, this best illustrates:
Databases at Work
Medium
A.A word processor mail merge
B.A local text file lookup
C.A database connected to a web application
D.A spreadsheet macro
Correct Answer: A database connected to a web application
Explanation:
Interactive websites query back-end databases in real time to display up-to-date results to users.
Incorrect! Try again.
39A small business needs a free, widely used open-source relational DBMS that pairs well with web applications. Which option best fits?
Common Corporate Database Management Systems
Medium
A.IBM Db2
B.MySQL
C.Oracle Database
D.Microsoft SQL Server
Correct Answer: MySQL
Explanation:
MySQL is a popular open-source relational DBMS commonly used with web applications, offering a free community edition.
Incorrect! Try again.
40A large enterprise runs a very high-volume mission-critical system and chooses a commercial DBMS known for scalability and robust enterprise features. Which of these is such a corporate DBMS?
Common Corporate Database Management Systems
Medium
A.Windows Explorer
B.MS Paint
C.Notepad
D.Oracle Database
Correct Answer: Oracle Database
Explanation:
Oracle Database is a widely adopted commercial DBMS designed for large-scale, mission-critical enterprise workloads.
Incorrect! Try again.
41A retail company stores customer orders where a single customer can place many orders, but each order belongs to exactly one customer. In a relational schema, which design correctly enforces this relationship while avoiding data redundancy?
The Database
Hard
A.Duplicate all customer attributes (name, address, phone, loyalty tier) directly into each row of the Orders table so that every order is fully self-contained and no join is ever required
B.Place a foreign key OrderID in the Customers table referencing the primary key of the Orders table
C.Create a separate junction table containing both CustomerID and OrderID as a composite key
D.Place a foreign key CustomerID in the Orders table referencing the primary key of the Customers table
Correct Answer: Place a foreign key CustomerID in the Orders table referencing the primary key of the Customers table
Explanation:
In a one-to-many relationship, the foreign key is placed on the 'many' side. Since one customer has many orders, CustomerID goes in Orders. A junction table is for many-to-many, and duplicating attributes causes redundancy.
Incorrect! Try again.
42A table has attributes {StudentID, CourseID, StudentName, Grade} with the composite primary key (StudentID, CourseID). StudentName depends only on StudentID. This design most directly violates which normal form?
The Database
Hard
A.First Normal Form (1NF)
B.Third Normal Form (3NF)
C.Boyce-Codd Normal Form (BCNF)
D.Second Normal Form (2NF)
Correct Answer: Second Normal Form (2NF)
Explanation:
2NF requires no partial dependency on part of a composite key. StudentName depends only on StudentID (part of the key), which is a partial dependency, violating 2NF.
Incorrect! Try again.
43Two banking transactions execute concurrently. reads a balance, and before commits, updates and commits a change to that same balance. When reads the balance again it sees a different value. Which concurrency anomaly is this?
The DBMS
Hard
A.Phantom read
B.Non-repeatable read
C.Dirty read
D.Lost update
Correct Answer: Non-repeatable read
Explanation:
A non-repeatable read occurs when a transaction reads the same row twice and gets different values because another committed transaction modified it in between. A dirty read involves uncommitted data; phantom reads involve new rows appearing.
Incorrect! Try again.
44Which set of properties must a DBMS transaction guarantee, and what does the 'D' specifically ensure?
The DBMS
Hard
A.ACID; Durability ensures that transactions do not interfere with one another
B.CRUD; Durability ensures data can be read, updated, and deleted reliably
C.BASE; Durability ensures data is eventually consistent across replicas
D.ACID; Durability ensures committed changes survive system failures such as crashes or power loss
Correct Answer: ACID; Durability ensures committed changes survive system failures such as crashes or power loss
Explanation:
Transactions follow ACID (Atomicity, Consistency, Isolation, Durability). Durability guarantees that once a transaction commits, its effects persist even after a crash. Isolation, not Durability, handles interference.
Incorrect! Try again.
45Consider the SQL query: SELECT dept, COUNT(*) FROM employees WHERE salary > 50000 GROUP BY dept HAVING COUNT(*) > 3;. Which statement correctly describes the logical order of evaluation?
Working with a database
Hard
A.GROUP BY runs first, then WHERE filters the resulting groups, then HAVING
B.WHERE and HAVING are interchangeable and both filter individual rows before grouping
C.HAVING filters rows first, then WHERE filters the groups after grouping
D.WHERE filters rows first, then GROUP BY groups them, then HAVING filters the groups
Correct Answer: WHERE filters rows first, then GROUP BY groups them, then HAVING filters the groups
Explanation:
SQL processes WHERE before grouping (row-level filter), then GROUP BY, then HAVING (group-level filter after aggregation). WHERE cannot use aggregate results; HAVING can.
Incorrect! Try again.
46Table A has 5 rows and Table B has 3 rows. If you perform SELECT * FROM A CROSS JOIN B;, how many rows result, and what does this operation compute?
Working with a database
Hard
A.15 rows; the Cartesian product of the two tables
B.3 rows; an inner join keeping only matching rows
C.8 rows; the union of the two tables
D.5 rows; a natural join matching on common columns
Correct Answer: 15 rows; the Cartesian product of the two tables
Explanation:
A CROSS JOIN produces the Cartesian product: every row of A paired with every row of B, giving rows. No join condition is applied.
Incorrect! Try again.
47A query joins two tables where some rows in the left table have no match in the right table. The result should include all left-table rows, filling NULL for unmatched right-table columns. Which join accomplishes this?
Working with a database
Hard
A.RIGHT OUTER JOIN
B.LEFT OUTER JOIN
C.INNER JOIN
D.FULL OUTER JOIN
Correct Answer: LEFT OUTER JOIN
Explanation:
A LEFT OUTER JOIN keeps all rows from the left table, filling NULLs where no matching right-table row exists. INNER JOIN drops unmatched rows; RIGHT keeps all right rows; FULL keeps unmatched rows from both.
Incorrect! Try again.
48A database index dramatically speeds up SELECT queries on a column but is known to slow down another category of operations. Which operations are negatively affected and why?
The DBMS
Hard
A.SELECT queries with WHERE clauses, because the optimizer must scan the index redundantly
B.INSERT, UPDATE, and DELETE, because the index structure must be maintained on every data modification
C.Read-only queries, because the index locks the table for reads
D.GROUP BY and ORDER BY, because indexes prevent sorting entirely
Correct Answer: INSERT, UPDATE, and DELETE, because the index structure must be maintained on every data modification
Explanation:
Indexes accelerate reads but add overhead to writes: each INSERT, UPDATE, or DELETE must also update the index structure, slowing down modification operations.
Incorrect! Try again.
49Two transactions each hold a lock the other needs, and neither can proceed. A DBMS resolves this by aborting one transaction and rolling it back. What condition occurred and what is the resolution called?
The DBMS
Hard
A.A cascade failure; the aborted transaction is the checkpoint
B.A deadlock; the aborted transaction is the deadlock victim
C.A dirty read; the aborted transaction is the shadow copy
D.A race condition; the aborted transaction is the rollback candidate
Correct Answer: A deadlock; the aborted transaction is the deadlock victim
Explanation:
A deadlock is a circular wait where transactions block each other indefinitely. The DBMS detects it and aborts one transaction (the deadlock victim), rolling it back so the other can proceed.
Incorrect! Try again.
50A designer wants to guarantee that the Email column in a Users table never contains duplicate values but may be left empty (NULL) for some users. Which constraint best satisfies both requirements?
The Database
Hard
A.A CHECK constraint verifying the email is distinct from all other rows
B.A PRIMARY KEY constraint, which permits NULLs and rejects duplicates
C.A UNIQUE constraint, which permits NULLs while rejecting duplicate non-null values
D.A NOT NULL constraint, which rejects duplicates and empty values
Correct Answer: A UNIQUE constraint, which permits NULLs while rejecting duplicate non-null values
Explanation:
A UNIQUE constraint enforces distinct values but allows NULLs. A PRIMARY KEY forbids NULLs. NOT NULL does not enforce uniqueness, and CHECK constraints cannot reference other rows.
Incorrect! Try again.
51In an entity-relationship model, a Booking entity exists only when linked to both a Flight and a Passenger, and cannot exist independently. What kind of entity is Booking?
The Database
Hard
A.A recursive entity
B.A weak (dependent) entity
C.A derived entity
D.A strong (independent) entity
Correct Answer: A weak (dependent) entity
Explanation:
A weak entity has no primary key of its own and depends on one or more owner entities for its existence and identification. Booking cannot exist without Flight and Passenger, making it weak.
Incorrect! Try again.
52Given a table Sales(region, amount), which query correctly returns only regions whose total sales exceed 10000?
Working with a database
Hard
A.SELECT region FROM Sales GROUP BY region HAVING SUM(amount) > 10000;
B.SELECT region FROM Sales GROUP BY region WHERE SUM(amount) > 10000;
C.SELECT region FROM Sales WHERE SUM(amount) > 10000 GROUP BY region;
D.SELECT region, SUM(amount) FROM Sales WHERE amount > 10000;
Correct Answer: SELECT region FROM Sales GROUP BY region HAVING SUM(amount) > 10000;
Explanation:
Aggregate conditions on grouped data must use HAVING, not WHERE. WHERE cannot reference aggregate functions like SUM, and HAVING must follow GROUP BY.
Incorrect! Try again.
53A DBMS view is defined by a stored query. Which statement most accurately captures a key characteristic of a standard (non-materialized) view?
The DBMS
Hard
A.It stores a permanent physical copy of the query results that must be manually refreshed
B.It is a temporary table that is automatically deleted when the session ends
C.It duplicates the underlying tables to improve write performance
D.It stores no data itself; its results are computed from the underlying tables each time it is queried
Correct Answer: It stores no data itself; its results are computed from the underlying tables each time it is queried
Explanation:
A standard view is a virtual table defined by a query; it holds no data and reflects current base-table data on each access. A materialized view, by contrast, physically stores results.
Incorrect! Try again.
54An organization needs to store historical data from multiple operational systems, optimized for complex analytical queries and reporting rather than day-to-day transactions. Which system is most appropriate?
Data bases at Work
Hard
A.An in-memory cache serving frequent lookups
B.An OLTP transactional database with high normalization
C.A flat-file spreadsheet system
D.A data warehouse using an OLAP-oriented design
Correct Answer: A data warehouse using an OLAP-oriented design
Explanation:
Data warehouses consolidate historical data from many sources and are optimized for OLAP (analytical) workloads. OLTP databases are optimized for frequent, small transactions, not complex analysis.
Incorrect! Try again.
55A rapidly scaling web application must store semi-structured product catalogs with varying attributes per item and requires horizontal scalability across many servers. Which database type best fits, and why is a rigid relational schema less ideal here?
Data bases at Work
Hard
A.A relational database, because normalization guarantees flexible attributes
B.A hierarchical database, because tree structures scale horizontally
C.A network database, because pointers eliminate the need for scaling
D.A NoSQL document database, because it stores flexible, schema-less documents and scales horizontally across distributed nodes
Correct Answer: A NoSQL document database, because it stores flexible, schema-less documents and scales horizontally across distributed nodes
Explanation:
NoSQL document stores handle varying, semi-structured data without a fixed schema and are designed to scale out horizontally, making them well-suited for such workloads where a rigid relational schema is restrictive.
Incorrect! Try again.
56A corporation needs an open-source relational DBMS known for strong standards compliance, advanced features like complex queries and extensibility, often preferred for data integrity in analytical workloads. Which system best matches?
Common Corporate Database Management Systems
Hard
A.Microsoft Access
B.PostgreSQL
C.Redis
D.MongoDB
Correct Answer: PostgreSQL
Explanation:
PostgreSQL is an open-source, standards-compliant relational DBMS praised for advanced features and data integrity. Access is a desktop tool, MongoDB is a NoSQL document store, and Redis is a key-value store.
Incorrect! Try again.
57A team must choose a DBMS for a small departmental application built primarily as a Windows desktop tool with an integrated forms/report designer, expecting only a handful of concurrent users. Which is the most fitting choice?
Common Corporate Database Management Systems
Hard
A.Oracle Database
B.IBM Db2
C.Cassandra
D.Microsoft Access
Correct Answer: Microsoft Access
Explanation:
Microsoft Access is a desktop database with built-in form and report design, suited for small-scale, low-concurrency departmental apps. Oracle and Db2 are enterprise-scale; Cassandra is a distributed NoSQL store.
Incorrect! Try again.
58A query must find customers who have placed at least one order. Which construct is generally the most efficient and semantically correct when you only need existence, not the matched data?
Working with a database
Hard
A.WHERE CustomerID = (SELECT CustomerID FROM Orders)
B.WHERE EXISTS (SELECT 1 FROM Orders o WHERE o.CustomerID = c.CustomerID)
C.INNER JOIN Orders and then SELECT DISTINCT every customer column
D.WHERE CustomerID IN (SELECT * FROM Orders)
Correct Answer: WHERE EXISTS (SELECT 1 FROM Orders o WHERE o.CustomerID = c.CustomerID)
Explanation:
EXISTS stops as soon as one matching row is found, making it efficient for existence checks. IN (SELECT *) is invalid for multi-column comparison, and = (subquery) fails if the subquery returns multiple rows.
Incorrect! Try again.
59In a client/server database architecture, why does placing the DBMS engine on the server rather than on each client generally improve integrity and consistency in a multi-user environment?
The DBMS
Hard
A.Clients handle all locking, so the server never needs to coordinate access
B.Each client maintains its own copy of the data, so conflicts never occur
C.The server only stores backups while clients perform all processing independently
D.The server centralizes data access, enforcing constraints, locking, and concurrency control in one place for all clients
Correct Answer: The server centralizes data access, enforcing constraints, locking, and concurrency control in one place for all clients
Explanation:
A centralized server DBMS enforces integrity rules, manages locks, and coordinates concurrent access consistently for all clients, preventing the conflicts that arise when each client manages its own data.
Incorrect! Try again.
60A table Employee(EmpID, DeptID, DeptName) where EmpID is the primary key, EmpID → DeptID, and DeptID → DeptName. This chain of dependencies violates which normal form, and what is the fix?
The Database
Hard
A.2NF; remove the partial dependency of DeptName on EmpID
B.1NF; split multi-valued DeptName into separate rows
C.BCNF; make DeptName the primary key of the table
D.3NF; move DeptName into a separate Department table keyed on DeptID to remove the transitive dependency
Correct Answer: 3NF; move DeptName into a separate Department table keyed on DeptID to remove the transitive dependency
Explanation:
DeptName depends on DeptID, which depends on EmpID — a transitive dependency of a non-key attribute, violating 3NF. The fix is to place DeptName in its own Department table keyed by DeptID.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. 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.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →