Final Exam for DBMS SRM. All the best :)
Physical Data independence
Logical Data independence
External Data independence
None of these
Lossless and dependency preserving
Lossless but not dependency preserving
Not lossless but dependency preserving
Neither Lossless nor dependency preserving
1 NF
2 NF
3 NF
BCNF
It is conflict serializable with sequence
It is conflict serializable with sequence
It is view serializable but not conflict serializable
It is neither conflict serializable nor view serializable
1NF
2NF
3NF
BCNF
Maximum cardinality should be one
Minimum cardinality should be zero
Minimum cardinality should be one
None of these
Entity
Relations
ER Diagrams
Attributes
Procedural Language
Materialized language
Non-procedural language
None
A transaction writes a data item after it is read by an uncommitted transaction
A transaction reads a data item after it is read by an uncommitted transaction
A transaction reads a data item after it is written by a committed transaction
A transaction reads a data item after it is written by an uncommitted transaction
A->BC, B->C
A->BC, AB->C
A->BC, A->B
A->B, B->C
SYSDBA
DBA
SYSOPER
RESOURCE
Join
Semi Join
Assignment
Project
The row trigger does not properly reference the old value in FAN_ID.
The statement trigger should have been defined as a row trigger.
The statement trigger fires after the delete statement is processed.
The row trigger does not properly define the associated table
SELECT ALL FROM empinfo WHERE ename like '[d-p]%';
SELECT * FROM empinfo WHERE ename is '[d-p]%';
SELECT * FROM empinfo WHERE ename like '[p-d]%';
SELECT * FROM empinfo WHERE ename like '[d-p]%';
First Normal Form
Second Normal Form
Third Normal Form
Fourth Normal Form
A view can be created as a join on two or more tables.
A view cannot have an ORDER BY clause in the SELECT statement.
A view cannot be created with a GROUP BY clause in the SELECT statement
A view must have aliases defined for the column names in the SELECT statement
SELECT employee_id, department_id, department_name, salary FROM employees WHERE department_id IN (SELECT department_id FROM departments);
SELECT employee_id, department_id, department_name, salary FROM employees NATURAL JOIN departments;
SELECT employee_id, d.department_id, department_name, salary FROM employees e JOIN departments d ON e.department_id = d.department_id;
SELECT employee_id, department_id, department_name, salary FROM employees JOIN departments USING (e.department_id, d.department_id);
Selection, projection, join
Difference, projection, join
Selection, intersection, join
Intersection, projection, join
Difference, projection, product
You want to create a nonequijoin.
The tables to be joined have multiple NULL columns
The tables to be joined have columns of the same name and different data types
The tables to be joined have columns with the same name and compatible data types
You want to use a NATURAL join, but you want to restrict the number of columns in the join condition
The tables being joined have NOT NULL columns.
The tables being joined have only matched data.
The columns being joined have NULL values.
The tables being joined have only unmatched data
The tables being joined have both matched and unmatched data
Only when the tables have a primary key/foreign key relationship
Primary key
Artificial key
Foreign key
None of the above
Key constraint
Entity integrity
Referential integrity
Domain constraint
Key constraint and Domain constraint
Referential integrity and Entity integrity
only Entity integrity
All 4 constraints
Key constraint
Entity integrity
Referential integrity
None of the above
Serializable
recoverable
Cascadeless
None of the above
Wait!
Here's an interesting quiz for you.