gs gs117 Concurrency Control - Insertion Deletion Predicate Reads - Quiz No.1

gs gs117 Database Management System Quiz

Online Quizzes Preparation

This quiz belongs to book/course code gs gs117 Database Management System of gs organization. We have 92 quizzes available related to the book/course Database Management System. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Concurrency Control. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.

NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.

Question 1: Which statements are correct regarding indexes?
Question 2: You executed the following SQL statements in the given order:

 CREATE TABLE orders (order_id NUMBER(3) PRIMARY KEY, order_date DATE, customer_idnumber(3));  INSERT INTO orders VALUES (100,'10-mar-2007,,222);  ALTER TABLE orders MODIFY order_date NOT NULL;  UPDATE orders SET customer_id=333;  DELETE FROM order; 

The DELETE statement results in the following error:
ERROR at line 1: table or view does not exist
What would be the outcome?

Question 4: A non-correlated subquery can be defined as________
Question 5: Which statement is true regarding synonyms?
Question 6: SCOTT is a user in the database.

 Evaluate the commands issued by the DBA: 1 - CREATE ROLE mgr; 2 - GRANT CREATE TABLE, SELECT ON oe. orders TO mgr; 3 - GRANT mgr, create table TO SCOTT; 

Which statement is true regarding the execution of the above commands?

Question 7: OE and SCOTT are the users in the database. The ORDERS table is owned by OE. Evaluate the statements issued by the DBA in the following sequence:

 CREATE ROLE r1; GRANT SELECT, INSERT ON oe. orders TO r1; GRANT r1 TO scott; GRANT SELECT ON oe. orders TO scott; REVOKE SELECT ON oe.orders FROM scott; 

What would be the outcome after executing the statements?

Question 10: EMPDET is an external table containing the columns EMPNO and ENAME. Which command would work in relation to the EMPDET table?


Online Quizzes of gs117 Database Management System

Other DB related online quizzes

Other categories of gs Online Quizzes

Other organizations

Theme Customizer

Gaussian Texture



Gradient Background