
DBMS Lab Quiz 2 B3
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Nikhil govil
Used 4+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A database application is designed to handle concurrent transactions. A user initiates a transaction to read a set of records without being affected by changes made by other transactions. Which isolation level should be set for this transaction?
READ UNCOMMITTED
READ COMMITTED
REPEATABLE READ
SERIALIZABLE
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A database contains a table named students with columns student_id, student_name, and enrollment_date. A user initiates a transaction to retrieve the count of students enrolled after a specific date. Which SQL statement should be used to perform this retrieval within the transaction?
SELECT COUNT(student_id) FROM students WHERE enrollment_date > '2023-01-01';
COUNT students WHERE enrollment_date > '2023-01-01';
GET COUNT(student_id) FROM students WHERE enrollment_date > '2023-01-01';
RETRIEVE COUNT(student_id) FROM students WHERE enrollment_date > '2023-01-01';
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A user initiates a transaction to retrieve the highest salary from a table named employees. Which SQL statement should be used to perform this retrieval within the transaction?
GET MAX(salary) FROM employees;
SELECT MAX(salary) FROM employees;
FIND MAX(salary) IN employees;
SEARCH MAX(salary) WITHIN employees;
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A database contains a table named products with columns product_id, product_name, and quantity_in_stock. A user initiates a transaction to update the quantity in stock for a specific product with product_id = 201 to 50. Which SQL statement should be used to perform this update within the transaction?
CHANGE products SET quantity_in_stock = 50 WHERE product_id = 201;
UPDATE products SET quantity_in_stock = 50 WHERE product_id = 201;
MODIFY products SET quantity_in_stock = 50 WHERE product_id = 201;
ALTER products SET quantity_in_stock = 50 WHERE product_id = 201;
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A user initiates a transaction to retrieve the distinct categories of products from a table named products. Which SQL statement should be used to perform this retrieval within the transaction?
SELECT DISTINCT category FROM products;
GET DISTINCT category FROM products;
SEARCH DISTINCT category IN products;
FIND DISTINCT category IN products;
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
An inventory management system records the quantity of products in a table. A user initiates a transaction to update the quantity of a specific product. If any part of the transaction fails, the system should revert to the state at the beginning of the transaction. Which SQL statement is used to roll back to a savepoint ?
ROLLBACK
ROLLBACK TO SAVEPOINT
ROLLBACK TRANSACTION
UNDO TO SAVEPOINT
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A user initiates a transaction to update multiple records in a table, and the changes should be isolated from other transactions until the entire transaction is committed. Which isolation level should be set for this transaction?
READ UNCOMMITTED
READ COMMITTED
REPEATABLE READ
SERIALIZABLE
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
Revisão - Arquitetura de Computadores
Quiz
•
University
8 questions
Cha-ching 2
Quiz
•
1st Grade - University
10 questions
Teste python- Unesp-Jaboticabal
Quiz
•
University
12 questions
PSSI Chp 1 dan 2
Quiz
•
University
10 questions
Excel 2016 Formato de celda
Quiz
•
University
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
11 questions
Computer Science (1-9) - Identifying & Preventing Threats
Quiz
•
University
10 questions
Quiz Informatica Jornadas Orientación Asunción
Quiz
•
12th Grade - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University
