BCA_QB
BCA_QB
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
(i) DELETE
(ii) DROP
(iii) REMOVE
(iv) TRUNCATE
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:
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
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.