VSM COLLEGE OF ENGINEERING, RAMACHANDRAPURAM
Autonomous
Course: II B. Tech II M A.Y: 2024-25
Branch: Common CSE, CSE-AIML, CSE-DS Subject: DBMS Bit Bank
1. What is the primary goal of a database system? [ a ]
a) To provide a secure and efficient way to store and retrieve data b) To manage files and folders
c) To provide a platform for application development d) To manage computer hardware
2. Which of the following is a characteristic of a database system? [ d ]
a) Self-describing b) Integrated
c) Shared d) All of the above
3. What is an entity set in an ER model? [ a ]
a) A collection of entities b) A collection of attributes
c) A collection of relationships d) A collection of constraints
4. Who are the primary users of a database system? [ d ]
a) End-users b) Application programmers
c) Database administrators d) All of the above
5. What is one of the main advantages of using a database system? [ c ]
a) Improved data security b) Increased data redundancy
c) Improved data integrity d) Decreased data scalability
6. Which of the following is an example of a database application? [ d ]
a) Customer relationship management (CRM) b) Enterprise resource planning (ERP)
c) E-commerce d) All of the above
7. What is the primary purpose of the data model? [ b ]
a) To define the physical storage structure of the data b) To define the logical structure of the data
c) To define the user's view of the data d) To define database management system
8. Which of the following data models organizes data into tables with well-defined relationships? [ a ]
a) Relational model b) Entity-relationship model
c) Object-oriented model d) Document-oriented model
9. What is the term for the ability to modify the schema without affecting the data? [ a ]
a) Data independence b) Data redundancy
c) Data integrity d) Data scalability
10. What is the term for the overall structure or organization of the data? [ a ]
a) Schema b) Instance
c) Data model d) Database management system
11. What is the purpose of the three-tier schema architecture? [ a ]
a) To provide data independence b) To provide data redundancy
c) To provide data integrity d) To provide data scalability
12. Which of the following is a tier in the three-tier schema architecture? [ d ]
a) Internal schema b) Conceptual schema
c) External schema d) All of the above
13. What is a subclass in an ER model? [ a ]
a) A class that inherits attributes from a super class
b) A class that does not inherit attributes from a super class
c) A class that is not related to a super class
d) A class that is a super class
14. What is inheritance in an ER model? [ a ]
a) A subclass inherits attributes from a super class b) A super class inherits attributes from a subclass
c) A relationship inherits attributes from an entity d) An entity inherits attributes from a relationship
15. What is the term for the physical components of the database system? [ a ]
a) Hardware b) Software c) Data d) Users
16. What is a relationship in an ER model? [ a ]
a) A connection between two entities b) A characteristic of an entity
c) A constraint on an entity d) A subclass of an entity
17. What is generalization in an ER model? [ a ]
a) A process of creating a super class from a subclass
b) A process of creating a subclass from a super class
c) A process of creating a relationship from an entity
d) A process of creating an entity from a relationship
18. What is the primary purpose of an Entity-Relationship (ER) model? [ d ]
a) To design a database schema b) To implement a database management system
c) To analyze business requirements d) To visualize data relationships
19. What is specialization in an ER model? [ a ]
a) A process of creating a subclass from a super class
b) A process of creating a super class from a subclass
c) A process of creating a relationship from an entity
d) A process of creating an entity from a relationship
20. What is an attribute in an ER model? [ a ]
a) A characteristic of an entity b) A relationship between entities
c) A constraint on an entity d) A subclass of an entities
21. What is the primary concept in the relational model? [ c ]
a) Entity b) Attribute c) Relation d) Tuple
22. Which of the following is an example of a domain? [ d ]
a) A set of integers b) A set of strings c) A set of dates d) All of the above
23. What is the purpose of null values in a relational database? [ a ]
a) To represent unknown or missing values b) To represent default values
c) To represent unique identifiers d) To represent foreign keys
24. Which of the following types of constraints ensures that each tuple in a relation has a unique
identifier? [ b ]
a) Domain constraint b) Key constraint
c) Integrity constraint d) Referential constraint
25. What is Relational Algebra? [ b ]
a) A formal system for defining relations b) A formal system for manipulating relations
c) A formal system for querying relations d) A formal system for optimizing relations
26. What is the purpose of the CREATE statement in SQL? [ a ]
a) To create a new table b) To modify an existing table
c) To delete a table d) To query a table
27. Which of the following data types is used to represent whole numbers in SQL? [ b ]
a) CHARACTER b) INTEGER c) DATE d) BOOLEAN
28. What is the purpose of the INSERT statement in SQL? [ c ]
a) To modify existing tuples in a table b) To delete tuples from a table
c) To add new tuples to a table d) To query a table
29. Which of the following SQL statements is used to modify existing tuples in a table? [ b ]
a) INSERT b) UPDATE c) DELETE d) SELECT
30. What is the purpose of the ALTER statement in SQL? [ b ]
a) To create a new table b) To modify an existing table
c) To add a new table d)To drop a table
31. What is a simple database schema? [ a ]
a) A collection of related tables b) A single table
c) A database management system d) A data model
32. What is the purpose of the DROP statement in SQL? [ c ]
a) To create a new table b) To modify an existing table
c) To delete a table d) To query a table
33. Which of the following SQL statements is used to retrieve data from a table? [ d ]
a) INSERT b) UPDATE c) DELETE d) SELECT
34. Which command is used to create a new table in SQL? [ a ]
a)CREATE TABLE b)BUILD TABLE c) GENERATE TABLE d)ALL THE ABOVE
35. Which of the following is the full form of DDL [ a ]
a) Data definition language b) Data derivation language
c) Dynamic data language d) Detailed data language
36. What are the rows of a relation known as [ c ]
a) Degree b) Entity c) Tuple d) None
37. Relational algebra is a _________query language [ b ]
a) Relational b) procedural c) Structural d) none of the above
38. Domain constraints, functional dependency and referential integrity are special forms of [ c ]
a) Foreign key b) Primary key c) Assertion d) Referential
constraint
39. Drop Table cannot be used to drop a table referenced by a _________ constraint. [ d ]
a) Local Key b) Primary Key c) Composite Key d) Foreign Key
40. Course(course_id ,sec_id, semester)
Here the course_id, sec_id and semester are __________ and course is a _____ [ b ]
a) Relations, Attribute b) Attributes, Relation
c) Tuple, Relation d) Tuple, Attributes
41. After groups have been established, SQL applies predicates in the ___________ clause, allowing
aggregate functions to be used. [ b ]
a) Where b) Having c) Group by d) with
42. Relational Algebra is a __________ query language that takes two relations as input and produces
another relation as an output of the query. [ c ]
a) Relational b) Structural c) Procedural d) Fundamental
43. Which of the following is a fundamental operation in relational algebra? [ d ]
a)Set intersection b)Natural join c)Assignment d)None of the mentioned
44. Which of the following is used to denote the selection operation in relational algebra? [ b ]
a) Pi (Greek) b) Sigma (Greek) c) Lambda (Greek) d) Omega (Greek)
45 .The ___________ operation, denoted by −, allows us to find tuples that are in one relation but are not
in another. [ b ]
a) Union b) Set-difference c) Difference d) Intersection
46. All aggregate functions except _____ ignore null values in their input collection. [ b ]
a) Count(attribute) b)Count(*) c)Average d)Sum
47. Which of the following is not an integrity constraint? [ b ]
a) Not null b)Positive c)Unique d)Check ‘predicate’
48. The ____ condition allows a general predicate over the relations being joined. [ a ]
a) On b) Using c) Set d) where
49. What type of join is needed when you wish to include rows that do not have matching values? [ c ]
a) Equi –join b) Natural join c) Outer join d) All of the mentioned
50. Which of the following should be used to find the mean of the salary? [ b ]
a) Mean(salary) b)Average(salary) c)Sum(salary) d)count(salary)