Unit 4: Introduction to Database Management System - Practice Quiz

INT322 — Computing System And Technologies 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is a database?

Conceptual understanding of databases Easy
A. A device that connects networks
B. A program used to draw pictures
C. An organized collection of related data
D. A language used to design web pages

2 In a relational database, what does a table usually represent?

Conceptual understanding of databases Easy
A. A connection between two computers
B. A set of operating system commands
C. A collection of related records
D. A complete program for editing multimedia files

3 What is a record in a database table?

Conceptual understanding of databases Easy
A. A single row of related data
B. A collection of unrelated tables
C. A single column heading
D. A database login screen

4 Which system commonly uses a DBMS to store account and transaction information?

DBMS applications Easy
A. Drawing system
B. Audio system
C. Banking system
D. Keyboard system

5 How can a DBMS be used in a school?

DBMS applications Easy
A. Replacing all classroom teaching with a fully automated global communication platform
B. Managing student records
C. Repairing damaged monitors
D. Increasing processor speed

6 Which DBMS application helps a hospital organize patient information?

DBMS applications Easy
A. Patient record system
B. Computer cooling system
C. Network cable system
D. Image drawing system

7 Which DBMS component interprets and executes database queries?

Components of DBMS Easy
A. Display adapter
B. Network connector
C. Power supply
D. Query processor

8 Which DBMS component manages how data is stored and retrieved?

Components of DBMS Easy
A. A manager responsible for designing every application interface and controlling external hardware devices
B. Storage manager
C. Window manager
D. Sound manager

9 What does the data dictionary contain?

Components of DBMS Easy
A. Passwords for operating systems
B. Metadata about database objects
C. Pictures used by applications
D. Instructions for assembling hardware

10 Who is primarily responsible for controlling access to a database?

Users and actors of DBMS Easy
A. Graphic designer
B. Database administrator
C. Computer manufacturer
D. Network customer

11 Which DBMS actor writes programs that interact with a database?

Users and actors of DBMS Easy
A. Hardware technician
B. Application programmer
C. A database administrator who exclusively manufactures storage devices and repairs physical network cables
D. Database end user

12 Who uses a database application to perform routine tasks such as entering or viewing data?

Users and actors of DBMS Easy
A. System compiler
B. Hardware vendor
C. Device driver
D. End user

13 How many levels are present in the traditional three-schema DBMS architecture?

DBMS architecture Easy
A. Two levels
B. Four levels
C. Five levels
D. Three levels

14 Which level of the three-schema architecture describes how data is physically stored?

DBMS architecture Easy
A. Conceptual level
B. External level
C. Application level
D. Internal level

15 Which level presents different database views to individual users?

DBMS architecture Easy
A. A central level that directly specifies every disk location and storage mechanism for all users
B. Internal level
C. External level
D. Physical level

16 What does the conceptual level describe?

DBMS architecture Easy
A. The electrical design of storage hardware
B. The overall logical database structure
C. The physical placement of disk blocks
D. The personal view of one user

17 What is data independence?

Data independence Easy
A. Copying every database table into a separate text document
B. Changing one schema level without greatly affecting higher levels
C. Keeping a database disconnected from every software application and computer network
D. Preventing all users from modifying stored information

18 What is a major benefit of data independence?

Data independence Easy
A. Elimination of stored data
B. Automatic replacement of hardware
C. Removal of all database users
D. Reduced impact of database changes

19 Which type of data independence allows physical storage changes without changing the conceptual schema?

Types of data independence Easy
A. Application data dependence
B. Physical data independence
C. External data dependence
D. Logical data independence

20 Which type of data independence allows changes to the conceptual schema without changing user views or application programs?

Types of data independence Easy
A. Logical data independence
B. Physical data independence
C. A physical storage process that changes disk organization while requiring every application to be rewritten
D. Storage data dependence

21 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?

Conceptual understanding of databases Medium
A. Encryption of confidential data
B. Compression of historical data
C. Centralized sharing of integrated data
D. Sorting of departmental files

22 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?

