Thursday 22 November 2012

OCT/NOV-2012 (C-09)


C-09-CM306
3232
BOARD DIPLOMA EXAMINATION, (C-09)
OCT/NOV-2012
DCME-THIRD SEMESTER EXAMINATION
RDBMS
Time: 3 hours]                   [Total Marks:80
PART-A
Instructions: (1) Answer all questions
(2) Each question carries three marks.
(3) Answers should be brief and straight to the point and shall not exceed five simple sentences.
1.       Define an instance and a schema.
2.       Define Database Management System (DBMS).
3.       What is a weak entity? Give an example.
4.       What are the parts of objects?
5.       What is the difference between char and varchar2?
6.       List the types of view.
7.       Write the syntax of the command for creation of a table and explain with an example.
8.       What are P//SQL tables?
9.       Hwat are the advantages of subprogram?
10.   Differentiate between subprogram and stored subprogram.
PART-B
Instructions: (1) Answer any five questions.
(2) Each question carries ten marks.
(3) Answers should be comprehensive and the criteria for valuation is the content but not the length of the answer
11.   Explain BCNF with an example.
12.   Explain generalization, specialization and aggregation with examples.
13.   Explain different types of join.
14.   List and explain the integrity constraints with examples.
15.   Explain explicit cursor along with its attributes with example.
16.   (a) define an exception. Give example. (b) Consider the following block of PL/SQL code:                                               DECLARE
A EXCEPTION;
B EXCEPTION;

BEGIN
RAISE A;
EXCEPTION
WHEN A THEN
RAISE B;
WHEN B THEN
END;
Explain the propagation of exception in the above block of code.
17.   Explain ,with flowchart, how the compiler resolves a particular overloaded subprogram.
18.   (a) give the syntax for UPDATE command and explain with an example. (b) How do you manage the space usage of database tables?


PART-A
 (2) Each question carries three marks.
1.       Define an instance and a schema.
Ans:
Instance: the actual content of the data base at a particular point in time is called an instance. It is analogous to the value of a variable.
Schema: the logical structure of the database is called as schema.

Example: the database consists of information about a set of customers and accounts and the relationships between them. It is analogous to type information of a variable in a program. A schema is owned by a database user and has the same name as that of the user. Each user owns a single schema. Schema objects can be created and manipulated with SQL. Depending on the levels of abstraction, schema are of three types- physical schema, logical-schema and sub schema.

2.       Define Database Management System (DBMS).

Database management system is a collection of interrelated data and a set of programs to access the data. It provides an environment to the user that is both convenient and efficient to use . dbms contains information about a particular enterprise.

3.       What is a weak entity? Give an example.
An entity set that does not have a primary key is referred to as a weak entity set. The primary key of a weak entity set is formed by taking the primary key of the strong entity set on which it is existence dependent and its discriminator. A weak entity set is depicted by double rectangles. The discriminator of a weak entity set is underlined with a dashed line.
 For example.



4.       What are the parts of objects?
A schema object is a collection of logical structures of data. A schema object is owned by a database user and has the same name as that user. Some schema objects are made up of parts that a user can or must name, such as the columns in a table or view. Index and table partitions

5.       What is the difference between char and varchar2?
6.       List the types of view.
7.       Write the syntax of the command for creation of a table and explain with an example.
8.       What are P//SQL tables?
9.       Hwat are the advantages of subprogram?
10.   Differentiate between subprogram and stored subprogram.
PART-B
Instructions: (1) Answer any five questions.
(2) Each question carries ten marks.
(3) Answers should be comprehensive and the criteria for valuation is the content but not the length of the answer
11.   Explain BCNF with an example.
12.   Explain generalization, specialization and aggregation with examples.
13.   Explain different types of join.
14.   List and explain the integrity constraints with examples.
15.   Explain explicit cursor along with its attributes with example.
16.   (a) define an exception. Give example. (b) Consider the following block of PL/SQL code:                                               DECLARE
A EXCEPTION;
B EXCEPTION;

BEGIN
RAISE A;
EXCEPTION
WHEN A THEN
RAISE B;
WHEN B THEN
END;
Explain the propagation of exception in the above block of code.
17.   Explain ,with flowchart, how the compiler resolves a particular overloaded subprogram.
18.   (a) give the syntax for UPDATE command and explain with an example. (b) How do you manage the space usage of database tables?


OTHER SUBJECT PREVIOUS QUESTION PAPERS

OCT /NOV-2011(C-05)


C-05-CM-503
632
BOARD DIPLOMA EXAMINATION, (C-05)
OCT /NOV-2011
DCME.-V SEMESTER EXAMINATION
RELATIONAL DATABASE MANAGEMENT SYSTEMS

TIME: 3 Hours]                                                                     [Total Marks :100]
PART   - A
INSTRUCTION:  (1) ANSWER ALL QUESTION AND EACH QUESTION
                                           CARRIES FOUR MARKS
                    (2)  ANSWER SHOULD BE BRIEF AND   STRAIGHT      TO  THE POINT AND SHALL NOT EXEED FIVE SIMPLE SENTENCES

1.     What is data base abstraction?
2.     List the functions of data base administrator.
3.     State the features of SQL.
4.     List the various data types in SQL.
5.     Differentiate table and view.
6.     List the various types of Integrity constraints.
7.     List the advantages of subprograms.
8.     What is implicit cursor?
9.     Define package.
10.  What are the benefits of overloading?


Instructions :    (1) Answer any five questions and each question carries twelve marks.
                  (2) The answers should be comprehensive and the criteria for valuation   is the content but not the length of the answer.

