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 data that cannot be updated C. 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. 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 manage, store and retrieve data efficiently B. To design operating systems C. 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? Data about data A. Only numerical data C. Data that is permanently deleted B. 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? Repeated storage of the same data in multiple places A. Complete removal of database records B. 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 Redundancy A. Data Duplication C. 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 actual data stored in a database at a particular moment B. The logical design of a database A. 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 Text, files containing data B. Image-oriented data A. 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? Unorganized video recordings B. Data organized in rows and columns A. Raw audio recordings C. 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? Audio and video recordings C. Spreadsheet with fixed columns B. Relational database table A. 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? JPEG B. MP3 C. JSON A. 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? Relational Database only C. Multimedia Database A. 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? CLOB B. BOOLEAN C. BLOB A. 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? Data Warehouse B. Transaction Processing System A. Operating System C. 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. Numeric data A. Character or string data C. 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 Network A. Distributed B. Decentralized C. 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? Relational Model C. Network Model B. 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? Relational Model B. Hierarchical Model C. Network Model A. 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? Relational Model B. Network Model A. Hierarchical Model C. 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? Flat File Database C. Distributed Database B. 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? Distributed Database A. Centralized Database B. Decentralized Database C. 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? Relational Database A. Object-Oriented Database B. 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? Flat File Database C. NoSQL Database A. Hierarchical Database B. 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? Hierarchical Database C. Relational Database A. Graph Database B. 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? Hierarchical Model A. Object-Relational Model C. Network Model B. 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? Microsoft Excel C. PostgreSQL A. Microsoft Access B. More than one of the above D. None of the above E. Check Answer Open question page Que: (33). Which company develops Oracle Database? Microsoft C. IBM A. Oracle Corporation B. 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? Microsoft SQL Server C. PostgreSQL B. 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. SQLite B. IBM Db2 C. 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. MongoDB A. Oracle Database C. 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? MySQL C. PostgreSQL B. Oracle Database A. 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? PostgreSQL A. Microsoft Access C. Redis B. 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? SQLite C. IBM Db2 A. 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 Minimum duplication and redundancy of data A. Support ACID property C. 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? Concurrency control A. Data abstraction B. Data independence C. 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? Atomicity A. Durability C. Consistency B. 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? Backup management C. Data security A. View mechanism B. 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? Physical data independence B. Logical data independence A. Data redundancy C. 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. Query processor A. Data dictionary C. 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? Data dictionary A. Query optimizer B. Transaction log C. 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? Atomicity C. Isolation A. Durability B. 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 Analysing code C. Manipulating data A. Security for stored data B. 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. INSERT A. SELECT B. 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? Code compilation C. Data compression B. Data integrity A. 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. GROUP BY A. WHERE C. 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? CREATE C. WHERE B. 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? Concurrency management A. Image processing C. Code debugging B. 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? Indexing C. Joining B. Sorting A. 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? Indexing A. Data deletion B. Transaction rollback C. 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? String functions B. Aggregate functions A. Date formatting functions C. 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 Teradata A. Metadata B. Relations C. 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? Data dictionary B. Query processor A. Transaction manager C. 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 name A. Actual student marks B. 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? INSERT C. DESCRIBE A. DELETE B. 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 execute operating system programs C. To store only user passwords A. 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? Operational metadata C. Business metadata B. Technical metadata A. 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? Technical metadata B. Business metadata A. Descriptive business reports C. 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? Transaction log B. Query result C. Data definition A. 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. DCL C. DDL B. 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 Database application, the database B. The user, the software C. 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? Query parser A. Storage manager B. 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? Application developer C. Database Administrator B. End user A. 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? Database designer B. Naive user A. System programmer C. 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. Menu-based interface A. Query interface C. 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. Graphical user interface B. Command-line interface A. 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? Internal level C. External level A. 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 Superkey C. Primary key A. Foreign key B. 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 ________. Composite key C. Alternate key B. Foreign key A. 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? Composite key C. Foreign key B. Simple key A. 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. Foreign key B. Candidate key C. 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? Foreign key B. Primary key A. Alternate key C. 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? Natural key A. Foreign key C. 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? Foreign key B. Surrogate key A. Natural key C. 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? Domain integrity C. Entity integrity A. Referential integrity B. 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? Domain integrity C. Referential integrity B. Entity integrity A. 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? DROP employees WHERE salary < 10000; C. DELETE FROM employees WHERE salary < 10000; B. DELETE FROM employees; A. 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 IS NULL B. WHERE column == NULL C. WHERE column = NULL A. 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? DROP TABLE A. ALTER TABLE C. 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? TRUNCATE B. DROP TABLE C. 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. DROP TABLE students; C. DELETE FROM students WHERE student_id = 101; A. 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. GROUP BY B. WHERE C. 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? The entire table is permanently removed B. Deleted records are restored A. The database is automatically dropped C. 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 UPDATE SET DEFAULT B. ON DELETE CASCADE A. ON INSERT CASCADE C. 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? TRUNCATE removes the table definition, whereas DELETE removes the table B. DELETE can only remove one record, whereas TRUNCATE removes one column C. 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, environment B. schemas, catalogs A. 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 store only backup files B. To execute operating system commands C. 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? Files and folders only C. Rows and columns A. Schemas and catalogs B. 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? MAKE SCHEMA B. CREATE SCHEMA A. ADD DATABASE OBJECT C. 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 is used only to store images B. It stores metadata about database objects A. It replaces the database management system C. 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? Internal level A. Conceptual level B. External level C. 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? External schema A. Conceptual schema C. Internal schema B. 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_sysadmin A. db_accessadmin B. db_securityadmin C. 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_datareader A. db_securityadmin B. db_backupoperator C. 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_datawriter B. db_datareader A. db_owner C. 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_datawriter B. db_accessadmin C. 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_backupoperator A. db_ddladmin C. 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_owner A. db_accessadmin C. db_datareader B. 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? serveradmin A. securityadmin C. sysadmin B. 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? securityadmin A. diskadmin C. 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 Network database management system B. Relational database management system A. 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? Hierarchical model A. Network model C. Relational model B. 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? Flat-file model C. Network model B. Hierarchical model A. 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? Network model B. Hierarchical model C. Relational model A. 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. E. F. Codd B. Alan Turing C. 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 cannot store records C. It does not support complex many-to-many relationships naturally B. 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. Network model A. Flat-file model C. 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? Hierarchical model A. Relational model B. Network model C. 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? Network model B. Hierarchical model A. 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? Hierarchical model B. Flat-file model C. Relational model A. 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 HAVING A. WITH C. GROUP BY B. 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? HAVING C. GROUP BY B. ORDER BY A. 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. SUM() A. AVG() B. 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. AVG() B. MAX() C. 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? MIN() A. MAX() B. COUNT() C. 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? COUNT() A. AVG() B. 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? HAVING C. ORDER BY B. GROUP BY A. 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? DISTINCT B. UNIQUE A. DIFFERENT C. 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, COUNT(*) FROM employees WHERE COUNT(*) > 10 GROUP BY department_id; B. SELECT department_id FROM employees HAVING COUNT(*) > 10; C. SELECT department_id, COUNT(*) FROM employees GROUP BY department_id HAVING COUNT(*) > 10; A. 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 IV only A. I, III and IV only C. I, II and III only B. 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? Backup and recovery A. Report generation C. Data sorting B. 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 encryption B. Data loading A. 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? User authentication B. Data encryption C. Database reorganization A. 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? Consistency B. Durability C. Atomicity A. 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. Transaction logging A. Data loading B. 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? User interface design C. Data presentation B. Database validation A. 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 compression A. Data duplication B. 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? File compression C. Concurrency control A. Data loading B. 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 3NF B. 4NF A. 2NF C. 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? First Normal Form (1NF) A. Third Normal Form (3NF) C. 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 ________. Multivalued dependency C. Partial dependency B. Transitive dependency A. 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. Multivalued dependency C. Transitive dependency B. 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? 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: (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 reduce data redundancy and update anomalies B. To increase unnecessary data duplication A. To eliminate all database tables C. 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 and Y must always be primary keys C. Y uniquely determines X in every case B. X uniquely determines Y A. 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. Update anomaly C. Insertion anomaly A. 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. Storage space is wasted and changing the data in one spot will cause data inconsistency A. Changing the data in one spot will cause data inconsistency B. 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 redundancy B. Data integrity A. Data abstraction C. 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? Insertion anomaly A. Update anomaly C. Deletion anomaly B. 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? Update anomaly C. Insertion anomaly A. Deletion anomaly B. 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. Insertion anomaly A. Deletion anomaly B. 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 duplication C. Data integrity B. 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? DEFAULT B. UNIQUE C. CHECK A. 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 encryption C. Data replication B. 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 sort records automatically C. To maintain referential integrity between related tables B. 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? Possibility of inconsistent data B. Difficulty maintaining duplicate information C. Increased storage consumption A. 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 RAW A. Numeric B. 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? VARCHAR C. CLOB A. BLOB B. 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? Common Large Object C. Compressed Large Object B. Character Large Object A. 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? VARCHAR A. BINARY C. VARBINARY B. 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? VARBINARY B. CHAR A. NCHAR C. 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? JPEG B. MP3 C. JSON A. 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? SQL C. XML B. 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 relational table with fixed columns A. An image or video file C. A plain numeric salary field B. 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? VARCHAR(MAX) A. INT C. NVARCHAR(MAX) B. 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