0% found this document useful (0 votes)
12 views13 pages

BCA_QB

The document consists of a comprehensive set of questions and answers related to Database Management Systems (DBMS), covering topics such as DBMS functions, architecture, data models, SQL commands, normalization, transaction management, and various types of keys. It includes multiple-choice questions, short questions, and long questions designed to test knowledge and understanding of DBMS concepts. The document serves as a study guide for students learning about databases and their management.

Uploaded by

zoro94081
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views13 pages

BCA_QB

The document consists of a comprehensive set of questions and answers related to Database Management Systems (DBMS), covering topics such as DBMS functions, architecture, data models, SQL commands, normalization, transaction management, and various types of keys. It includes multiple-choice questions, short questions, and long questions designed to test knowledge and understanding of DBMS concepts. The document serves as a study guide for students learning about databases and their management.

Uploaded by

zoro94081
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

UNIT -1

1) What does DBMS stand for?


o A) Data Backup Management System
o B) Database Management System
o C) Data Block Management System
o D) Digital Backup Management System

2) Which of the following is a key function of a DBMS?


o A) File editing
o B) Data processing
o C) Data storage and retrieval
o D) Image manipulation

3) In a DBMS, what is the role of the Database Administrator (DBA)?


o A) Software installation
o B) Data entry
o C) Database maintenance and security
o D) Application programming

4) What does an ER (Entity-Relationship) diagram represent?


o A) Database performance
o B) Relationships between entities
o C) User interfaces
o D) Hardware components

5) Which of the following best describes a schema?


o A) A type of data model
o B) A blueprint of a database structure
o C) A backup of the database
o D) A query language
6) The Three-Schema Architecture consists of which three levels?
o A) User, Admin, and System levels
o B) Conceptual, External, and Internal levels
o C) Primary, Secondary, and Tertiary levels
o D) Storage, Processing, and Output levels

7) What does the conceptual level in DBMS architecture represent?


o A) User-specific views
o B) Physical storage of data
o C) Structure of the entire database
o D) Database management software

8) Which component of DBMS handles queries and updates to the


database?
o A) Application Processor
o B) Query Processor
o C) Data Manager
o D) Memory Allocator

9) What is data independence in DBMS?


o A) Ability to store data
o B) Ability to change data storage without affecting
applications
o C) Process of backing up data
o D) None of the above

10) In an ER diagram, entities are typically represented by which shape?


o A) Circle
o B) Rectangle
o C) Triangle
o D) Oval

11) Rectangles in ER diagram represents?


(i) Table
(ii) Attributs
(iii) Tuples
(iv) Entity sets

12) What does an RDBMS consist of?


(i) Collection of Records
(ii) Collection of Keys
(iii) Collection of Tables
(iv) Collection of Fields
13) In general, a file is basically a collection of all related______
(i) Rows & Columns
(ii) Fields
(iii) Database
(iv) Records

14) Which of the following refers to the level of data abstraction that
describes exactly how the data actually stored?
(i) Conceptual Level
(ii) Physical Level
(iii) File Level
(iv) Logical Level

15) Which of the following is not a type of database?


(i) Hierarchical
(ii) Network
(iii) Distributed
(iv) Decentralized
16) Dependency preservation ensures that:
A) All data is stored in one table
B) Functional dependencies are maintained after
decomposition
C) The database is accessed only by administrators
D) Foreign keys are always primary keys

17) Select the correct foreign key constraint?


(i) Referential integrity
(ii) Entity integrity
(iii) Domain integrity
(iv) none

18) What is the goal of decomposition in database design?


A) To combine tables
B) To split tables while preserving dependencies
C) To delete records
D) To archive data

19) Select the correct command to find the number of values in


a column.
(i) Add
(ii) Sum
(iii) Total
(iv) Count

20) To which of the following the term "DBA" referred?

(i) Data Bank Administrator

(ii) Database Administrator

(iii) Data Administrator

(iv ) None of the above

21) Which of the following is not a SQL command?


(i) DELETE
(ii) ALTER
(iii) SELECT
(iv) WHERE

22) Which normal form removes repeating groups by ensuring that


each field contains only atomic values?
A) 1NF (First Normal Form)
B) 2NF (Second Normal Form)
C) 3NF (Third Normal Form)
D) BCNF (Boyce-Codd Normal Form)

