November 27, 2021

TECH HYME

A Blog For Tech Enthusiasts

List of Most Important 500+ DBMS Interview Questions

34 min read
DBMS Questions Techhyme

We might have heard about the word DATA which basically means a collection of unorganized numbers, characters, text etc. Some common examples of data include marks, phone numbers, weights, prices, costs, number of items sold, product names, addresses, registration marks etc. Data is likely to be managed more efficiently when they are stored in a database.

Also Read: Top 250+ Technical Software Engineering Interview Questions

Databases play a critical role in almost all areas where computers are used including education, library, science, medicine, business, law, engineering and so on. You may encounter database in your daily life. When you purchase goods from your local market, it is likely that a database is accessed. The computer at the cash counter is linked to an application program that uses a barcode to find the price of an item from the product database. Similarly, when you access your credit/debit card, all your transactions are recorded into a database. Besides, these when you make your booking for airlines/railway from your computer, you again access some databases.

Database and Database technology have a major impact on the growing use of computers. Due to recent developments, the storage capacity and the computing speed of the computers have increase, so now a large amount of data is being handled by the computers.

Suggested Read: 75 Basic Terms Related To Information Technology

In this article, we will discuss the most important DBMS Interview Questions in order to make you familiar with the type of questions that can be asked during a job interview related to the Database Management System (DBMS).

1. Introduction to DBMS

  1. What is the difference between data and information? Explain with example.
  2. Why do we need information?
  3. What do you understand by term ‘Database’?
  4. What are features of data in the database? What operations can be performed on a database?
  5. Why is data important for an organization?
  6. Discuss the disadvantages of manual databases?
  7. Why should the database stored on computers?
  8. Discuss the file system approach? What are its disadvantages?
  9. When do we prefer file system approach over database approach?
  10. Define the following terms:
    • Data
    • Database
    • Database System
    • DBMS
  11. What are the components of Database System?
  12. What are the different types of users in the Database System? What do they do?
  13. What are the primary requirements for designing the DBMS.
  14. What are the advantages and disadvantages of DBMS?
  15. What is the difference between DDL and DML?
  16. What is the difference between File System Approach and Database Approach.
  17. What is a data dictionary? Explain its importance.
  18. What do you understand by term ‘Data Integrity’ and ‘Data Consistency’?
  19. What are the objectives of using three level architecture of DBMS?
  20. Explain the three level of architecture of DBMS diagrammatically?
  21. Define the following terms
    • Schema
    • Mapping
    • Internal Level.
  22. What do you mean by Data Independence? Explain the differences between logical and physical data independence?
  23. What do you understand by mapping? Explain the different types of mapping?
  24. What are the different steps involved in database access?
  25. Who is DBA? What are its functions?
  26. Write short notes on:
    • Data Manager
    • File Manager
    • Disk Manager
    • Buffer Manager

2. Data Models

  1. What is a Data Model? Why is it important?
  2. What characteristics should a data model process?
  3. Explain the various categories of data models?
  4. Explain the object based logical data models?
  5. What do you mean by record based data models? Explain the different types of these models?
  6. Explain the hierarchical model? How the various operations are performed on it?
  7. What are the advantages and disadvantages of hierarchical model?
  8. Explain the various problems associated with hierarchical model?
  9. Explain the hierarchical model with the help of a sample database?
  10. Explain network model? How the various operations are performed on it.
  11. Discuss the advantages and disadvantages of the network model.
  12. Explain what problems are incurred while performing operations in the network model?
  13. Discuss the network model using a sample database.
  14. Explain the concept of a table.
  15. Explain the relational model. Why was it developed?
  16. What operations are performed on the relational model?
  17. Discuss the advantages and disadvantages of the relational model.
  18. Explain the various difference between the hierarchical, network and the relational model?
  19. How will you perform “Delete Operation” in case of hierarchical model?
  20. How will you perform “Insert Operation” in case of hierarchical model? What problems are faced?
  21. Discuss the terminology used in relational model.
  22. Discuss the retrieval operation in network model.
  23. How will you perform “Update operation” in case of hierarchical model?
  24. Write short notes on:
    • Degree of table
    • Cardinality of table
    • Attributes
    • Tuples
    • Data values
    • Physical Models
  25. What are characteristics that help us to choose which data model to use among record based models?
  26. Relational model posses data independence. Explain.
  27. What are the properties of a table.
  28. Explain the primary key and the foreign key?
  29. What is the domain of a table?

3. Entity-Relationship Model

  1. What is E-R modelling? Discuss its features.
  2. What is an entity? What are its features.
  3. Explain the concept of entity set.
  4. What is the difference between an Entity, Entity type and Entity Sets?
  5. What is an attribute? Discuss different type of attributes?
  6. Explain the differences between the following:
    • Simple and Composite attribute.
    • Single-valued and Multi-valued attribute.
  7. What is a Relationship?
  8. Write short note on:
    • Degree of Relationship
    • Cardinality of Relationship
    • Connectivity of Relationship
  9. How are the links between entity sets and relationship represented?
  10. Discuss the various symbols used in ER diagrams to represent various type of information.
  11. What is a ER diagram? How can it be used for modelling?
  12. What are the different types of entities?
  13. Explain the weak entity set and the strong entity set. Also show their differences.
  14. Explain the terms:
    • Identifying key or discriminator
    • Identifying Relationship
  15. Explain the concept of specialization with the help of an example.
  16. Discuss the properties of specialization.
  17. Why do we need aggregation?
  18. Discuss the properties of aggregation with help of example.
  19. How are EER diagrams for Specialization, Generalization and Aggregation drawn.
  20. Discuss the steps for designing an ER diagram.
  21. Consider the following entities and their relationships. Using these draw their ER diagrams.
    • Entities:- Author, Publisher
      Relationships:- Publishers publishes ‘works’ of different authors.
    • Entities:- Subject, Teacher, Student
      Relationships:- Teacher ‘teaches’ a student a subject.
    • Entities:- Exam, Course, Section, Room of University database.
      Relationships:- Exam for a particular course of a section is conducted in a Room.
    • Entities:- Author, Book, Publisher, Edition.
      Relationships:- Author writes Books; Author reviews Book; Book is published by Publisher; Book has Edition.
    • Entities:- Company, Project, Employee.
      Relationships:- Company controls projects; Employee supervises employees; Employee works on Project.
    • Design a generalization, specialization hierarchy for an EMPLOYEE whose pay is determined by its status i.e. hourly employee, salaried employee and Exempt Employee. Justify your placement of attributes at each level of hierarchy.
  22. What are the problems associated with ER model?
  23. Consider a situation where a single branch of a company has many employees who oversee a property for rent. Not all employees oversee property and not all properties are overseen by employees. Does a chasm trap exist? If Yes, then how to remove it.
  24. What is a fan trap? Explain using an example.
  25. How is ER Model Mapped to relational model? Explain.

