Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Ex.

No:1(a) DATA DEFINITION COMMANDS

1. What is a foreign key? 2. differentiate truncate and drop table? 3. What is a primary key? 4.
Explain domain constraints. 5. Give the syntax for ADD constraints. 6. How do you add check
constraints? 7. How do you disable any constraints? 8. What happens once you drop a
constraint? 9. How do you add a new column? 10. What is referential integrity

Ex.No 1 (b) DATA MANIPULATION LANGUAGEAND TCL

1. How to create save point? 2. What is rollback? 3. What is commit? 4. Why do we use set
server output on? 5. Difference between drop and truncate table? 6. What is schema? 7.
What is relation? 8. How do you create a schema? 9. What sql form is used to create
schema? 10. What are the roles of DB admin?

Ex.No: 2(a) Database Querying – Simple queries, Nested queries, Sub queries and Joins

1. What are the aggregate functions? 2. What are the pattern matching clauses? 3. How do you
retrieve distinct tuples? 4. How do you use not between clauses? 5. What are the place
holders? 6. What is sorting? 7. How do you use distinct keyword? 8. What is an attribute? 9.
How do you define domain value of an attribute? 10. What is a metadata

EX.NO 2 (b) NESTED QUERIES AND QUERIES USING GROUP BY AND HAVING CLAUSE

1. What is a nested query? 2. What is join query? 3. Can we give an output of an query as an
input to another query? 4. What is Cartesian product? 5. What is spurious tuple? 6. How do
restrict duplicates when joining two tables? 7. What is a natural join? 8. Give example for left
outer join. 9. Explain about right outer join. 10. What is division operation?

Ex.No:3 VIEWS, SEQUENCES, SYNONYMS

1. Give an example for multiple table views 2. Can we alter a sequence? 3. Give the syntax for
a sequence 4. Can we use DML on synonyms? 5. What are the advantages of synonyms? 6.
How do you generate unique values? 7. How to perform DML operations in a view? 8. How
to create multiple table views? 9. Are views are temporary? 10. Whether the changes made
in views affect the table?

Ex.No: 4 Oracle PL/SQL Cursor: Implicit, Explicit, Cursor FOR Loop [Example]

1. What does %FOUND returns? 2. How do you use %ISOPEN? 3. Write a sample code for
%ROWCOUNT. 4. Differentiate STOP and END. 5. How do you use CURSOR key word? 6.
Differentiate END and END LOOP. 7. Differentiate for and while loop in PL SQL. 8. What is a
preprocessor? 9. What is a PL SQL compiler? 10. What doo you mean by PL SQL tokens and
keywords

Ex.No:5 PROCEDURES AND FUNCTIONS

1. What are advantages of Stored Procedures? 2. What is the difference between OUT and
INOUT parameter? 3. What is the difference between IN and OUT parameter? 4. What is use
of exception block? 5. IS exception block optional? 6. What is the use of IS /AS keywords? 7.
How do you run a procedure? 8. What are the significances of a procedure? 9. Give the
syntax for IF ELSE 10. What do you mean by THEN keyword?
FUNCTIONS

1. How a function can be called from a SELECT statement? 2. Can function return a value? 3.
Name the tables where the characteristics of functions are stored? 4. How many values can
be returned by functions 5. Is it possible to create recursive function? 6. What is a stored
procedure? 7. How do you define a stored procedure data type? 8. How do you print your
output? 9. What is a comment? 10. What is an execution block?

Ex.No:6 TRIGGERS

1. What is RAISE_APPLICATION_ERROR? 2. Give the sql statement to list the triggers associated
with a particular table. 3. How to disable and enable triggers? 4. How to drop a trigger? 5.
What are two virtual tables available during database trigger execution? 6. What happens if
a procedure that updates a column of table X is called in a database trigger of the
sametable? 7. Write the order of precedence for validation of a column in a table? 8. What
are the instances when triggers are appropriate? 9. How do you use trigger AFTER keyword?
10. Why do we need trigger restrictions

Ex.No:7 EXCEPTION HANDLING

1. Give the difference between predefined and user defined exception 2. How exception is
raised? 3. What happens if exception is not handled? 4. Can exception be used with
functions and procedures 5. Is it compulsory to use exception with functions and
procedures? 6. List the steps to be followed for user defined exception 7. What is meant by
LOGIN_DENIED? 8. What is meant by NOT_LOGGED_ON? 9. What is meant by
PROGRAM_ERROR? 10. What is meant by NO_DATA_FOUND?

Ex.No: 8. DATABASE DESIGN USING ER MODELING, NORMALIZATION AND IMPLEMENTATION FOR


ANY APPLICATION

. What is Functional Dependency? 2. What is Lossless join property? 3. What is Fully Functional
dependency? 4. What is BCNF (Boyce-Codd Normal Form)? 5. What are the major components of E-
R diagram? 6. What are multi valued attributes? 7. What is a composite attribute? 8. What is a non
trivial FD? 9. What is weak entity set? 10. What is candidate key?

Ex.No: 9 GENERATION OF FORMS USING ORACLE FORM BUILDER

1. What is oracle form builder? 2. What is a form in Oracle Apps? 3. List the components available for
form building. 4. What are database forms? 5. Why do we use forms? 6. What is the location of an
oracle driver? 7. How to execute a stored procedure using oracle forms? 8. Where to locate a DB
driver? 9. How to monitor the API interactions? 10. What is free version of oracle server?

Ex.No: 10 DATABASE DESIGN AND IMPLEMENTATION

1. Design a schema for the given application. 2. Draw ER diagram for the given application. 3. What is
an API? 4. How do ensure DB security?132 5. What are the security issues? 6. What is OO design
process? 7. What is a cardinality constraint? 8. What is domain constraint? 9. What is timestamp?
10. List the variants of date domain
Ex.No11 PL/SQL BLOCK

.1 Can index be created based on multiple column? 2. Is it possible to alter index 3. How an index is
dropped? 4. Is it possible to rename an index? 5. Under what condition index can be used? 6. What
is dynamic multilevel indexing? 7. How do you alter a sequence? 8. What is the use of CYCLE? 9. How
do you drop a sequence? 10. How to delete a view?

You might also like