Read and download free pdf of CBSE Class 12 Informatics Practices Database Transactions Assignment. Get printable school Assignments for Class 12 Informatics Practices. Class 12 students should practise questions and answers given here for Database Transactions Informatics Practices in Class 12 which will help them to strengthen their understanding of all important topics. Students should also download free pdf of Printable Worksheets for Class 12 Informatics Practices prepared as per the latest books and syllabus issued by NCERT, CBSE, KVS and do problems daily to score better marks in tests and examinations
Assignment for Class 12 Informatics Practices Database Transactions
Class 12 Informatics Practices students should refer to the following printable assignment in Pdf for Database Transactions in Class 12. This test paper with questions and answers for Class 12 Informatics Practices will be very useful for exams and help you to score good marks
Database Transactions Class 12 Informatics Practices Assignment
SOLVED QUESTIONS
1. Define a transaction.
Ans. -A transaction is a logical unit of a work that must succeed or fail in its entirely. It is an atomic operation which can be divided unto smaller operations.
2. What are the two ways in which multiple transactions can be executed?
Ans. - Multiple transactions can be executed in one of the following two ways:
(i) Serially (ii) Concurrently
3. What is a savepoint?
Ans. - Savepoints are special operations that allow you to divide the work of a transaction into different segments. In case of a failure, you can execute rollbacks to the savepoint only, leaving prior changes intact.
4. What to you understand by a database transaction?
Ans. - A database transaction is a logical unit of work that must succeed or fail in its entirely.
5. Why do understand by transaction COMMIT and ROLLBACK?
Ans-COMMITing a transaction means all the steps of a transaction are carried out successfully and all data changes are made permanent in the database. Transaction ROLLBACK means transaction has not been finished completely and hence all data changes made by the transaction in the database if any, are undone and the database returns to the state as it was before this transaction execution started.
6. What do you understand by ACID properties of database transaction?
Ans. -To ensure the data-integrity, the database system maintains the following properties of transaction. The properties given below are termed as ACID properties-an acronym derived from the first letter of each of the properties.
(i) Atomicity-This property ensures that either all operations of the transactions are reflected properly in the database, none are. Atomicity ensures either al-or-none operations of a transaction are carried out.
(ii) Consistency-This property ensures that database remains in a consistent state before the start of transaction and after the transaction is over.
(iii) Isolation-Isolation ensures that executing transaction execution in isolation i.e. is unaware of other transactions executing concurrently in the system.
(iv) Durability-This property ensures that after the successful completion of a transaction i. e when a transaction COMMITs, the changes made by it to the database persist i. e remain in the database irrespective of other failures.
7. What the function is of redo and undo logs?
Ans. -Every database has a set of redo log files. It records all change in data including both committed and uncommitted changes. Undo logs stored roll backed data.
8. What TCL commands are supported by SQL?
Ans. -SQL supports following TCL commands
• BEGIN |START TRANSACTION-Marks the beginning of a transaction
• COMMIT-Ends the current transaction by saving database changes and starts a new transaction.
• ROLLBACK-Ends the current transaction by discarding changes and starts a new transaction.
• SAVEPOINT-Defines breakpoints for the transactions to allow partial rollbacks.
• SET AUTOCOMMIT-Enables or disable the default autocommit mode.
9. Which two statements complete a transaction?
A. DELETE employees;
B. DESCRIBE employees;
C. ROLLBACK TO SAVEPOINT C;
D. GRANT SELECT ON employees TO SCOTT;
E. ALTER TABLE employees
MODIFY COLUMN sal;
F. Select MAX(sal)
FROM employees
WHERE department_id=20;
Ans. - C, E
UNSOLVED QUESTIONS
1. What is the benefit of transaction?
2. What are the five states of the transactions?
3. What will happen when COMMIT statement is issued?
4. What will happen when ROLLBACK statement is issued?
5. How can you start a new transaction?
CBSE Class 12 Informatics Practices Data Handling using Pandas Assignment |
CBSE Class 12 Informatics Practices Societal Impacts Assignment |
CBSE Class 12 Informatics Practices Database Transactions Assignment
We hope you liked the above assignment for Database Transactions which has been designed as per the latest syllabus for Class 12 Informatics Practices released by CBSE. Students of Class 12 should download and practice the above Assignments for Class 12 Informatics Practices regularly. We have provided all types of questions like MCQs, short answer questions, objective questions and long answer questions in the Class 12 Informatics Practices practice sheet in Pdf. All questions have been designed for Informatics Practices by looking into the pattern of problems asked in previous year examinations. You can download all Revision notes for Class 12 Informatics Practices also absolutely free of cost. Lot of MCQ questions for Class 12 Informatics Practices have also been given in the worksheets and assignments for regular use. All study material for Class 12 Informatics Practices students have been given on studiestoday. We have also provided lot of Worksheets for Class 12 Informatics Practices which you can use to further make your self stronger in Informatics Practices.
You can download free Pdf assignments for CBSE Class 12 Informatics Practices Database Transactions from StudiesToday.com
All topics given in Database Transactions Informatics Practices Class 12 Book for the current academic year have been covered in the given assignment
No, all Printable Assignments for Database Transactions Class 12 Informatics Practices have been given for free and can be downloaded in Pdf format
Latest syllabus issued for current academic year by CBSE has been used to design assignments for Database Transactions Class 12
Yes, we have provided detailed answers for all questions given in assignments for Database Transactions Class 12 Informatics Practices