11.   (a) explain the entity-relationship model with a simple diagram. (b)explain the process to reduce ER diagrams to tables.
12.   Explain the verall system structure with diagram.
13.   (a) explain data manipulation language (DML) commands in sql. (b) explain various joins in sql.
14.   (a) explain the operators of sql. (b) explain about Indexes.
15.   Explain the procedure of creation altering and dropping of table.
16.   (a) explain the structure of PL/SQL program.(b) explain the different parameter modes for subprograms.
17.   (a) explain conditional and iterative statements in PL/SQL .(b) write a PL/SQL program for reverse of a given number.
18.   (a) write the steps for compilation of PL./SQL program. (b) write about stored sub program with an example



OTHER SUBJECT PREVIOUS QUESTION PAPERS

APRIL/MAY-2012(C-05)


C05-CM-503
632
BOARD DIPLOMA EXAMINATION, (C-05)
APRIL/MAY-2012
DCME V SEMESTER EXAMINATION
RELATIONAL DATABASE MANAGEMENT SYSTEMS
Time : 3 Hours]                                                               [Total Marks: 100
PART-A    10*4=40
Instructions: (1) Answer all questions and each question caries four marks. (2) Answers should be brief and straight to t the point and shall not exceed five simple sentences.
1.    Define entity and relationshsip.
2.    Define DDL and DML
3.    What are the differences between char and varchar2 datatypes?
4.    What are conversion functions?
5.    What is the process of creating a table?
6.    Difference between view and table.
7.    List any four built in functions of PL/SQL.
8.    List any four predefined PL/SQL exceptions
9.    What are the benefits of overloading?
10. Explain briefly about stored sub program..


PART-B                                              5*12=60
Instructions: (1) Answer any five questions and each question caries twelve marks. (2) The Answers should be comprehensive and criteria for valuation is the Content but not the length of the answer.

11. Explain various mapping cardinalities.
12. (a) explain how will you convert E-R diagram into table (b) classify the database users into various types.
13. Explain any 12 functions of SQL.
14. (a) explain about DML statements. (b) explain the process of creating (i) synonym (ii) index.
15. Explain the following commands commit, rollback and save point
16. Explain the architecture of PL/SQL.
17. Explain recursion with the help of an example.
18. (a) explain overloading in PL/SQL with an example. (b) what is a package? Write its advantages.

&� 5 ; / �>� �� n style='font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:"'Times New Roman'","serif"; mso-fareast-font-family:"Times New Roman";mso-bidi-font-family:Arial; color:black'> Write the syntax for package body. Explain with example.
18.  (a) what is an outer-join? Give an example. (b) how do you manage the space usage of database tables?

1ptP � e h �>� �� 8.0pt'>                   EXCEPTION
                             WHEN A THEN
                                      RAISE B;
                             WHEN B THEN
                   END;
Explain the propagation of exception in the abouve block of code.
16.  (a) draw the block diagram of PL/SQL engine. (b) what are the differences between SQL and PL/SQL ?
17.  (a) how to create a stored subprogram? Explain with example. (b) explain how to call stored subprogram using Oracle objects.
18. (a) explain different categories of SQL data types. (b) List any two integrity constraints. State the reasons for enforcing each of these constraints.



OTHER SUBJECT PREVIOUS QUESTION PAPERS

APRIL /MAY-2012(C-09)


C-09-CM-105/C09-IT-105
3232
BOARD DIPLOMA EXAMINATION, (C-09)
APRIL /MAY-2012
DCM-III YEAR EXAMINATION
RDBMS

TIME: 3 Hours]                                                                     [Total Marks :80]
PART   - A
INSTRUCTION:  (1) ANSWER ALL QUESTION AND EACH QUESTION
                                           CARRIES FOUR MARKS
                    (2)  ANSWER SHOULD BE BRIEF AND   STRAIGHT      TO  THE POINT AND SHALL NOT EXEED FIVE SIMPLE SENTENCES

1.     Define primary key. Give example.
2.     What is the difference between a 2NF and a 3NF relation?
3.     Construct an E-R diagram for the statement “Driver drives a car”.
4.     List different types of literals.
5.     Give the syntax for UPDATE command.
6.     What is an integrity constraint?
7.     Explain about dropping a table, with example.
8.     How to declare global variables?
9.     How many types of exceptions are there?
10.  What are the benefits of overloading?


Instructions :    (1) Answer any five questions and each question carries ten marks.
                  (2) The answers should be comprehensive and the criteria for valuation   is the content but not the length of the answer.

11.  describe the overall database system structure with block diagram.
12.  Explain various data models.
13.  Explain the process of accessing objects in remote database.
14.  Explain the creation of view from multiple tables with examples.
15.  (a) draw the block diagram of PL/SQL engine. (b) what are the differences between SQL and PL/SQL?
16.         List and explain the four steps involved in managing explicit cursors with example.
17.  Write the syntax for package body. Explain with example.
18.  (a) what is an outer-join? Give an example. (b) how do you manage the space usage of database tables?

1ptP � e h �>� �� 8.0pt'>                   EXCEPTION
                             WHEN A THEN
                                      RAISE B;
                             WHEN B THEN
                   END;
Explain the propagation of exception in the abouve block of code.
16.  (a) draw the block diagram of PL/SQL engine. (b) what are the differences between SQL and PL/SQL ?
17.  (a) how to create a stored subprogram? Explain with example. (b) explain how to call stored subprogram using Oracle objects.
18. (a) explain different categories of SQL data types. (b) List any two integrity constraints. State the reasons for enforcing each of these constraints.



OTHER SUBJECT PREVIOUS QUESTION PAPERS