4. Relational Database Management System

  1. Discuss in brief the evolution of RDBMS.
  2. Name some commonly available RDBMS packages.
  3. What are major aspects of the relational model?
  4. Explain the Relational Data Structure?
  5. Explain the following terms: Relation, Tuple, Attribute, Domain, Cardinality, Degree.
  6. What is a Domain? How it related to data value?
  7. Discuss the properties of attributes of a table.
  8. Discuss the properties of tuples?
  9. Explain the concept of keys? Name different types of keys?
  10. What do you mean by uniqueness and irreducability? Explain.
  11. Name the different types of keys?
  12. Explain the following keys with example:
    • Candidate Key
    • Super Key
    • Primary Key
    • Foreign Key
    • Artificial key
  13. What is the difference between:
    • Super Key and Candidate Key
    • Primary key and Foreign Key
    • Primary Key, Candidate Key and Alternate Key.
  14. Can foreign key refer to primary key in same table? If yes, explain.
  15. Write short note on:
    • Alternate Key
    • Composite Key
  16. Explain the concept of null values with proper example.
  17. What is the difference between unknown value and inapplicable value in concept of Null?
  18. What are integrity rules? Explain with examples?
  19. What do you understand by referential integrity? Explain.
  20. What is the purpose of relational data manipulation?
  21. Explain the different CODD rules.
  22. What is the difference between entity integrity and referential integrity rules? Give examples.
  23. What is requirement for a DBMS to be a RDMS?
  24. How are non applicable values handled in a table?
  25. What do you understand by:
    • Non Subversion rule
    • Information rule
    • View updating rule
    • Data Description rule.

5. Relational Algebra and Relational Calculus

  1. What is a Relational Algebra and What are its uses?
  2. How can you classify the Relational Algebraic operations?
  3. What is Union compatibility? Which operations require union compatibility? Why?
  4. Explain the following operations with examples:-
    • Union
    • Intersection
    • Difference
    • Cartesian Product
    • Division
  5. Discuss the features of cartesian product operation?
  6. What do you mean by statement’ union and intersection operations are commutative and associative operations’?
  7. Explain the difference between selection and projection operations with examples?
  8. Discuss the properties of projection operation?
  9. What a join operations? Discuss various types of JOIN operations?
  10. What is the difference between
    • EQUIJOIN and NON-EQUIJOIN
    • THETA JOIN and NATURAL JOIN
    • INNER JOIN and OUTER JOIN
    • LEFT OUTER JOIN and RIGHT OUTER JOIN
  11. Discuss the division operation with example? Also discuss its properties.
  12. What is a self join? Why renaming of relation is necessary in it.
  13. What is the similarities and differences between relation algebra and relational calculus?
  14. What are the different types of relational calculus? Explain.
  15. How does tuple relational calculus differ from domain relational calculus?
  16. Explain the term:-
    • Tuple Variable
    • Well formed formulas
    • Atoms
    • Free and bound variables
    • Domain Variable
  17. What are existential and universal qualifiers and what are they used for?
  18. How is a query expressed in relational calculus and what are they used for?
  19. Explain the different conditions in Domain Calculus?
  20. Consider the following Relations (Primary Keys are highlighted)
    EMP (EMP_Id, EName, Salary, Position, Dept_Id)
    DEPT(Dept_Id, Dname, Mang_Id, Location)
    Use relational algebra, tuple relational calculus, domain relational to represent the following queries:

    • List all the employees who work for ‘Research’ Department.
    • List is the manager name of Employee “Anurag” who works in “Delhi”.
    • List the are salaries of all employees working in Delhi.
  21. Consider the following relations (Primary Keys highlighted) and their relationships.
    AUTHOR (Aname, Address, Specialization)
    PUBLISHER (PName, Address, Type, Bk_Id)
    BOOK (Bk_Id, Book_name, ISBN_no)
    Writes (AName, Bk_Id, Royality)
    Use relational algebra, tuple relational calculus, domain relational calculus to represent following queries:-

    • List al titles published by ‘Lakhanpal’ publisher?
    • List the specialization of all authors publishing a book with ‘Lakhanpal’.
    • List the location of the publisher of a book ‘Learn Prog. in C’?
    • Get the names of all publisher publishing a book by Anshuman and by Anurag.
    • List the addresses of all the authors publishing a book with all publishers located in Delhi?