Conceptual understanding of databases Medium
A. To sort orders automatically
B. To encrypt customer records
C. To maintain referential integrity
D. To duplicate customer details

23 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?

Conceptual understanding of databases Medium
A. Concurrency control
B. Schema visualization
C. Report formatting
D. Data compression

24 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?

DBMS applications Medium
A. View creation
B. Index maintenance
C. Transaction atomicity
D. Data sorting

25 A hospital permits doctors to view medical histories but allows billing staff to view only payment details. Which DBMS application capability enables this arrangement?

DBMS applications Medium
A. Automatic table replication
B. Sequential record processing
C. Role-based access control
D. A detailed export of every patient record to separate departmental text files

26 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?

DBMS applications Medium
A. Online transaction processing
B. Offline document publishing
C. Static website rendering
D. Batch image processing

27 A SQL statement is checked, converted into an execution plan, and optimized before accessing data. Which DBMS component performs these tasks?

Components of DBMS Medium
A. Data dictionary
B. Authorization table
C. Transaction log
D. Query processor

28 Frequently accessed disk pages are retained temporarily in main memory to reduce input/output operations. Which component manages this activity?

Components of DBMS Medium
A. Buffer manager
B. Report generator
C. Query parser
D. Schema compiler

29 After a power failure, a DBMS uses recorded changes to restore committed transactions and undo incomplete ones. Which component supplies the required records?

Components of DBMS Medium
A. View manager
B. Form designer
C. Query optimizer
D. Recovery manager

30 A developer needs to find the data type, constraints, and owner of a table without reading its rows. Which DBMS component should be consulted?

Components of DBMS Medium
A. A full backup containing table rows, indexes, archived logs, and operating-system files
B. Data dictionary
C. Buffer pool
D. Transaction queue

31 Who is primarily responsible for creating user accounts, granting privileges, planning backups, and monitoring database performance?

Users and actors of DBMS Medium
A. Naive end user
B. Data entry operator
C. Database administrator
D. Application programmer

32 A specialist decides which entities, relationships, attributes, and constraints should represent a university's information requirements. Which role is being performed?

Users and actors of DBMS Medium
A. Network technician
B. Parametric user
C. System operator
D. Database designer

33 A bank teller repeatedly uses predefined forms to deposit and withdraw funds without writing SQL. How is this user best classified?

Users and actors of DBMS Medium
A. Database designer
B. Database administrator
C. Stand-alone analyst
D. Parametric end user

34 In the three-schema architecture, which level describes the complete logical structure of the database while hiding physical storage details?

DBMS architecture Medium
A. Conceptual level
B. Internal level
C. Hardware level
D. External level

35 A reporting employee sees only EmployeeName and Department, although the database also stores salary and tax details. Which architectural level defines this restricted representation?

DBMS architecture Medium
A. External level
B. Conceptual level
C. Internal level
D. The physical level that specifies disk blocks, indexes, partitions, and file placement

36 In a three-tier application, where is validation of business rules normally placed so that multiple client interfaces can reuse it?

DBMS architecture Medium
A. Local device driver tier
B. Database storage tier
C. Client presentation tier
D. Application server tier

37 A DBMS is said to provide data independence when developers can do what?

Data independence Medium
A. Modify one schema level with minimal impact above it
B. Remove every relationship among stored tables
C. Store each application in its own isolated file collection to avoid schema mappings
D. Access all records without authorization checks

38 An administrator adds an index to CustomerID to improve search speed, but application queries remain unchanged. Which type of data independence does this demonstrate?

Types of data independence Medium
A. Logical data independence
B. External data independence
C. Semantic data independence
D. Physical data independence

39 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?

Types of data independence Medium
A. Network data independence
B. Physical data independence
C. Logical data independence
D. Storage data dependence

40 Which change is most likely to require logical data independence rather than physical data independence?

Types of data independence Medium
A. Moving a table to a faster storage device
B. Splitting an Address attribute into several logical fields
C. Increasing the buffer cache and reorganizing disk pages to reduce physical input/output
D. Changing a file from unordered to hashed organization

41 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?

