Database Management System Viva Questions
Database Management System Viva Questions
VIVA QUESTION’S
1.What is SQL?
2.what is entity and relationship?
3.What is DBMS?
4.What is a Database system?
5.Advantages of DBMS?
6.How many types of database languages are available?
7.Describe the three levels of data abstraction?
8.Define the "integrity rules"
9.What are the usage of SQL?
10.What is the use of SELECT?
11.What is the difference between SUM and COUNT ?
12.What is VIEW ? and What will you get when you use VIEW
13.What is difference between TRUNCATE and DELETE?
14.Define Normalization?
15.What is 1 NF (Normal Form)?
16.What is Fully Functional dependency?
17.What is 2NF?
18.What is 3NF?
19.What is BCNF (Boyce-Codd Normal Form)?
20.What is DDL (Data Definition Language)?
21.What is VDL (View Definition Language)?
22.What is SDL (Storage Definition Language)?
23.What is DML (Data Manipulation Language)?
24.What is DML Compiler?
25.What is PL/SQL?
26.What are DML commands?
27.Write the syntax for insert command?
28.What is the syntax for update command?
29.Write the syntax for delete command?
30.Write the syntax for select command?
31.Difference between DCL and TCL ?
32.What is the result of String functions?
33.What is the result of Date functions?
34.What is the result of conversion function?
35.What is Concatenation?
36.What is the difference between LTRIM and RTRIM?
37.What is the difference between SUM and COUNT ?
38.What will you get when you use MIN ?
39.What will you get when you use MAX ?
40.What is VIEW ? and What will you get when you use VIEW
41.What is difference between DROP table and DELETE?
42.What will you get when you use AVG?
43.What is TRIGGER?
44.What is BEFORE Trigger?
45.What is AFTER Trigger?
46.What is the difference between BEFORE and AFTER?
47.What is ROW and Statement Triggers?
48.What is INSTEAD Triggers?
49.What are the types on Triggers?
50.It is possible to create Trigger on Views?
51.What is a stored procedure?
52.When would you use stored procedure or functions ?
53.What are external procedures?
54.What is input parameter?
55.How to use Stored Procedures ?
56.What is a cursor?
57.What are the types of cursor?
58.What is the use of parameterized cursor?
59.What is the use of cursor variable?
60.What is a normal cursor?
61.What are Explicit cursor attributes ?
ANSWERS :
1. What is SQL?
SQL (Structured Query Language) is a domain-specific language designed for
managing and manipulating relational databases. It helps in performing tasks
like querying, updating, inserting, and deleting data within a database.
5. Advantages of DBMS
1. Data Redundancy Control: Reduces duplicated data.
2. Data Integrity: Ensures data accuracy and consistency.
3. Data Security: Restricts unauthorized access.
4. Concurrency Control: Manages simultaneous data access.
5. Data Backup and Recovery: Provides safeguards against data loss.
12. What Is a VIEW, and What Do You Get When You Use It?
A VIEW is a virtual table created based on a SELECT query. It doesn't store
data but provides a simplified representation of data. By using a view:
You can simplify complex queries.
You enhance data security by showing only specific data to users.
40. What Is VIEW, and What Will You Get When You Use It?
A VIEW is a virtual table based on a SQL query. It simplifies data
representation and enhances security.