23) In which of the following formats data is stored in the database


management system
(i) Image
(ii) Text
(iii) Table
(iv) Graph

24) The oldest DB model is _______________


(i) Network
(ii) Physical
(iii) Hierarchical
(iv) Relational

25) Which command is used to remove a relation from an SQL?


(i) Drop table
(ii) Delete
(iii) Purge
(iv) Remove
26) Functional dependency is a relationship between:
A) Tables
B) Rows
C) Attributes
D) Schemas

27) Which command is used to remove a table from a

(i) DELETE

(ii) DROP

(iii) REMOVE
(iv) TRUNCATE

28) The data types of value in each column are called


(i) Attribute
(ii) Relation
(iii) Domain
(iv) Degree

29) By normalizing relations or sets of relations, one minimizes ___.


(i) Data
(ii) Fields
(iii) Redundancy
(iv) Database
30) What are the different types of dbms users
(i) End user
(ii) Database administrator
(iii) Application programmers
(iv) All of the above
31) What are the benefit of databases_________
(i) Data Redundancy
(ii) Data inconsistency
(iii) Lack of Data Integration
(iv) All of the above
32) Which of the following is not a valid SQL type
(i) FLOAT
(ii) NUMERIC
(iii) DECIMAL
(iv) CHARACTER
33) The DBMS acts as an interface between ________________ and
________________ of an enterprise-class system.
a) Data and the DBMS
b) Application and SQL
c) Database application and the database
d) The user and the software
34) The ability to query data, as well as insert, delete, and alter tuples, is
offered by ____________
a) TCL (Transaction Control Language)
b) DCL (Data Control Language)
c) DDL (Data Definition Language)
d) DML (Data Manipulation Language)

35) Which clause in SQL is used to restrict the rows returned by a

query?

(i) WHERE

(ii) ORDER BY

(iii) HAVING

(iv) GROUP BY
36) Which syntax is correct for creating a table
(i) Create table<table name>(<column name><data
type>);
(ii) Create table< column name>(< table name><data type>);
(iii) Create <table name>(<column name><data type>);
(iv) Create table<table name>(<column name><data type>)
37) Which of the following is not a DDL command
(i) TRUNCATE
(ii) ALTER
(iii) CREATE
(iv) UPDATE
38) DML stands for
(i) Data manipulation language
(ii) Domain manipulation language
(iii) Data manageable language
(iv) None of the above
39) A column is also called
(i) Attribute
(ii) Relation
(iii) Domain
(iv) Degree
40) according to _____________________ integrity constraint.
a) Referential
b) Primary
c) Referencing
d) Specific
41) Database is a collection of __________fact and figure
(i) Real
(ii) Raw
(iii) process
(iv) System
42) The logical design, and the snapshot of the data at a given instant in
time is known as?
a) Instance & Relation
b) Relation & Schema
c) Domain & Schema
d) Schema & Instance
43) Which of the following establishes a top-to-bottom relationship among
the items?
a) Relational schema
b) Network schema
c) Hierarchical schema
d) All of the mentioned
44) Which of the following is the best way to represent the attributes in a
large db?
a) Dot representation
b) Concatenation
c) Relational-and
d) All of the mentioned
45) Which of the following is correct regarding the file produced by a
spreadsheet?
a) can be used as it is by the DBMS
b) stored on disk in an ASCII text format
c) all of the mentioned
d) none of the mentioned
46) Which of the following is not the utility of DBMS?
a) Backup
b) Data Loading
c) Process Organization
d) File organization
47) After groups have been established, SQL applies predicates in the
___________ clause, allowing aggregate functions to be used.
a) Where
b) Having
c) Group by
d) With
48) The top level of the hierarchy consists of ______ each of which can
contain _____.
a) Schemas, Catalogs
b) Schemas, Environment
c) Environment, Schemas
d) Catalogs, Schemas
49) Which forms have a relation that contains information about a single
entity?
a) 4NF
b) 2NF
c) 5NF
d) 3NF
50) _________________ operations do not preserve non-matched tuples.
a) Left outer join
b) Inner join
c) Natural join
d) Right outer join

UNIT-1

