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 program used to draw pictures
B. A language used to design web pages
C. An organized collection of related data
D. A device that connects networks

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

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

3 What is a record in a database table?

Conceptual understanding of databases Easy
A. A single column heading
B. A collection of unrelated tables
C. A single row of related data
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. Keyboard system
C. Audio system
D. Banking 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. Increasing processor speed
C. Repairing damaged monitors
D. Managing student records

6 Which DBMS application helps a hospital organize patient information?

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

7 Which DBMS component interprets and executes database queries?

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

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

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

9 What does the data dictionary contain?

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

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

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

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

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

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. Five levels
B. Three levels
C. Four levels
D. Two levels

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

DBMS architecture Easy
A. Internal level
B. Application level
C. External level
D. Conceptual 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. Physical level
C. Internal level
D. External level

16 What does the conceptual level describe?

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

17 What is data independence?

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

18 What is a major benefit of data independence?

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

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

Types of data independence Easy
A. Physical data independence
B. External data dependence
C. Application 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. A physical storage process that changes disk organization while requiring every application to be rewritten
C. Storage data dependence
D. Physical data independence

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. Compression of historical data
B. Encryption of confidential 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 maintain referential integrity
B. To duplicate customer details
C. To encrypt customer records
D. To sort orders automatically

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. Schema visualization
B. Report formatting
C. Concurrency control
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. Data sorting
B. Transaction atomicity
C. View creation
D. Index maintenance

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. Role-based access control
B. A detailed export of every patient record to separate departmental text files
C. Automatic table replication
D. Sequential record processing

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. Batch image processing
B. Static website rendering
C. Online transaction processing
D. Offline document publishing

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. Transaction log
B. Authorization table
C. Data dictionary
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. Form designer
B. Recovery manager
C. View manager
D. Query optimizer

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. Transaction queue
B. Buffer pool
C. A full backup containing table rows, indexes, archived logs, and operating-system files
D. Data dictionary

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. Database administrator
C. Application programmer
D. Data entry operator

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. Database designer
B. Network technician
C. System operator
D. Parametric user

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. Stand-alone analyst
C. Database administrator
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. Internal level
B. Hardware level
C. Conceptual 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. The physical level that specifies disk blocks, indexes, partitions, and file placement
B. Internal level
C. External level
D. Conceptual level

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. Application server tier
B. Database storage tier
C. Client presentation tier
D. Local device driver tier

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

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

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. Semantic data independence
B. Physical data independence
C. Logical data independence
D. External 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. Increasing the buffer cache and reorganizing disk pages to reduce physical input/output
B. Splitting an Address attribute into several logical fields
C. Moving a table to a faster storage device
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. Neither the database state nor the database schema changes.
B. Both the database state and the database schema necessarily change.
C. The database schema changes while the database state remains unchanged.
D. The database state changes while the database schema remains unchanged.

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. (EmployeeID, ProjectID) should form a composite key.
C. EmployeeID should be the sole primary key.
D. ProjectID should be the sole primary 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 durability after transaction commit
D. Data consistency across representations

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. Physical record clustering
B. Atomic transaction processing
C. Semantic query optimization
D. Logical view definition

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. Index management enforcing efficient access
B. Concurrency control enforcing isolation
C. Backup management enforcing durability
D. View management enforcing abstraction

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. Write-ahead recovery logs
B. Role-controlled external views
C. Cost-based execution plans
D. Shared physical buffer pools

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. Catalog definition utility
B. Query optimizer
C. Authorization manager
D. Recovery 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. Redo information in the transaction log
B. Access information in the user view
C. Statistics information in the catalog
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. System catalog
B. Application interface
C. Transaction scheduler
D. Buffer manager

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. Buffer manager
B. Query parser
C. DDL compiler
D. Log manager

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. Transaction entry clerk
B. Storage hardware operator
C. Parametric end user
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. Parametric end user
B. Sophisticated end user
C. Database system implementer
D. Database administrator

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. Database administrator
B. Requirements analyst
C. Application programmer
D. Casual query user

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 external-conceptual mapping
B. In the conceptual-internal mapping
C. In the transaction recovery log
D. In the physical page directory

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. Three-tier client-server architecture
B. Two-tier client-server architecture
C. Peer-to-peer database 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 transaction history; the internal schema models access privileges.
B. The conceptual schema models user-specific views; the internal schema models global logical structure.
C. The conceptual schema models physical records; the internal schema models user-specific views.
D. The conceptual schema models global logical structure; the internal schema models physical storage.

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. Logical data independence
B. Physical data independence
C. Transaction data isolation
D. External schema integration

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. Device-level independence
B. Transaction-level independence
C. Physical data independence
D. Logical data independence

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

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