TRE 4.0 DBMS Quiz Practice Set 2 11th November 2026 Share On Que: (1). What is a database? Asked in BPSC TRE 3.0 Organized collection of information that cannot be accessed, updated and managed A. Organized collection of data or information that can be accessed, updated and managed B. Organized collection of data that cannot be updated C. More than one of the above D. None of the above E. Check Answer Open question page Que: (2). What is the primary purpose of a Database Management System (DBMS)? To design operating systems C. To manage, store and retrieve data efficiently B. To create computer hardware A. More than one of the above D. None of the above E. Check Answer Open question page Que: (3). Who is responsible for managing and maintaining a database system? System User C. Database Administrator A. Web Designer B. More than one of the above D. None of the above E. Check Answer Open question page Que: (4). What is metadata in a database? Only numerical data C. Data that is permanently deleted B. Data about data A. More than one of the above D. None of the above E. Check Answer Open question page Que: (5). What does a database schema primarily describe? The physical location of a computer A. Only the records stored in a table C. The logical structure and organization of a database B. More than one of the above D. None of the above E. Check Answer Open question page Que: (6). What is data redundancy in a database? Complete removal of database records B. Repeated storage of the same data in multiple places A. Encryption of database information C. More than one of the above D. None of the above E. Check Answer Open question page Que: (7). Which database concept allows changes in the schema at one level without requiring changes at the next higher level? Data Independence B. Data Duplication C. Data Redundancy A. More than one of the above D. None of the above E. Check Answer Open question page Que: (8). Which key uniquely identifies each record in a relational database table? Primary Key B. Foreign Key A. Candidate Key C. More than one of the above D. None of the above E. Check Answer Open question page Que: (9). Which database model organizes data in a tree-like structure with parent-child relationships? Relational Model A. Hierarchical Model C. Network Model B. More than one of the above D. None of the above E. Check Answer Open question page Que: (10). What is a database instance? The logical design of a database A. The actual data stored in a database at a particular moment B. The programming language used to access a database C. More than one of the above D. None of the above E. Check Answer Open question page Que: (11). Which type of data can be stored in the database? Asked in BPSC TRE 3.0 Image-oriented data A. Text, files containing data B. Data in the form of audio or video C. More than one of the above D. None of the above E. Check Answer Open question page Que: (12). Which data type is commonly used to store binary large objects such as images and audio files in a database? INTEGER C. VARCHAR A. BLOB B. More than one of the above D. None of the above E. Check Answer Open question page Que: (13). Which of the following is an example of structured data? Raw audio recordings C. Data organized in rows and columns A. Unorganized video recordings B. More than one of the above D. None of the above E. Check Answer Open question page Que: (14). Which of the following is an example of unstructured data? Relational database table A. Spreadsheet with fixed columns B. Audio and video recordings C. More than one of the above D. None of the above E. Check Answer Open question page Que: (15). Which of the following formats is commonly used to represent semi-structured data? MP3 C. JSON A. JPEG B. More than one of the above D. None of the above E. Check Answer Open question page Que: (16). Which type of database is specifically designed to manage multimedia objects such as images, audio and video? Multimedia Database A. Relational Database only C. Hierarchical Database B. More than one of the above D. None of the above E. Check Answer Open question page Que: (17). Which database data type is used to store large amounts of character-based text data? BLOB A. CLOB B. BOOLEAN C. More than one of the above D. None of the above E. Check Answer Open question page Que: (18). Which type of system is primarily designed for analytical processing and storing large amounts of historical data? Transaction Processing System A. Operating System C. Data Warehouse B. More than one of the above D. None of the above E. Check Answer Open question page Que: (19). What is the full form of XML, which is commonly used for storing and exchanging structured information? Extensible Markup Language B. Extra Machine Language C. Extended Markup Language A. More than one of the above D. None of the above E. Check Answer Open question page Que: (20). Which of the following is a valid category of data commonly supported by database systems? Date and time data B. Character or string data C. Numeric data A. More than one of the above D. None of the above E. Check Answer Open question page Que: (21). Which of the following is not a type of database? Asked in BPSC TRE 3.0 Decentralized C. Distributed B. Network A. More than one of the above D. None of the above E. Check Answer Open question page Que: (22). Which database model allows a record to have multiple parent records? Network Model B. Relational Model C. Hierarchical Model A. More than one of the above D. None of the above E. Check Answer Open question page Que: (23). Which database model represents data using a tree-like structure? Network Model A. Hierarchical Model C. Relational Model B. More than one of the above D. None of the above E. Check Answer Open question page Que: (24). In which database model is data primarily organized into tables consisting of rows and columns? Hierarchical Model C. Relational Model B. Network Model A. More than one of the above D. None of the above E. Check Answer Open question page Que: (25). Which type of database stores data at multiple physical locations but provides a unified logical view? Distributed Database B. Flat File Database C. Centralized Database A. More than one of the above D. None of the above E. Check Answer Open question page Que: (26). Which database architecture maintains the database at a single central location? Centralized Database B. Decentralized Database C. Distributed Database A. More than one of the above D. None of the above E. Check Answer Open question page Que: (27). Which type of database stores information in the form of objects? Object-Oriented Database B. Relational Database A. Hierarchical Database C. More than one of the above D. None of the above E. Check Answer Open question page Que: (28). Which type of database is generally designed to handle flexible schemas and large-scale distributed data? Hierarchical Database B. NoSQL Database A. Flat File Database C. More than one of the above D. None of the above E. Check Answer Open question page Que: (29). Which database type is specifically designed to represent data using nodes and edges? Graph Database B. Hierarchical Database C. Relational Database A. More than one of the above D. None of the above E. Check Answer Open question page Que: (30). Which database model combines features of relational databases and object-oriented databases? Network Model B. Object-Relational Model C. Hierarchical Model A. More than one of the above D. None of the above E. Check Answer Open question page Que: (31). Which of the following is not an example of DBMS? Asked in BPSC TRE 3.0 Google C. Microsoft Access A. IBM Db2 B. More than one of the above D. None of the above E. Check Answer Open question page Que: (32). Which of the following is an open-source relational database management system? PostgreSQL A. Microsoft Access B. Microsoft Excel C. More than one of the above D. None of the above E. Check Answer Open question page Que: (33). Which company develops Oracle Database? Oracle Corporation B. Microsoft C. IBM A. More than one of the above D. None of the above E. Check Answer Open question page Que: (34). Which DBMS is developed by Microsoft? PostgreSQL B. Microsoft SQL Server C. MySQL A. More than one of the above D. None of the above E. Check Answer Open question page Que: (35). Which DBMS is commonly used as an embedded database in applications? Oracle Database A. IBM Db2 C. SQLite B. More than one of the above D. None of the above E. Check Answer Open question page Que: (36). Which of the following is a document-oriented NoSQL database? MySQL B. Oracle Database C. MongoDB A. More than one of the above D. None of the above E. Check Answer Open question page Que: (37). MariaDB was originally developed as a fork of which database system? PostgreSQL B. Oracle Database A. MySQL C. More than one of the above D. None of the above E. Check Answer Open question page Que: (38). Which database system is primarily known as an in-memory key-value data store? Redis B. PostgreSQL A. Microsoft Access C. More than one of the above D. None of the above E. Check Answer Open question page Que: (39). Which of the following database systems is developed by IBM? IBM Db2 A. SQLite C. MySQL B. More than one of the above D. None of the above E. Check Answer Open question page Que: (40). Which of the following is a desktop database management system? Apache HTTP Server B. Google Chrome C. Microsoft Access A. More than one of the above D. None of the above E. Check Answer Open question page Que: (41). Which of the following is not a feature of DBMS? Asked in BPSC TRE 3.0 Support ACID property C. Minimum duplication and redundancy of data A. Single-user access only B. More than one of the above D. None of the above E. Check Answer Open question page Que: (42). Which DBMS feature allows multiple users to access the database at the same time? Data independence C. Data abstraction B. Concurrency control A. More than one of the above D. None of the above E. Check Answer Open question page Que: (43). Which property of DBMS ensures that committed transaction changes are not lost after a system failure? Consistency B. Atomicity A. Durability C. More than one of the above D. None of the above E. Check Answer Open question page Que: (44). Which DBMS feature provides different views of the same database to different users? View mechanism B. Data security A. Backup management C. More than one of the above D. None of the above E. Check Answer Open question page Que: (45). Which feature of DBMS protects data from unauthorized access? Data redundancy B. Data abstraction C. Data security A. More than one of the above D. None of the above E. Check Answer Open question page Que: (46). Which DBMS feature helps restore database information after accidental data loss? Concurrency control C. Backup and recovery B. Data abstraction A. More than one of the above D. None of the above E. Check Answer Open question page Que: (47). Which concept allows changes in the physical storage of data without affecting the logical structure of the database? Data redundancy C. Logical data independence A. Physical data independence B. More than one of the above D. None of the above E. Check Answer Open question page Que: (48). Which DBMS component is responsible for managing concurrent transactions and maintaining consistency? Transaction manager B. Data dictionary C. Query processor A. More than one of the above D. None of the above E. Check Answer Open question page Que: (49). Which DBMS facility maintains information about tables, columns, constraints and other database objects? Transaction log C. Query optimizer B. Data dictionary A. More than one of the above D. None of the above E. Check Answer Open question page Que: (50). Which DBMS feature ensures that a transaction is executed completely or has no effect at all? Durability B. Isolation A. Atomicity C. More than one of the above D. None of the above E. Check Answer Open question page Que: (51). Which of the following is not a function of the database? Asked in BPSC TRE 3.0 Security for stored data B. Manipulating data A. Analysing code C. More than one of the above D. None of the above E. Check Answer Open question page Que: (52). Which database operation is used to retrieve data from one or more tables? DELETE C. SELECT B. INSERT A. More than one of the above D. None of the above E. Check Answer Open question page Que: (53). Which database function is responsible for maintaining the correctness and validity of stored data? Data integrity A. Code compilation C. Data compression B. More than one of the above D. None of the above E. Check Answer Open question page Que: (54). Which database operation is used to arrange records in ascending or descending order? ORDER BY B. WHERE C. GROUP BY A. More than one of the above D. None of the above E. Check Answer Open question page Que: (55). Which SQL clause is used to filter records based on a specified condition? WHERE B. CREATE C. ORDER BY A. More than one of the above D. None of the above E. Check Answer Open question page Que: (56). Which database function allows multiple users to work with data while controlling conflicting operations? Code debugging B. Image processing C. Concurrency management A. More than one of the above D. None of the above E. Check Answer Open question page Que: (57). Which database function is used to combine related records from two or more tables? Sorting A. Indexing C. Joining B. More than one of the above D. None of the above E. Check Answer Open question page Que: (58). Which database function improves data retrieval speed by creating an efficient access structure? Transaction rollback C. Data deletion B. Indexing A. More than one of the above D. None of the above E. Check Answer Open question page Que: (59). Which database function is used to restore data after a database failure? Database recovery B. Data sorting C. Query parsing A. More than one of the above D. None of the above E. Check Answer Open question page Que: (60). Which database function is used to calculate values such as COUNT, SUM and AVG? Date formatting functions C. Aggregate functions A. String functions B. More than one of the above D. None of the above E. Check Answer Open question page Que: (61). What is information about data called? Asked in BPSC TRE 3.0 Relations C. Teradata A. Metadata B. More than one of the above D. None of the above E. Check Answer Open question page Que: (62). Which component of a DBMS stores information about database tables, columns and constraints? Query processor A. Transaction manager C. Data dictionary B. More than one of the above D. None of the above E. Check Answer Open question page Que: (63). Which of the following is an example of metadata in a student database? Column data type and field size C. Actual student marks B. Actual student name A. More than one of the above D. None of the above E. Check Answer Open question page Que: (64). Which SQL command is commonly used to display the structure of a table in MySQL? DELETE B. DESCRIBE A. INSERT C. More than one of the above D. None of the above E. Check Answer Open question page Que: (65). Which of the following is generally stored in a database data dictionary? Table definitions A. Integrity constraints C. Column data types B. More than one of the above D. None of the above E. Check Answer Open question page Que: (66). What is the main purpose of a database catalog? To maintain metadata about database objects B. To store only user passwords A. To execute operating system programs C. More than one of the above D. None of the above E. Check Answer Open question page Que: (67). Which type of metadata describes the meaning and business context of data? Technical metadata A. Business metadata B. Operational metadata C. More than one of the above D. None of the above E. Check Answer Open question page Que: (68). Which type of metadata describes database schemas, column names and data types? Business metadata A. Descriptive business reports C. Technical metadata B. More than one of the above D. None of the above E. Check Answer Open question page Que: (69). In a relational database, which metadata specifies the permitted values and type of a column? Data definition A. Query result C. Transaction log B. More than one of the above D. None of the above E. Check Answer Open question page Que: (70). Which language is primarily used to define database schemas and their objects? DML A. DDL B. DCL C. More than one of the above D. None of the above E. Check Answer Open question page Que: (71). The DBMS acts as an interface between ________ and ________ of an enterprise-class system. Asked in BPSC TRE 3.0 The user, the software C. Database application, the database B. Data, the DBMS A. More than one of the above D. None of the above E. Check Answer Open question page Que: (72). Which language is used by applications to communicate with a relational database? SQL B. CSS C. HTML A. More than one of the above D. None of the above E. Check Answer Open question page Que: (73). Which DBMS component is responsible for parsing and validating SQL queries? Query processor A. Storage manager B. Buffer manager C. More than one of the above D. None of the above E. Check Answer Open question page Que: (74). Which DBMS component is responsible for managing data stored on disk? Storage manager B. Query parser A. SQL compiler C. More than one of the above D. None of the above E. Check Answer Open question page Que: (75). Who is primarily responsible for defining database access permissions and managing database security? Database Administrator B. End user A. Application developer C. More than one of the above D. None of the above E. Check Answer Open question page Que: (76). Which type of database user interacts with a database through predefined application interfaces? Naive user A. System programmer C. Database designer B. More than one of the above D. None of the above E. Check Answer Open question page Que: (77). Which interface allows users to retrieve database information by writing SQL statements directly? Forms-based interface B. Query interface C. Menu-based interface A. More than one of the above D. None of the above E. Check Answer Open question page Que: (78). Which component converts SQL queries into an efficient execution plan? Query optimizer A. File manager B. Operating system scheduler C. More than one of the above D. None of the above E. Check Answer Open question page Que: (79). Which DBMS interface is commonly used by database administrators to execute administrative commands? Both command-line and graphical interfaces C. Command-line interface A. Graphical user interface B. More than one of the above D. None of the above E. Check Answer Open question page Que: (80). Which layer of a three-schema DBMS architecture describes how data is physically stored? External level A. Internal level C. Conceptual level B. More than one of the above D. None of the above E. Check Answer Open question page Que: (81). ________ is a set of one or more attribute(s) taken collectively to uniquely identify a record. Asked in BPSC TRE 3.0 Primary key A. Foreign key B. Superkey C. More than one of the above D. None of the above E. Check Answer Open question page Que: (82). Which key is a minimal superkey that uniquely identifies each record in a relation? Candidate key A. Secondary key C. Foreign key B. More than one of the above D. None of the above E. Check Answer Open question page Que: (83). A candidate key that is not selected as the primary key is called ________. Foreign key A. Alternate key B. Composite key C. More than one of the above D. None of the above E. Check Answer Open question page Que: (84). Which key consists of two or more attributes used together to uniquely identify a record? Simple key A. Composite key C. Foreign key B. More than one of the above D. None of the above E. Check Answer Open question page Que: (85). Which key is used to establish a relationship between two relational database tables? Primary key A. Candidate key C. Foreign key B. More than one of the above D. None of the above E. Check Answer Open question page Que: (86). Which key is selected from the candidate keys to uniquely identify records in a table? Alternate key C. Foreign key B. Primary key A. More than one of the above D. None of the above E. Check Answer Open question page Que: (87). Which type of key is generated by the database system and has no direct business meaning? Foreign key C. Natural key A. Surrogate key B. More than one of the above D. None of the above E. Check Answer Open question page Que: (88). Which key uses a real-world attribute, such as an email address or passport number, to identify a record? Surrogate key A. Natural key C. Foreign key B. More than one of the above D. None of the above E. Check Answer Open question page Que: (89). Which integrity constraint ensures that a primary key cannot contain NULL values? Entity integrity A. Referential integrity B. Domain integrity C. More than one of the above D. None of the above E. Check Answer Open question page Que: (90). Which integrity rule ensures that a foreign key value matches an existing referenced key value or is NULL when permitted? Entity integrity A. Referential integrity B. Domain integrity C. More than one of the above D. None of the above E. Check Answer Open question page Que: (91). Which of the following commands is correct to delete the values in the relation teaches? Asked in BPSC TRE 3.0 Remove table teaches; C. Delete from teaches; A. Delete from teaches where Id='Null'; B. More than one of the above D. None of the above E. Check Answer Open question page Que: (92). Which SQL statement deletes only those employees whose salary is less than 10000? DELETE FROM employees; A. DELETE FROM employees WHERE salary < 10000; B. DROP employees WHERE salary < 10000; C. More than one of the above D. None of the above E. Check Answer Open question page Que: (93). Which SQL condition is used to delete records where the value of a column is NULL? WHERE column = NULL A. WHERE column == NULL C. WHERE column IS NULL B. More than one of the above D. None of the above E. Check Answer Open question page Que: (94). Which SQL command removes all rows from a table while retaining its structure? ALTER TABLE C. DROP TABLE A. TRUNCATE TABLE B. More than one of the above D. None of the above E. Check Answer Open question page Que: (95). Which SQL command removes both the table structure and its stored records? DROP TABLE C. TRUNCATE B. DELETE A. More than one of the above D. None of the above E. Check Answer Open question page Que: (96). Which SQL statement can be used to remove a specific record identified by its primary key? DELETE FROM students WHERE student_id IS NULL; B. DELETE FROM students WHERE student_id = 101; A. DROP TABLE students; C. More than one of the above D. None of the above E. Check Answer Open question page Que: (97). Which SQL clause is used to restrict the records affected by a DELETE statement? ORDER BY A. WHERE C. GROUP BY B. More than one of the above D. None of the above E. Check Answer Open question page Que: (98). What happens when a DELETE statement is executed inside a transaction and then rolled back before commit? Deleted records are restored A. The database is automatically dropped C. The entire table is permanently removed B. More than one of the above D. None of the above E. Check Answer Open question page Que: (99). Which referential action automatically deletes related child records when a referenced parent record is deleted? ON DELETE CASCADE A. ON INSERT CASCADE C. ON UPDATE SET DEFAULT B. More than one of the above D. None of the above E. Check Answer Open question page Que: (100). Which statement correctly describes the difference between DELETE and TRUNCATE? DELETE can only remove one record, whereas TRUNCATE removes one column C. TRUNCATE removes the table definition, whereas DELETE removes the table B. DELETE supports a WHERE clause, whereas TRUNCATE removes all rows A. More than one of the above D. None of the above E. Check Answer Open question page Que: (101). The top level of the hierarchy consists of ________ each of which can contain ________. Asked in BPSC TRE 3.0 catalogs, schemas C. schemas, catalogs A. schemas, environment B. More than one of the above D. None of the above E. Check Answer Open question page Que: (102). Which of the following database objects is generally contained within a schema? Indexes C. Views B. Tables A. More than one of the above D. None of the above E. Check Answer Open question page Que: (103). What is the primary purpose of a database schema? To execute operating system commands C. To store only backup files B. To define the logical structure of database objects A. More than one of the above D. None of the above E. Check Answer Open question page Que: (104). Which of the following is an example of a database schema object? Table A. Stored procedure C. View B. More than one of the above D. None of the above E. Check Answer Open question page Que: (105). Which database component stores information about tables, columns and constraints? Data dictionary A. Transaction log C. Query optimizer B. More than one of the above D. None of the above E. Check Answer Open question page Que: (106). In a relational database, what does a table primarily consist of? Schemas and catalogs B. Rows and columns A. Files and folders only C. More than one of the above D. None of the above E. Check Answer Open question page Que: (107). Which SQL command is commonly used to create a new schema? CREATE SCHEMA A. ADD DATABASE OBJECT C. MAKE SCHEMA B. More than one of the above D. None of the above E. Check Answer Open question page Que: (108). Which of the following statements about a database catalog is correct? It replaces the database management system C. It is used only to store images B. It stores metadata about database objects A. More than one of the above D. None of the above E. Check Answer Open question page Que: (109). In which level of the three-schema architecture are individual user views defined? External level C. Conceptual level B. Internal level A. More than one of the above D. None of the above E. Check Answer Open question page Que: (110). Which term describes the actual organization of data stored on physical storage devices? Internal schema B. Conceptual schema C. External schema A. More than one of the above D. None of the above E. Check Answer Open question page Que: (111). The user IDs can be added or removed using which of the following fixed roles? Asked in BPSC TRE 3.0 db_securityadmin C. db_sysadmin A. db_accessadmin B. More than one of the above D. None of the above E. Check Answer Open question page Que: (112). Which fixed database role can manage database permissions and role membership? db_backupoperator C. db_securityadmin B. db_datareader A. More than one of the above D. None of the above E. Check Answer Open question page Que: (113). Which SQL Server fixed database role provides read access to all user tables and views? db_owner C. db_datawriter B. db_datareader A. More than one of the above D. None of the above E. Check Answer Open question page Que: (114). Which fixed database role allows members to insert, update and delete data in all user tables? db_datareader A. db_accessadmin C. db_datawriter B. More than one of the above D. None of the above E. Check Answer Open question page Que: (115). Which fixed database role has permission to perform database backups? db_datareader B. db_ddladmin C. db_backupoperator A. More than one of the above D. None of the above E. Check Answer Open question page Que: (116). Which fixed database role allows members to execute all database data definition language commands? db_backupoperator C. db_datareader B. db_ddladmin A. More than one of the above D. None of the above E. Check Answer Open question page Que: (117). Which fixed database role provides full control over a database? db_datareader B. db_accessadmin C. db_owner A. More than one of the above D. None of the above E. Check Answer Open question page Que: (118). Which SQL Server fixed server role has the highest level of administrative privileges? sysadmin B. securityadmin C. serveradmin A. More than one of the above D. None of the above E. Check Answer Open question page Que: (119). Which SQL Server fixed server role can manage server-wide security logins and their properties? diskadmin C. securityadmin A. processadmin B. More than one of the above D. None of the above E. Check Answer Open question page Que: (120). Which SQL Server statement is used to add an existing database user to a fixed database role? DROP ROLE role_name user_name; B. ALTER ROLE role_name ADD MEMBER user_name; A. CREATE USER role_name; C. More than one of the above D. None of the above E. Check Answer Open question page Que: (121). The traditional storage of data organized by the customer, stored in separate folders in filing cabinets is an example of Asked in BPSC TRE 3.0 Relational database management system A. Network database management system B. Hierarchical database management system C. More than one of the above D. None of the above E. Check Answer Open question page Que: (122). Which database model represents data in the form of tables consisting of rows and columns? Relational model B. Network model C. Hierarchical model A. More than one of the above D. None of the above E. Check Answer Open question page Que: (123). Which database model allows a child record to have multiple parent records? Hierarchical model A. Network model B. Flat-file model C. More than one of the above D. None of the above E. Check Answer Open question page Que: (124). In which database model is data represented using parent-child relationships in a tree structure? Hierarchical model C. Relational model A. Network model B. More than one of the above D. None of the above E. Check Answer Open question page Que: (125). Who introduced the relational database model? Charles Babbage A. Alan Turing C. E. F. Codd B. More than one of the above D. None of the above E. Check Answer Open question page Que: (126). Which of the following is a major limitation of the hierarchical database model? It does not support parent-child relationships A. It does not support complex many-to-many relationships naturally B. It cannot store records C. More than one of the above D. None of the above E. Check Answer Open question page Que: (127). Which database model uses pointers or links to establish relationships between records? Relational model B. Flat-file model C. Network model A. More than one of the above D. None of the above E. Check Answer Open question page Que: (128). Which database model uses primary keys and foreign keys to establish relationships between tables? Relational model B. Network model C. Hierarchical model A. More than one of the above D. None of the above E. Check Answer Open question page Que: (129). Which database model is most suitable for representing data with flexible and complex relationships such as social networks? Hierarchical model A. Network model B. Flat-file model C. More than one of the above D. None of the above E. Check Answer Open question page Que: (130). Which database model stores data in a simple file without defining relationships between multiple tables? Relational model A. Flat-file model C. Hierarchical model B. More than one of the above D. None of the above E. Check Answer Open question page Que: (131). After groups have been established, SQL applies predicates in the ________ clause, allowing aggregate functions to be used. Asked in BPSC TRE 3.0 WITH C. GROUP BY B. HAVING A. More than one of the above D. None of the above E. Check Answer Open question page Que: (132). Which SQL clause is used to arrange rows into groups based on one or more columns? GROUP BY B. ORDER BY A. HAVING C. More than one of the above D. None of the above E. Check Answer Open question page Que: (133). Which aggregate function returns the total number of rows in a table? COUNT(*) C. AVG() B. SUM() A. More than one of the above D. None of the above E. Check Answer Open question page Que: (134). Which aggregate function is used to calculate the average value of a numeric column? SUM() A. MAX() C. AVG() B. More than one of the above D. None of the above E. Check Answer Open question page Que: (135). Which SQL clause is used to filter individual rows before grouping takes place? HAVING A. ORDER BY C. WHERE B. More than one of the above D. None of the above E. Check Answer Open question page Que: (136). Which aggregate function returns the highest value from a specified column? COUNT() C. MAX() B. MIN() A. More than one of the above D. None of the above E. Check Answer Open question page Que: (137). Which aggregate function calculates the sum of values in a numeric column? AVG() B. COUNT() A. SUM() C. More than one of the above D. None of the above E. Check Answer Open question page Que: (138). Which SQL clause is generally used to sort the final result of a query in ascending or descending order? GROUP BY A. HAVING C. ORDER BY B. More than one of the above D. None of the above E. Check Answer Open question page Que: (139). Which SQL keyword is used to eliminate duplicate rows from a query result? DIFFERENT C. UNIQUE A. DISTINCT B. More than one of the above D. None of the above E. Check Answer Open question page Que: (140). Which SQL statement correctly displays departments having more than 10 employees? SELECT department_id FROM employees HAVING COUNT(*) > 10; C. SELECT department_id, COUNT(*) FROM employees GROUP BY department_id HAVING COUNT(*) > 10; A. SELECT department_id, COUNT(*) FROM employees WHERE COUNT(*) > 10 GROUP BY department_id; B. More than one of the above D. None of the above E. Check Answer Open question page Que: (141). Which of the following is not the utility of DBMS? I. Backup II. Loading III. Process organization IV. File organization Asked in BPSC TRE 3.0 I, II and III only B. I, III and IV only C. I, II and IV only A. More than one of the above D. None of the above E. Check Answer Open question page Que: (142). Which DBMS utility is used to recover database data after a system failure? Data sorting B. Backup and recovery A. Report generation C. More than one of the above D. None of the above E. Check Answer Open question page Que: (143). Which DBMS utility is used to import data from an external file into a database? Data loading A. Data encryption B. Query optimization C. More than one of the above D. None of the above E. Check Answer Open question page Que: (144). Which DBMS component is responsible for managing the physical storage of database files? Query processor A. Storage manager B. Application interface C. More than one of the above D. None of the above E. Check Answer Open question page Que: (145). Which DBMS facility helps prevent unauthorized users from accessing database information? Data loading B. Security and authorization A. File sorting C. More than one of the above D. None of the above E. Check Answer Open question page Que: (146). Which DBMS utility is used to reorganize database storage structures to improve performance? Database reorganization A. Data encryption C. User authentication B. More than one of the above D. None of the above E. Check Answer Open question page Que: (147). Which DBMS feature ensures that database changes are saved permanently after a successful transaction commit? Atomicity A. Durability C. Consistency B. More than one of the above D. None of the above E. Check Answer Open question page Que: (148). Which DBMS facility maintains a record of database operations for recovery and auditing purposes? File compression C. Data loading B. Transaction logging A. More than one of the above D. None of the above E. Check Answer Open question page Que: (149). Which DBMS utility is used to verify the correctness and consistency of stored database information? Data presentation B. Database validation A. User interface design C. More than one of the above D. None of the above E. Check Answer Open question page Que: (150). Which DBMS utility is used to reduce the storage space required for database backup files? Data sorting C. Data duplication B. Data compression A. More than one of the above D. None of the above E. Check Answer Open question page Que: (151). Which DBMS mechanism allows multiple transactions to access shared data safely without interfering with one another? Data loading B. File compression C. Concurrency control A. More than one of the above D. None of the above E. Check Answer Open question page Que: (152). For designing a normal RDBMS, which of the following normal forms is considered adequate? Asked in BPSC TRE 3.0 2NF C. 3NF B. 4NF A. More than one of the above D. None of the above E. Check Answer Open question page Que: (153). Which normal form requires every attribute in a relation to contain only atomic values? Third Normal Form (3NF) C. First Normal Form (1NF) A. Second Normal Form (2NF) B. More than one of the above D. None of the above E. Check Answer Open question page Que: (154). A relation is in Second Normal Form (2NF) if it is in 1NF and has no ________. Partial dependency B. Transitive dependency A. Multivalued dependency C. More than one of the above D. None of the above E. Check Answer Open question page Que: (155). Which type of dependency is eliminated when a relation is converted from 2NF to 3NF? Partial dependency A. Transitive dependency B. Multivalued dependency C. More than one of the above D. None of the above E. Check Answer Open question page Que: (156). Who introduced the concept of database normalization? Alan Turing C. E. F. Codd B. Charles Babbage A. More than one of the above D. None of the above E. Check Answer Open question page Que: (157). Which normal form is stricter than 3NF and requires every non-trivial functional dependency X → Y to have X as a superkey? 1NF A. BCNF C. 2NF B. More than one of the above D. None of the above E. Check Answer Open question page Que: (158). Which normal form is primarily concerned with eliminating non-trivial multivalued dependencies? 3NF B. 2NF A. 4NF C. More than one of the above D. None of the above E. Check Answer Open question page Que: (159). What is the main objective of database normalization? To eliminate all database tables C. To increase unnecessary data duplication A. To reduce data redundancy and update anomalies B. More than one of the above D. None of the above E. Check Answer Open question page Que: (160). A functional dependency X → Y means that ________. X uniquely determines Y A. Y uniquely determines X in every case B. X and Y must always be primary keys C. More than one of the above D. None of the above E. Check Answer Open question page Que: (161). Which of the following anomalies can occur in a poorly normalized database? Deletion anomaly B. Insertion anomaly A. Update anomaly C. More than one of the above D. None of the above E. Check Answer Open question page Que: (162). What happens if a piece of data is stored in two places in the db? Asked in BPSC TRE 3.0 Storage space is wasted C. Changing the data in one spot will cause data inconsistency B. Storage space is wasted and changing the data in one spot will cause data inconsistency A. More than one of the above D. None of the above E. Check Answer Open question page Que: (163). What is the term used to describe unnecessary duplication of data in a database? Data integrity A. Data abstraction C. Data redundancy B. More than one of the above D. None of the above E. Check Answer Open question page Que: (164). Which type of anomaly occurs when the same information must be modified in multiple records? Deletion anomaly B. Update anomaly C. Insertion anomaly A. More than one of the above D. None of the above E. Check Answer Open question page Que: (165). Which anomaly occurs when deleting one record unintentionally removes other useful information? Deletion anomaly B. Insertion anomaly A. Update anomaly C. More than one of the above D. None of the above E. Check Answer Open question page Que: (166). Which anomaly occurs when a new fact cannot be inserted into a table without adding unrelated information? Update anomaly C. Deletion anomaly B. Insertion anomaly A. More than one of the above D. None of the above E. Check Answer Open question page Que: (167). Which database property ensures that data remains accurate and consistent throughout its lifecycle? Data redundancy A. Data integrity B. Data duplication C. More than one of the above D. None of the above E. Check Answer Open question page Que: (168). Which database constraint prevents duplicate values in a specified column? CHECK A. DEFAULT B. UNIQUE C. More than one of the above D. None of the above E. Check Answer Open question page Que: (169). Which technique is commonly used to reduce unnecessary data duplication in relational databases? Normalization A. Data replication B. Data encryption C. More than one of the above D. None of the above E. Check Answer Open question page Que: (170). What is the primary purpose of a foreign key in a relational database? To maintain referential integrity between related tables B. To sort records automatically C. To encrypt data A. More than one of the above D. None of the above E. Check Answer Open question page Que: (171). Which of the following is a major disadvantage of excessive data redundancy? Increased storage consumption A. Possibility of inconsistent data B. Difficulty maintaining duplicate information C. More than one of the above D. None of the above E. Check Answer Open question page Que: (172). Which data type can store unstructured data in a column? Asked in BPSC TRE 3.0 Numeric B. RAW A. VARCHAR C. More than one of the above D. None of the above E. Check Answer Open question page Que: (173). Which SQL data type is commonly used to store large binary objects such as images, audio and video files? BLOB B. VARCHAR C. CLOB A. More than one of the above D. None of the above E. Check Answer Open question page Que: (174). What is the full form of CLOB in database systems? Character Large Object A. Common Large Object C. Compressed Large Object B. More than one of the above D. None of the above E. Check Answer Open question page Que: (175). Which data type is designed to store fixed-length binary data in SQL Server? VARBINARY B. VARCHAR A. BINARY C. More than one of the above D. None of the above E. Check Answer Open question page Que: (176). Which SQL Server data type is used to store variable-length binary data? CHAR A. NCHAR C. VARBINARY B. More than one of the above D. None of the above E. Check Answer Open question page Que: (177). Which data format is commonly used to represent semi-structured data using key-value pairs? JSON A. JPEG B. MP3 C. More than one of the above D. None of the above E. Check Answer Open question page Que: (178). Which markup language is used to store and transport structured data using user-defined tags? XML B. SQL C. CSS A. More than one of the above D. None of the above E. Check Answer Open question page Que: (179). Which of the following is an example of unstructured data? A plain numeric salary field B. A relational table with fixed columns A. An image or video file C. More than one of the above D. None of the above E. Check Answer Open question page Que: (180). Which SQL data type is commonly used to store very large amounts of Unicode character data in SQL Server? INT C. NVARCHAR(MAX) B. VARCHAR(MAX) A. More than one of the above D. None of the above E. Check Answer Open question page Que: (181). Which statement correctly describes the difference between BLOB and CLOB? BLOB stores binary data, whereas CLOB stores character data A. BLOB stores only numeric data, whereas CLOB stores images B. Both are used only for integer values C. More than one of the above D. None of the above E. Check Answer Open question page