
DBMS-QUIZ
Quiz
•
Engineering
•
University
•
Medium
Anice John
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In a DBMS, which command is used to set a point in the transaction to which you can roll back later?
COMMIT
ROLLBACK
SAVEPOINT
SET TRANSACTION
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is true about the COMMIT command in DBMS?
It sets the isolation level of the current transaction.
It permanently saves the changes made in the current transaction.
It allows you to undo all changes made in the transaction.
It creates a savepoint that can be used for rollback.
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the main advantage of using PL/SQL in Oracle DBMS?
It allows procedural logic, which makes SQL queries more efficient.
It is used only for basic data retrieval.
It provides support for object-oriented programming.
It enables execution of SQL queries only in the client-side application.
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is NOT a valid component of a PL/SQL block?
Declaration
Execution
Commit
Exception Handling
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is the primary purpose of using triggers in a database?
To optimize query performance by automatically indexing tables whenever data is modified.
To automatically maintain data integrity by synchronizing changes between related tables.
To adjust table structures dynamically when data modifications occur.
To enforce business rules by triggering automatic actions in response to data changes.
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the problem with this trigger?
The trigger will not work because :NEW.emp_name is not valid in a BEFORE INSERT trigger.
The trigger is valid and will work as intended.
RAISE_APPLICATION_ERROR can only be used in a BEFORE UPDATE trigger.
The trigger will only work if the column emp_name is explicitly defined as NOT NULL.
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following is true for the following trigger?
The trigger is valid and will execute after every update on the salary field.
The trigger will fail because :NEW.salary cannot be used in an AFTER UPDATE trigger.
The trigger will only execute if the salary value is greater than 100000.
The trigger will cause an error if the salary value is less than 100000.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Electro 2 PSW 3
Quiz
•
University
15 questions
Electric Drives and Traction Quiz
Quiz
•
University
15 questions
Quiz on Safety and Design
Quiz
•
9th Grade - University
10 questions
Introduction to Embedded Systems - Quiz 3
Quiz
•
University
13 questions
Quiz 3- Boilers
Quiz
•
University
15 questions
Understanding SDGs and Electrical Engineering
Quiz
•
University
10 questions
Blockchain for Accelerated Processing of Supply Chain
Quiz
•
University
13 questions
Eng. Tech. Management: Project Management 2025
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Engineering
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