6. Normalization

  1. Define Normalization? Why do we need to normalize the database? Explain.
  2. What are the anomalies which lead to bad design of the database?
  3. What are the advantages and disadvantages of normalization?
  4. Discuss in brief the various types of normalization?
  5. How do we convert an unnormalized relation to that in 1NF?
  6. Define First Normal form? Explain with help of example.
  7. what are the anomalies in the First Normal form?
  8. Explain the concept of functional dependency and fully functional dependency with an example.
  9. What is functional dependency diagram? Explain with an example.
  10. A relation R (A,B,C,D) is given. Given the following functional dependencies. If a student decomposes this relation as follows tell whether he/she is correct or not?
  11. Define second normal form? Explain with help of example.
  12. Why do we need to convert a relation in 2NF to that of 3NF?
  13. How are anomalies of the First Normal form rectified? Explain with help of an example.
  14. Explain the concept of transitive dependencies with help of an example.
  15. Define the third normal form with the help of an example.
  16. How are the anomalies of the second normal form removed in 3NF? Explain.
  17. What are the anomalies of the third normal form (3NF)?
  18. Using an appropriate example explain the BCNF? Why is it considered stronger than 3NF?
  19. Draw the comparison and contrast between a relation in BCNF and 3NF?
  20. Explain dependency preservation problem with example?
  21. Explain multivalued dependency using an appropriate example? How is it represented?
  22. What are the various steps for normalizing a database?
  23. What are the properties of the MVD’s?
  24. Define Fourth Normal form? When is it desirable?
  25. Explain the concept of join dependency with example?
  26. What are the conditions required for a relation to be in fifth normal form?
  27. What are anomalies which occur due to multivalued dependencies? How are they removed.
  28. Explain the steps for normalization in brief?
  29. What do you mean by denormalization? Why do we need it? Explain with example.
  30. Consider a relation
    WORK_ALLOC (@EMP# + Name + Role + Dept + @Project + Cost)
    Here @ symbol tells that it is a primary key.
    Let following dependencies hold
    Emp# → Name ; Emp# → Dept; Project → Cost
    Normalize WORK_ALLOC into 3NF?
  31. Consider a relation
    CUST_ACC (@ CUST_Id + Name + Address + @Branch_Code + @ACC# + Balance)
    Let following dependencies hold
    Cust_Id → Name; Cust_Id → Address;
    (Branch_Code, ACC#) → Balance
    Normalize CUST_ACC into BCNF?
  32. Consider a relation R (@A, @B, C, D, E)
    The following dependencies hold
    (A,B) → C;B → E;B → C
    Normalize R into 2NF?
  33. Consider a relation R (@A + @B + C + D + E + F) and dependencies shown in diagram.
    Normalize R into 3NF?
  34. Consider a relation R (@A + @B + C + D) and dependencies as shown. The relation is in 3NF. Is the Relation in BCNF? If No, then Normalize it to BCNF?
  35. Consider a relation STUDENT (Course, Student, Faculty, Term, Grade). The following conditions holds true.
    • A student can take many courses and each course can have move than one faculty for a term.
    • Each student receives only one grade in a term.
      Decompose the relation into 4NF?
  36. Consider a relation
    SUPPLIES (SUPPLIER, PART, CONTRACT, QTY)
    Here the following dependencies hold
    CONTRACT → PART; PART → SUPPLIER; SUPPLIER, CONTRACT → QTY
    Normalize the relation?
  37. Consider a relation LIBRARY_USERS (UNIVERSITY, CAMPUS, LIBRARY, STUDENT).
    Assume university can have number of campuses and a campus has one library and each library is on one campus. Moreover, each library has a distinct name. A student is at one university only and can used the Libraries at some, but not all of the campuses. Normalize the relation?
  38. Consider a University database which keeps tracks of students record
    STUDENT (STUDENT_NAME, @STUDENT_ROLLNO, ADDRESS, CONTACT NUMBER, DATEOFBIRTH, SEX, CLASS, DEPARTMENT)
    DEPARTMENT (@DEPT_NAME, @DEPT_CODE, DEP_PHONENO, COLLEGE)
    COURSE (COURSE_NAME, COURSE_DESC, @COURSE_NO, COURSE_DEPT)
    Making appropriate assumptions show all the functional dependencies that hold among attributes.
  39. A relation R(A,B,C,D) has functional dependency C→B. Is R in 3NF? Justify.
  40. A relation R(A,B,C,D) has functional dependencies B→D, AB→C. Is R in 2NF? Justify.
  41. A relation R(A,B,C,D,E) is in 2NF and has functional dependencies, AB→CE, E→AB, C→D? Is R in 3NF? Justify.

7. Transaction Management and Concurrency Control

  1. What is a transaction? Explain with examples.
  2. What are the different types of operations which can be performed on the transaction? Explain with examples.
  3. Explain the ACID properties and the usefulness of each with examples?
  4. Discuss the actions takes by the read and the write operations on the database.
  5. Discuss the atomicity property of a transaction with suitable example?
  6. What do you mean by consistency of a transaction. Explain with suitable example?
  7. Explain the isolation property of a transaction with suitable example?
  8. Using suitable example explain the durability property of a transaction?
  9. Draw a state diagram and discuss the various states that a transaction goes through during execution?
  10. What happens when
    • Transaction is partially committed?
    • Transaction is failed?
    • Transaction is roll backed?
  11. What is concurrency? Why we need to control concurrency?
  12. Discuss the following with examples-
    • Lost update problem
    • Dirty Read
    • Incorrect analysis problem.
  13. What is a schedule? Explain with example?
  14. What is a serial schedule and a serializable schedule?
  15. Why is serializable schedule considered correct?
  16. Explain the following:-
    • Complete schedule
    • Non Serial Schedule
    • Recoverable Schedules
    • Non cascading schedules
    • Strict schedules
  17. What do you understand by serializability?
  18. What is the difference between conflict serializable schedules and view serializable schedules.
  19. Define the concepts of Recoverable, cascadeless and strict schedules? Compare them in terms of their recoverability.
  20. What do you understand by concurrency control? What are different techniques of concurrency control?
  21. What is a lock? What are the different types of locks?
  22. Why are the exclusive/shared locks preferable over binary locks?
  23. Explain the two phase locking protocol with examples? How does it gurantees serializibility?
  24. Explain the compatibility relation between shared lock, exclusive lock and unlock?
  25. Using an appropriate example explain the precedence graph? why do we need it?
  26. What is non-two phase locking protocol? Explain with example?
  27. Explain tree protocol with example?
  28. What is a deadlock? Explain deadlock handling techniques.
  29. What are the necessary conditions for deadlock to occur?
  30. Explain the different approaches to prevent a deadlock?
  31. Compare deadlock detection and prevention techniques?
  32. Describe the wait-die and wound-wait schemes for deadlock prevention?
  33. Compare the wait-die and wound-wait schemes for deadlock prevention?
  34. What is Time-out based protocol?
  35. Using appropriate example explain the concept for wait for Graph?
  36. How will you recover from the deadlock?
  37. What are the advantages and disadvantages of Graph based protocol?
  38. What is a timestamp? How does a system generates a timestamp?
  39. Discuss the timestamp ordering protocol? How does strict timestamp ordering differ from basic timestamp ordering?
  40. What is Thomas write rule? Explain with example?
  41. Discuss the concurrency control based on optimistic scheduling?
  42. Discuss the different phase in validation based protocol?
  43. How do optimistic concurrency control technique differ from other concurrency control techniques? Why are they also called validation techniques.
  44. Discuss two multiversion techniques for concurrency control?
  45. Explain using appropriate example the concept of tree locking protocol?

8. Database Recovery Techniques

  1. What is Recovery? Why it is needed?
  2. What is the difference between failure, fault and error?
  3. What are the different types of failures? Discuss.
  4. What is the difference between catastrophic and Non-Catastrophic failures?
  5. Explain the following terms:-
    • Volatile storage
    • Non-volatile storage
    • Stable storage
  6. What do you mean by ‘RAID’ Why is it used?
  7. What is a system log?
  8. What is the purpose of system log in the system recovery? What are typical entries made in the log?
  9. What is meant by log based recovery techniques? What are the different types of log based recovery?
  10. What are the similarities and differences between immediate update and deferred update? Why are the called so?
  11. Compare the two log based recovery schemes on terms of ease of implementation and overhead cost?
  12. What is Database Cache? What is its use?
  13. What is the use of dirty bit and pin-unpin bit?
  14. What do you mean by in place updating and shadowing. Explain with proper diagram?
  15. What is write-ahead logging?
  16. What is the difference between BFIM and AFIM?
  17. What is the difference steal and No steal Approach?
  18. What do you mean by Force and No-Force approaches?
  19. What is the advantage of using Steal/No Force approach?
  20. What is the purpose of checkpointing techniques?
  21. What are the steps performed during checkpointing?
  22. How does the frequency of checkpointing affect:
    • System performance when no failure occurs?
    • Time it takes to recover from system crash?
  23. What do you understand by Transaction Rollback?
  24. Why is backward scanning preferred in transaction rollback instead of forward scanning?
  25. Explain the different recovery techniques?
  26. What do you mean by deffered update technique? How is it performed? Give proper examples?
  27. What do you mean by Immediate update technique? How is it performed? Give proper examples?
  28. Explain the Undo/Redo Logging Scheme?
  29. What is Shadow Paging? How it is performed?
  30. What are the advantages and disadvantages of Shadow Paging?
  31. How are databases recovered from catastrophic failures?
  32. What is the difference between Current Page Table and Shadow Page Table?
  33. Compare the Shadow Paging Recovery scheme with the log based recovery schemes in terms of ease of implementation and overhead cost?
  34. What is meant by forward and backward recovery technique?
  35. Explain the recovery procedure that needs to take place after a disk crash?
  36. What do you understand by term Fuzzy Checkpoints?
  37. Explain undo/redo logging recovery for the following log as it appears at three instances of time:

9. Database Security and Integrity

  1. What is database security? Why is database security important for an organization?
  2. What is a threat? What are the potential threats in a database system?
  3. What do you mean by eavesdropping and data theft?
  4. What is a data tampering?
  5. How are user’s identity falsified?
  6. How do we people gain unauthorized access to database objects?
  7. Explain the different types of defence mechanisms?
  8. What are the basic data security requirements?
  9. What do you mean by confidentiality of data?
  10. How is confidentiality of data ensured in a database system?
  11. What do you mean by access control?
  12. What do you mean by database availability and what are its different aspects?
  13. How can you protect data within a database?
  14. What are the differences between discretionary access control and mandatory access control?
  15. What do you understand by authorization? How are users authenticated to the database?
  16. What is a privilege? What are the different types of privileges?
  17. What is the difference between the object privilege and a system privilege?
  18. What are roles? What are advantages of roles?
  19. What is a view? How does it helps in security of data?
  20. How does DBA ensures database security?
  21. What is Data Encryption? What are the different techniques used for encryption of data?
  22. How is the data encrypted in a conventional technique i.e. DES?
  23. What are the different techniques used for data encryption?
  24. Explain the public key encryption technique?
  25. What is a statistical database? How can the statistical database security be enforced?
  26. What do you mean by database integrity?
  27. What are the Integrity constraints? What are the different types of integrity constraints.
  28. Differentiate between database security and database integrity?
  29. Explain the terms:-
    • Domain Integrity Rules
    • Plaintext
    • Public key
    • Private key
    • Domain

10. Distributed Databases

  1. What is a distributed database? What is the need of distributed database?
  2. What is a distributed database system?
  3. What do you mean by distributed database management system? What are its functions?
  4. What are the components of a DDBMS?
  5. Explain the distributed system with the help of an example?
  6. What is the difference between distributed processing and DDBMS?
  7. Compare DDBMS with parallel processing?
  8. Does shared nothing architecture resembles distributed database environment? If yes then how?
  9. What are the advantages and disadvantages of a DDBMS?
  10. What is the difference between between homogeneous and heterogeneous DBMS?
  11. What are the difference issues that are considered while designing a distributed database?
  12. What is a fragment of a relation? What are the main types of fragments?
  13. Why is fragmentation of a useful concept in distributed database design?
  14. What is the difference between horizontal and vertical fragmentation?
  15. What issues should be considered for the correctness of fragmentation?
  16. What are the advantages and disadvantages of fragmentation?
  17. Why is data replication useful in DDBMS?
  18. What are the different techniques for replicating a database?
  19. What are the advantages and disadvantages of data replication?
  20. What is meant by data allocation in distributed database design?
  21. What are the different types of strategies used while allocating the data?
  22. What is a Transparency? What are the different types of Transparencies?
  23. Explain the following terms:-
    • Distribution transparency
    • Fragmentation transparency
    • Replication transparency
    • Location transparency
    • Naming transparency
  24. How is reliability and availability improved with distributed databases?
  25. Explain the following concepts
    • Remote transaction
    • Distributed transaction
  26. Explain the performance transparency?
  27. How will you evaluate query optimization in Performance transparency?
  28. Compare and contrast the client/server architecture and DDBMS?
  29. Explain the date’s twelve rules for DDBMS?
  30. What are the applications of distributed database?

11. Object Oriented Databases

  1. What is the need for OODBMS?
  2. How have the computer related areas benefited from object orientated concepts?
  3. Explain the terms- Object, Object Identity, attributes, objects, state, methods, messages.
  4. What is the difference between object and classes?
  5. What do you mean by abstraction and Encapsulation?
  6. What is Inheritance? What are the different types of Inheritance?
  7. Explain the difference between superclasses and subclasses with proper examples?
  8. Explain the concept of polymorphism.
  9. Compare the concept of ER Model and OO Model?
  10. How do you map object classes to tables? What are the different approaches used for this purpose.
  11. What do you mean by Object oriented DBMS?
  12. What are the applications of OODBMS?
  13. What are the different criteria used by DBMS to become OODBMS?
  14. How object orientation effects the database design?
  15. What are the advantages and disadvantages of OODBMS?
  16. What do you mean by Object relational DBMS?
  17. What are the advantages and disadvantages of ORDBMS?
  18. Differentiate between RDBMS, OODBMS, ORDBMS?

12. Expert Systems

  1. What is knowledge? What are different types of knowledge?
  2. What is the difference between knowledge and data?
  3. What are the different types of knowledge representation schemes?
  4. Write short notes on
    • Semantic networks
    • First order predicate logic
    • Frames
    • Rule based system
  5. What is an Expert System? What are the characteristics of expert system?
  6. What is an expert system shell?
  7. What are the different types of expert systems?
  8. Discuss the Expert System Architecture.
  9. What do you understand by
    • Forward chaining
    • Backward chaining
  10. What are the applications of Expert System?
  11. Name a few classical expert systems?
  12. What are the advantages of Expert system?
  13. Discuss the disadvantages of Expert system?
  14. Compare Expert System with conventional programs and human experts.
  15. What is knowledge Base Management System?
  16. Discuss the various types of reasoning facilities available?
  17. Compare KBMS and DBMS?

13. Introduction to Oracle

  1. Discuss the history of Oracle?
  2. Who developed Oracle?
  3. What are different products available in the Oracle family?
  4. What are the different types of architectures available for oracle database server?
  5. Discuss the Oracle Client/Server architecture?
  6. Discuss the various sections of Multitier Architecture? When it is used?
  7. What are the advantages of Client/Server computing?
  8. Discuss the features of Oracle?
  9. What are the various tools provided by the Oracle?
  10. What are the system requirements for the installation of Oracle 8i Enterprise Edition?
  11. Discuss the steps for installation of Oracle 8i Enterprise Edition?
  12. How will you remove Oracle 8i Enterprise Edition?
  13. What is a SQL*PLUS? How will you run it?
  14. How will you run SQL*PLUS on Unix platform?
  15. Discuss the various types of commands executed from SQL*PLUS prompt?
  16. List the SQL*PLUS commands?
  17. Name a few default users and their passwords?

14. Understanding Oracle Architecture

  1. What are the main components of Oracle Server?
  2. What are the Oracle database structure consists of?
  3. Explain the following logical structures:
    • Tablespace
    • Segment
    • Extent
    • Data blocks
  4. Explain the following physical database structure:-
    • Data Files
    • Redo Log Files
    • Control Files
  5. Explain the Oracle Memory structure?
  6. What is a SGA? What are its components?
  7. What is PGA?
  8. What is a background process? Explain the various background process?
  9. How does Oracle Server works in a dedicated server configuration?
  10. How does Oracle Server works in a multithread configuration?

15. SQL Fundamentals

  1. What is a SQL? Discuss in brief history of SQL?
  2. What do you understand by SQL1, SQL2 and SQL3?
  3. Discuss the following:-
    • DDL statements
    • DML statements
    • DCL statements
    • TCL statements
  4. What do you mean by 3GL and 4GL?
  5. What are the rules when writing SQL statements?
  6. Discuss the various Oracle data types?
  7. What is the difference between CHAR and VARCHAR2 datatype? Which one is preferred?
  8. Explain the format of NUMBER datatype in terms of precision and scale?
  9. What is the purpose of using LOB data types?
  10. What considerations should be considered while designing tables.
  11. What rules should be followed while naming tables?
  12. What is the purpose of CREATE TABLE statement? Discuss its Syntax.
  13. What is a constraint? Why we use it?
  14. What are the different types of constraints used with CREATE TABLE statement?
  15. What are properties that a primary key constraint should specify?
  16. What is a foreign key? Why do we use it.
  17. What is a difference between Primary Key constraint and Unique Key constraint?
  18. What is a check constraint? How do you specify it?
  19. How do you specify a default value for a column?
  20. How can you view the constraints created?
  21. How can you Create table using existing table?
  22. What is the purpose of ALTER TABLE statement?
  23. How can you add column and constraints to your table?
  24. How can you modify columns in an existing table?
  25. What is the purpose of CASCADE option in the ALTER TABLE statement.
  26. How can you drop a table?
  27. How can a table be renamed?
  28. What is a Data Dictionary? What does it contains? Name the one existing in Oracle.
  29. What is the difference between DELETE, DROP and TRUNCATE?
  30. What is the purpose of INSERT statement?
  31. What points should be kept in mind while inserting the data into the tables.
  32. What is a substitution variable? How can you add rows using substitution variables.
  33. What is the purpose of UPDATE statement?
  34. What is the difference between DELETE statement and TRUNCATE TABLE statement?
  35. Discuss various TCL statements?
  36. What is the purpose of ROLLBACK and COMMIT statements?
  37. What is a SAVEPOINT? Explain with the help of an example?
  38. What does the SET TRANSACTION statement do?
  39. Discuss the common errors that occurs while using DDL, DML, DCL and TCL statements.
  40. Create a table STUDENT having columns STU_ID(Number), SNAME(Varchar2), CLASS (Varchar2), DOB(date), PHONE_NO (Number). Use the following DDL statements on it.
    • Set the STU_ID as primary key?
    • Insert 5 records into it.
    • Delete any record.
    • Update the PHONE_NO of any student.
    • Set the NOT NULL constraint for DOB Column.
  41. Create a BIRTHDAY table having columns
    NAME(Varchar2), DOB(date), Time_OB(date), ENAME(Varchar2), Place(Varchar2), Sex(Char)

    • Set the Name, DOB as primary key?
    • Insert five records into it?
    • Delete any record.
  42. How will you insert image stored at ‘C:\mango.gif’ into a EMPLOYEE table having fields photo (datatype is BFILE)?
    (Hint:
    SQL> Insert into EMPLOYEE (Photo) values
    (bfilename (‘c:\’,’mango.gif’));
    )
  43. How will you insert current time into a table?
    (Hint:
    Step1- Alter session set nls_date_format = ‘dd-mon-yy hh:mi;ss’;
    Step2- Insert into student (dot) values (to_date (to_char (sysdate, ‘hh:mi:ss’), ‘hh:mi:ss’));
    )

16. SQL Fundamentals

  1. What is an operator? Discuss the various categories of operators available in SQL?
  2. Discuss the various comparison operators available in SQL?
  3. Write short notes on:
    • Logical operators
    • Concatenation operator
    • Set operators
  4. What is Precedence? Discuss the precedence of operators?
  5. Discuss the syntax of SELECT statement with various clauses?
  6. Explain with the help of example how the WHERE clause in the SELECT statement with various clauses?
  7. What is Aliasing? Why is it used?
  8. How can you use expressions in the SELECT statement?
  9. Explain using example the purpose of the following:
    • Concatenation operator
    • LIKE operator
    • IN operator
    • BETWEEN operator.
  10. Explain the purpose of the ORDER BY clause?
  11. What is a DUAL table? Where it is used?
  12. What are the different types of SQL built in functions?
  13. What is the purpose of the number functions? Explain atleast four number functions.
  14. What is the difference single row and group functions.
  15. Explain any four character functions?
  16. Explain any two date functions?
  17. What are conversion functions? How do these help us to convert data from one date type to another?
  18. What are aggregate functions? Why are they called so?
  19. What is the use of GROUP BY clause? Explain with Examples.
  20. Explain the use of HAVING clause?
  21. Explain the order of execution of the various clauses in the SELECT statement?
  22. Explain the Oracle tree walking feature with example?
  23. Execute the following queries on EMP table
    • List the ENAME of employee whose salary is greater than 2000 from EMP table.
    • List the ENAME, JOB, SAL of an Employee whose DEPT_NO=10 and SAL>2000 from EMP table.
    • List all the columns of EMP table whose department number is other than 10.
    • List all employees of EMP table whose ENAME start with ‘A’ and end with ‘N’.
    • List all employees whose JOB post in ‘Clerk’ or ‘Manager’.
    • List all employees whose SAL lies between 1250 and 3000.
    • List all employees who is getting a commission. (HINT: COMM IS NOT NULL)
    • List all the employee’s according to the date of joining.
    • List the last three characters of ENAME of each employee.
    • List all the names and EMPNO’s as ‘<EMPNO> name is <ENAME>’.
    • List hiredate’s of each employee in the format ‘DD/MM/YYYY’.
    • List the number of months between the system’s date and date of joining of the employee.
    • List the current system time
      (Hint: SQL>SELECT TO_CHAR(SYSDATE,’HH:MI:SS’) FROM DUAL;)
    • Find the date 7 days after the today’s date.
    • List the months of joining of each employee.
    • Using decode function list job as ‘President’ as ‘P’, ‘Manager’ as ‘M’.
    • List all employee information in which null values in COMM column is changed into-99.
    • List all maximum, minimum and average of Salary.
    • List the sum SAL and COMM of each of the employee.
    • Count the number of JOB titles in EMP tables.
    • Calculate the total number of employees in each department except the DEPTNO=30.
    • Find all the department number where total number of employees equal to 4.
    • Create a tree with EMP NO starting with 7566.
    • List all the employees who joined in 1981, department wise.
    • List all the employees who joined in 1987. (HINT: LIKE ‘%87’)
    • List employees who are not clerks.
    • List all the employees who do not have a manager.
    • List all employees who are not working in any department.
    • List all employees who have two L’s in their name.
    • List employees information such that HIREDATE is in the format “Fifth of June, 2008”.
    • List the HIREDATE and employees’s review date if review date is first Monday after three months of service.
      [Hint: TO_CHAR (NEXT_DAY (ADD_MONTHS (HIREDATE,3),’MONDAY’),’MON-DAY-YYYY’)]
    • List the MGR and the salary of the lowest paid employees for that
      manager. Exclude anyone whose manager is not known.
  24. Consider a Supplier_Parts database. Create three tables having columns as given:
    SUPP Table (SID, SNAME, LOCATION) where SID is the Primary Key.
    PARTS Table (PID, PNAME, COLOR, WEIGHT, CITY) where PID is the primary key.
    SUP_PART Table (SID, PID, QUANTITY) where (SID, PID) is the primary key and SID and PID are foreign keys to SUPP and PARTS tables respectively.
    Now insert 5 records in each table and run the following queries

    • List all the parts information?
    • Get the total quantity of part P1 supplied by supplier S1?
    • List are parts information whose color is ‘Red’?
    • List all the suppliers whose name start with ‘S’ and whose location ends with ‘R’?
    • Get the total quantity supplier by each supplier?
    • Get the total quantity whose supplier is ‘S2’ and part is ‘P2’?
  25. Create a matrix query to display the Job, Salary for that Job based upon department number and the total salary for that job for all departments, giving each column and appropriate headings.
    [Hint: SQL> SELECT JOB, SUM (DECODE (DEPTNO, 10, SAL)) AS “DEPT 10”,
    SUM (DECODE (DEPTNO, 20, SAL)) AS “DEPT 20”,
    SUM (DECODE (DEPTNO, 30, SAL)) AS “DEPT 30”,
    SUM (DECODE (DEPTNO, 10, SAL, NULL, 0, 0)) +
    SUM (DECODE (DEPTNO, 20, SAL, NULL, 0, 0)) +
    SUM (DECODE (DEPTNO, 30, SAL, NULL, 0, 0)) AS TOTAL
    FROM EMP GROUP BY JOB;
    ]
  26. Create a query that displays the total number of employees and also the total number of employees hired in 1980, 1981, 1982 and 1987.
    [Hint: Select Count (*)
    SUM (DECODE (TO_CHAR(HIREDATE, ‘YYYY’), 1980, 1, 0))
    …………………….
    …………………….
    FROM EMP;
    ]

17. SQL Fundamentals

  1. What is a Join? How can we join multiple tables?
  2. What is a Equi Join?
  3. Differentiate between Equijoin and Cartesian Join? Explain with Example.
  4. What are the various types of join?
  5. What is a Self Join? Explain with examples.
  6. Discuss the various set operators with examples?
  7. What is a subquery? What are different types of subqueries?
  8. How does single row subquery differ from multiple row subquery?
  9. What are the various operators which we can use in multiple row subqueries?
  10. What is a Correlated subquery? Give examples.
  11. What is the purpose of Exists Operator?
  12. Execute the following queries on EMP and DEPT tables.
    • List EMPNO, ENAME, SALE (including COMM) AND DNAME of all the employees.
    • List employee information of all the employees who work in ‘CHICAGO’.
    • List all employees who do not have a manager.
    • List all employees who do not work in the same department as that of its MGR.
    • List all employees who have been hired after employee ‘CLARK’.
    • List all employees who earn more than the average salary of all the employees.
    • List all employees which is same as those of employees whose name end with ‘R’.

18. Advanced SQL*PLUS and Reports

  1. What is a command buffer?
  2. What is a Scripts? What are its advantages.
  3. Explain the following SQL * PLUS commands-
    • SAVE
    • GET
    • RUN
    • START
  4. Write a short note on ED command?
  5. What is the difference between @ and @@?
  6. What is purpose of SQL * PLUS editor?
  7. Explain the commands used in SQL * PLUS editor?
  8. Write short note on SQL * PLUS system variables?
  9. Explain the different SQL * PLUS system variables?
  10. What is a Report? How do you generate a report in SQL * PLUS?
  11. What are the various command used for report writing?
  12. Explain the following command used in report writing:-
    • Title
    • Btitle
    • BREAK
    • SPOOL
    • COMPUTE
  13. What is a substitution variable? What are the various types of substitution variables?
  14. What is the difference between Site profiles and user profiles.
  15. Explain the difference between SQL and SQL * PLUS.
  16. Create a report job wise for EMP table. Also print the total salary.
  17. Create a report for printing the employees of a particular department pagewise?

19.Views, Sequences, Indexes and Synonyms

  1. What is a view? Why do we need it? Explain with example.
  2. What is the syntax of creating a view? Using an example show how to create a view.
  3. What is a Join view? Explain.
  4. Why do we use ‘Replace View’ in the commands for creating a view?
  5. What are the uses of view? Explain.
  6. How can you change the view definition.
  7. What is an index?
  8. What does ROWID consists of?
  9. What are the various types of indexes?
  10. How do you create an index? Explain with the help of exmaple?
  11. What are the steps for searching a particular value in Index unique scans?
  12. How do you explain a unique index?
  13. Explain using example the composite index?
  14. How do you drop an existing index?
  15. What points should be remembered while using indexes?
  16. What is a sequence? Explain its syntax?
  17. What is the purpose of CURRVAL and NEXTVAL?
  18. What are the uses of sequences?
  19. How do you alter a sequences?
  20. What is a synonym? What are its uses.
  21. How do you drop a synonym?
  22. Create a view called EMP_VU based on the employee number, employee name, and department number from the EMP table. Change the heading for the employee name to EMPLOYEE.
  23. Select the ‘view_name’ and ‘text’ from the data dictionary USER_VIEWS.
  24. Using the EMP_VU view, enter a query to display all employees names and department numbers.
  25. Create a view called SALARY_VU based on the employee name, department name, salary and salary grade for all employees lable the columns Employee, Department, Salary and Grade respectively.
  26. Create a sequence to be used with the DEPT table primary key columns. The sequence should start at 60 and have a maximum value of 200. Your sequence should increment by 10 mumbers. Name the sequence DEPT_ID_SEQ.
  27. Create a non-unique index on the FOREIGN KEY column in the EMP table.
  28. Display the INDEX_NAME, TABLE_NAME, UNIQUENESS columns that exist in the USER_INDEXES data dictionary view for the EMP table.
  29. Create a synonym in Scott schema who access the table STUDENT created by USER ‘Anshu’?

20. Managing Users and Roles

  1. What is a user? How can we create it?
  2. Write the syntax of the command for creating a user? Explain.
  3. How can you view all the users created?
  4. How can you alter the user?
  5. How can you delete a user?
  6. What is a privilege? Explain its types.
  7. How does object privilege differs from the system privilege?
  8. Explain with the help of example the steps for granting and revoking system privileges?
  9. Using example explain the steps for granting or revoking object privilege?
  10. What is a role? What are the benefits of using roles?
  11. How do you create a role?
  12. Write the steps for granting a role to another role?
  13. How do you enable and disable roles?
  14. How do you revoke privileges from a role?
  15. How do you delete a role?
  16. What is a data dictionary? What are the various types of data dictionary views available?
  17. Create a Role ‘Clerk’ and give the roles CONNECT, RESOURCE to him?
  18. Create a Role ‘Analyst’ and give the update privilege on all the columns except salary.

21. Introduction to PL/SQL

  1. What is PL/SQL? What are its advantages?
  2. Explain the architecture of PL/SQL?
  3. Explain the structure of PL/SQL?
  4. What are the basic elements of PL/SQL?
  5. How can you specify comments in PL/SQL?
  6. What is a literal? What are the various types of literals?
  7. What operators are used in PL/SQL?
  8. What data types are supported in PL/SQL?
  9. What are the various Number data types? Explain.
  10. What is a variable? How do you declare it?
  11. What is a constant? How do you declare it?
  12. What restrictions hold while declaring the variables?
  13. Which variable attributes are used in PL/SQL?
  14. What is the purpose of %TYPE from % ROWTYPE attributes.
  15. How does %TYPE from % ROWTYPE attributes.
  16. How do you display messsages in PL/SQL?
  17. Write a program to calculate the sum of two numbers.
  18. Write a program to Insert and then delete that row from the EMP table?
  19. What are the difference between SQL and PL/SQL?
  20. What are different methods of running a program.
  21. Determine whether the following are legal or not?
    • DECLARE
      v Number (4);
    • DECLARE
      JOIN_DATE DATE NOT NULL;
    • DECLARE
      A, B, C, VARCHAR2(10);
    • SUM : = $100 + $200;
    • a : = b > (3 * c);
    • days_lef : = a_date – sysdate;
  22. Create a PL/SQL block that selects the maximum department number in the DEPT table and print the result on the screen?

22. Control Structures

  1. What is conditional control? What are the various types of conditional control statements used in PL/SQL?
  2. Explain the working of IF-THEN-ELST statement with the help of an example.
  3. Explain the working of IF-THEN-ELSEIF statement with the help of an example.
  4. What are Iterative control statements? Explain.
  5. Explain the working of SIMPLE loop statement with example?
  6. What is the purpose of EXIT and EXIT WHEN statements? Do they differ?
  7. Explain the working WHILE LOOP statement with the help of an example?
  8. What is the purpose of SET SERVEROUTPUT ON in PL/SQL program’s execution?
  9. Expalin the working of FOR LOOP statement with the help of example.
  10. What points should be kept in mind while using FOR loop statement?
  11. What is the purpose of Loop labels? Explain with the help of examples.
  12. What are sequential control statements?
  13. What is the purpose of GOTO statement? Explain using an example.
  14. What points should be kept in mind while using GOTO statements.
  15. What is NULL statements used for?
  16. Write a PL/SQL program to calculate the simple interest?
    S.I. = P*r*t/100
  17. Write a PL/SQL program to calculate the telephone bill according to the number of calls made?
  18. Print the series using PL/SQL program
    1
    22
    333
    [Hint : Using PUT and NEW_LINE procedures of DBMS_OUTPUT package]
  19. Write a PL/SQL program to print the Ename of the employee from EMP table if the SAL of the given empno is greater than 3000?
  20. Write a PL/SQL program to print the digits of a number in reverse order?
  21. Write a PL/SQL program to calculate the factorial of a given number?

23. Handling Errors and Exceptions

  1. What is an Exception? When is it raised?
  2. What happens when no execution handler is declared in the block and error occurs?
  3. With the help of syntax of exception section discuss it?
  4. What are the different types of exceptions?
  5. List a few predefined exceptions?
  6. What are user-defined exceptions?
  7. How do you declare user-defined exceptions?
  8. Discuss the scope rules of user defined exceptions?
  9. What is the purpose of Pragma EXCEPTION?
  10. How do you use raise_application_error procedure?
  11. What are the purpose of SQL CODE and SQLERRM in handler clauses?
  12. Using a example show how do exception propagates?
  13. What do you mean by reraising an exception? Explain with the help of example?
  14. How are exception raised in declarations? Explain with the help of examples.
  15. Explain the difference between predefined exceptions and user-defined exceptions.
  16. Write a PL/SQL program that handles TOO_MANY_ROWS exception?
  17. Write an exception handler for the error to pass a message to the user that the specified department does not exist?
  18. Write a PL/SQL block that displays the name of the employee whose salary is between two given ranges. Handle all types of exceptions that can occur during the execution of the block?
  19. Write a PL/SQL block to select the name of the employee with a given salary value.
    • If the salary entered returns more than one row, handle the exception with an appropriate exception handler an insert into the MESSAGES table, the message “More than one employee with salary of <salary>”.
    • If the salary entered does not return any rows, handle the exception with appropriate exception handler and insert into the MESSAGES table, the message “No employee with salary of <salary>”.

24. Retrieving Data with Cursors

  1. What is a Cursor? Why do we need it?
  2. Explain the functioning of cursors?
  3. What are the various types of cursors?
  4. What are cursor attributes? Explain the importance of each?
  5. What are implicit cursors? How do you handle it?
  6. Explain the various attributes of Implicit Cursors?
  7. What is an Explicit Cursor? Explain the various steps for handling them?
  8. How do you open an Explicit cursor?
  9. How do you fetch an Explicit cursor?
  10. Explain the Explicit cursor attributes?
  11. What is the importance of cursor FOR loop? How does it simplifies operations?
  12. Explain with the help of example how can you select statement in cursor FOR loop?
  13. How can you pass parameters to cursors? Explain with the help of example.
  14. What are the advantages of using parameters?
  15. How will you pass parameters in a cursor FOR loop? Explain using example.
  16. Write a PL/SQL program to display the total salary jobwise using cursors?
  17. Write a PL/SQL program to display the names of the employees starting with a given character?
  18. Write a PL/SQL program to display the message ‘Cursor is open’ each time the cursor is opened and after closing it, display the message ‘Cursor is closed’.
  19. Write a PL/SQL program which prompts the user to enter the range limits of the salary i.e. upper value and lower value and displays the records that lies between that range.

25. Procedures, Functions and Packages

  1. What is a Subprogram? What are its types?
  2. What is Modularization? Explain.
  3. What are the parts of a subprogram?
  4. What are the advantages of using subprograms?
  5. What is a Procedure?
  6. How do you declare a local procedure? Explain with the help of example.
  7. What are the different modes of parameters? Compare each mode.
  8. What is the difference between actual and formal parameters. Explain using an example.
  9. What is a stored procedure? What is the use of Replace clause in it?
  10. Using an example explain the working of stored procedure?
  11. How can you execute a stored procedure?
  12. What is the use of function? Write the syntax to create local and stored functions?
  13. Using an example explain the significance of Return statements.
  14. What is the difference between Procedure and a Function?
  15. What is a package? What are its important components?
  16. Create a package and explain its working?
  17. How can we reference the package contents.
  18. How can you alter the contents of existing package?
  19. What are the advantages of Packages?
  20. How can you drop a function?
  21. How can you drop a Procedure?
  22. What is the significance of USER_OBJECTS data dictionary view?
  23. Write a function to calculate the area of the Circle.
  24. Write a procedure to fetch information about employees who is getting commission?
  25. Write a function that returns the balance of a particular account number?
  26. Create a procedure that increases the salary of the employee by 5000 who have been working for more than four years.
  27. Create a package STUDENT which consists of procedure that updates the marks of the students and a function that returns the percentage of marks of a given student.

26. Database Triggers

  1. What is a database Trigger?
  2. What functions are performed by Triggers?
  3. Give the syntax for creating a Trigger?
  4. Explain the in brief the various components of a Trigger?
  5. What are the various types of Triggers?
  6. Explain the difference between Row and a Statement trigger?
  7. Write a short note on before and after triggers?
  8. What restrictions apply on triggers?
  9. How do you access the old and new values of columns in Row Triggers?
  10. What are Conditional Predicates? Why do we use it?
  11. How do you drop a trigger?
  12. How do you enable and disable triggers?
  13. What trigger information can you get from USER_TRIGGERS data dictionary view?
  14. Create a trigger which when fired displays the difference between updated salary and the old salary for an employee?
  15. Create a trigger which is fired each time a record is inserted in SALE table. The trigger updates the quantity on hand field in the ITEM table by subtracting the quantity sold from it.
  16. Create a trigger which is fires each time when quantity on hand in INVENTORY table drops below the recorder point. In that cans a part with given quantity and that data is recorded. The PENDING_ORDERS maintains this record.
  17. Write a trigger on the EMP table so that no insertion or updation takes place on the table, on Sunday? (This is a typical example showing how database triggers help to control security).
    [Hint: ……..
    CREATE OR REPLACE TRIGGER check_time
    BEFORE INSERT ON Emp
    BEGIN
    IF (TO_CHAR(SYSDATE, ‘DY’) IN (‘SAT’,’SUN’)) OR (TO_CHAR (SYSDATE, ‘HH24;MT’) NOT BETWEEN ’09:00′ AND ’17:00′)
    THEN RAISE_APPLICATION_ERROR (‘-20010’, ‘Insertion possible during business hours only’);
    END IF;
    END;
    /
    ]
  18. Create a trigger on EMP table which will ensure that the salary entered is valid (i.e. less than 10000).

27. Oracle Utilities

  1. What is a backup? What are the different types of backups.
  2. What is an Export Utility? What are the various types of parameters which can be used with it?
  3. What are the different ways of using the Export Utility.
  4. Discuss the role of Parfile, Inctype, Grants parameter of export utility?
  5. How will you Export the entire database to the different user?
  6. What is the purpose of Import Utility in Recovery of the database?
  7. Discuss the role of Full, From User and To User Parameters of Import Utility?
  8. Export the ‘Emp’ and ‘Dept’ tables of the ‘Scott’ user such that all the constraints are also copied to the user ‘Anshu’. (Which is created).
  9. Export the contents of both the users ‘Anshu’ and ‘Scott’ to the user ‘Deepak’?

Leave a Reply

Your email address will not be published. Required fields are marked *