Conceptual understanding of databases Hard
A. The database schema changes while the database state remains unchanged.
B. The database state changes while the database schema remains unchanged.
C. Both the database state and the database schema necessarily change.
D. Neither the database state nor the database schema changes.

42 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?

Conceptual understanding of databases Hard
A. Hours should be combined with EmployeeID as a key.
B. ProjectID should be the sole primary key.
C. EmployeeID should be the sole primary key.
D. (EmployeeID, ProjectID) should form a composite key.

43 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?

Conceptual understanding of databases Hard
A. Data isolation among concurrent transactions
B. Data abstraction across schema levels
C. Data consistency across representations
D. Data durability after transaction commit

44 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?

DBMS applications Hard
A. Logical view definition
B. Physical record clustering
C. Atomic transaction processing
D. Semantic query optimization

45 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?

DBMS applications Hard
A. Concurrency control enforcing isolation
B. View management enforcing abstraction
C. Index management enforcing efficient access
D. Backup management enforcing durability

46 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?

DBMS applications Hard
A. Shared physical buffer pools
B. Role-controlled external views
C. Write-ahead recovery logs
D. Cost-based execution plans

47 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?

Components of DBMS Hard
A. Query optimizer
B. Catalog definition utility
C. Recovery manager
D. Authorization manager

48 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?

Components of DBMS Hard
A. Statistics information in the catalog
B. Access information in the user view
C. Redo information in the transaction log
D. Parse information in the query tree

49 The optimizer needs table cardinalities, available indexes, attribute domains, and access privileges. Which DBMS component centrally stores this metadata?

Components of DBMS Hard
A. Transaction scheduler
B. Application interface
C. Buffer manager
D. System catalog

50 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?

Components of DBMS Hard
A. DDL compiler
B. Log manager
C. Buffer manager
D. Query parser

51 An organization must decide entity structures, relationship cardinalities, and integrity constraints before application programs are implemented. Who is primarily responsible?

Users and actors of DBMS Hard
A. Storage hardware operator
B. Parametric end user
C. Transaction entry clerk
D. Database designer

52 A bank teller repeatedly executes predefined deposit and withdrawal forms without writing SQL or modifying schemas. Which DBMS user category best fits this role?

Users and actors of DBMS Hard
A. Database system implementer
B. Sophisticated end user
C. Database administrator
D. Parametric end user

53 A production database requires privilege revocation, storage allocation, backup scheduling, and performance monitoring. Which actor should hold primary operational responsibility?

Users and actors of DBMS Hard
A. Application programmer
B. Requirements analyst
C. Casual query user
D. Database administrator

54 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?

Users and actors of DBMS Hard
A. Parametric end user
B. DBMS engine developer
C. System analyst
D. Database administrator

55 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?

DBMS architecture Hard
A. In the physical page directory
B. In the conceptual-internal mapping
C. In the transaction recovery log
D. In the external-conceptual mapping

56 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?

DBMS architecture Hard
A. Two-tier client-server architecture
B. Peer-to-peer database architecture
C. Three-tier client-server architecture
D. Single-tier centralized architecture

57 Which statement correctly distinguishes the conceptual schema from the internal schema in the three-schema architecture?

DBMS architecture Hard
A. The conceptual schema models global logical structure; the internal schema models physical storage.
B. The conceptual schema models user-specific views; the internal schema models global logical structure.
C. The conceptual schema models transaction history; the internal schema models access privileges.
D. The conceptual schema models physical records; the internal schema models user-specific views.

58 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?

Data independence Hard
A. External schema integration
B. Logical data independence
C. Physical data independence
D. Transaction data isolation

59 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?

Types of data independence Hard
A. Physical data independence
B. Logical data independence
C. Device-level independence
D. Transaction-level independence

60 Why is logical data independence generally harder to achieve than physical data independence?

Types of data independence Hard
A. Physical changes cannot be hidden by conceptual-internal mappings.
B. External views directly control page placement and index organization.
C. Conceptual changes may alter meanings and structures visible to external views.
D. Logical changes always require replacing every physical storage device.