SHORT QUESTION:
1) What do you understand by a data model?
2) What are the different types of data models?
3) What do you understand by the fact and fact table in data modeling?
4) What is a Table?
5) What are the several design schema used in data modeling?
6) Define ER Diagram.
7) What is weak entity sets?
8) What do you understand by Aggregation?
9) Explain the term tuple and attribute.
10) Define relational model

LONG QUESTION
1) Explain three schema architecture of dbms .
2) What is DBA also explain its functioning
3) Describe all the component of dbms.
4) Write some advantage and disadvantages of DBMS.
5) List the datatypes used in dbms.
6) What are keys in a relational database? Describe the types of keys with examples
7) Explain the concept of schemas
8) What are the function of DBA?
9) What do you understand by instances in dbms.
10) Create the structure of data base and also draw the ER diagram

UNIT-2:

Short question:
1. Define a domain in the relational model.*
2. What is a primary key? Give an example.*
3. Explain the concept of referential integrity with an example.*
4. Differentiate between intension and extension in a relational database.*
5. What are the main types of SQL commands? Provide examples for each.*
6. What is the purpose of the ALTER TABLE statement in SQL?*
7. List two types of joins in SQL and briefly explain them.*
8. What is the difference between DDL and DML?*
9. What do you understand by TCL.
10.what is the significance of foreign key?

Long question:
1. *Explain the structure of a relational database with an example, focusing on domains,
relations, and key attributes.*
2. *What are keys in a relational database? Describe the types of keys with examples.*
3. Define referential integrity. How is it enforced in relational databases? Illustrate with an
example
4. Discuss the difference between intension and extension in the context of relational databases,
with suitable examples.
5. Describe the different categories of SQL commands (DDL, DML, and DCL) with examples
for each.
6. How can constraints be defined in SQL? Explain the types of constraints with syntax and
examples.
7. Describe the structure of DBMS.
8. Write and explain an SQL query to extract data from multiple tables using complex conditions
and joins.
9. Explain all the keys in detail with suitable example
10. Explain all the SQL constraint in detail.

UNIT-3

SHORT QUESTION:

1) Define normalization
2) What do you understand by query processing ?
3) What is functional dependency in dbms?
4) Define 1NF.
5) What is decomposition?
6) What is optimization?
7) Define 3NF.
8) What do you mean by cost based optimization?
9) What are the types of functional dependency?
10) Define BCNF
LONG QUESTION:

1) Explain normalization with its all normal form.


2) Write some advantages and disadvantages of normalization.
3) Why normalization is important?
4) How are functional dependency related to normalization?
5) Write Decomposition with its types?
6) Explain functional dependency with its types.
7) How does BCNF Differ from 3NF?
8) Explain the relationship between normalization and indexing in database
9) Convert a denormalized table into 1NF
10) How does normalization help in reducing data redundancy?

UNIT-4

SHORT QUESTION:
1) What is transaction management?
2) How read operation work in transaction management?
3) Define commit operation
4) What do you mean by transaction schedule?
5) Write full form of ACID
6) Define Isolation.
7) What is concurrency control in DBMS?
8) Define Rollback operation
9) What do you understand by atomicity
10) Define write operation

LONG QUESTION

1) Describe ACID property in detail


2) What is the significance of transaction schedule?
3) Define atomicity in the context of DBMS transaction.
4) What happen when transaction moves from active state to aborted state?
5) Describe the properties of transaction.
6) What are the different operation performed in transaction management?
7) What is schedule in transaction management?
8) Write all the states occurred in transaction journey.
9) Define isolation in DBMS transaction.
10) Explain the term durability with example.
UNIT-5
SHORT QUE:
1) What is the full form of DDL?
2) Write the name of all the sql command.
3) How we can update the table rows?
4) Write the query to display tables data
5) How many types of operator used in DBMS?
6) Write the query to delete data from the table
7) Define primary key with example.
8) What do you understand by TCL
9) Define arithmetic operator.
10) How we can change the data type of any column?

LONG QUE:
1) How do you install and configure mysql?
2) What are the data types available in mysql?
3) Describe function of foreign key with suitable example
4) Describe the operators used in dbms.
5) Explain DDL,DCL,TCL,DML in detail.
6) Write function of alter command with its syntax and example.
7) How do you handle transaction in mysql?
8) Write a query to find highest paid employee in department .
9) Explain all the sql constraint in detail.
10) Write some advantages and disadvantages of mysql.

You might also like