Escolar Documentos
Profissional Documentos
Cultura Documentos
In the three level architecture proposal for a DBMS, which schema describes a
the records and relationships in the database.
External Schema
Conceptual Schema
Internal Schema
None of these
4. There may be more than one key in a relation to identify a tuple uniquely. Th
ese keys are called
A. Candidate Key
B. Primary Key
C. Foreign Key
D. None of these
5. If one deletes a tuple that is a target of a foreign key reference, then ther
e are some possibilities to maintain database integrity. Which of the following
possibility violates the rules of database integrity
A. All tuples that contain references to the deleted tuple should also be delete
d.
B. Only tuples that are not referenced by any other tuple can be deleted. A tupl
e referred by other tuples in the database cannot be deleted.
C. The tuple is deleted and the pertinent foreign key attributes of all referenc
ing tuples are set to null.
D. None of these.
6. Give a relation scheme R with functional dependencies F defined on the attrib
utes of R and K as a candidate key, if X is a proper subset of K and if F |= X->
A, then A is said to be
A. Fully dependent on K
B. Partially dependent on K
C. Not dependent
D. None of these
7.
A.
B.
C.
D.
Integer,
Integer,
Integer,
Char(1)*
);
*M->Male, F->Female
Write a SQL statement to select a female student who has scored second highest s
core among females.
15. Use the following tables to answer this question
Employee
(
Employee ID Integer,
Age
Integer,
Designation
Char(30),
Sex
Char(1)*
);
*M->Male, F->Female
Account
(
Employee ID Integer,
Account ID
Integer,
);
You are working on an employee management system. You have already moved a
ll the employees who have left the organization into history table. Now you want
to delete from Account table all the records pertaining to these employees.
Write a SQL statement to implement this.
Proficiency in Object Oriented Concepts
1. Select all the correct statements about "Abstraction"
A. Assumes essential characteristics of an object to distinguish it from other k
inds of objects.
B. Provides a simplified view of the object.
C. It separates the implementation from its interface.
D. It is the enforcement of the type class of an object.
2.
A.
B.
C.
D.
5.
A.
B.
C.
D.
6.
A.
B.
C.
D.
7.
A.
B.
C.
D.
8.
A.
B.
C.
D.
9. "Object Persistence" covers which of the following (Select all that are corre
ct)
A. Global variables & heap items.
B. Object data storage.
C. Object type storage.
D. All of the above.
10. Which statement(s) is/are true about shared inheritance?
A. All base classes are by default example of shared inheritance.
B. In multiple inheritance the derived classes share a single instance of the Ba
se Class.
C. The base class is declared dynamically & there can be only one instance of it
.
D. It allows distributed objects to share remote object and treat it as their ow
n.
For questions 11 To 15:
Following is the list of all relationships that multiple classes can have
A.
B.
C.
D.
E.
Association.
Inheritance.
Aggregation
Using.
Instantiation.
For Questions 11 to 15, select the correct relationship (A-E) among the mentione
d pairs.
11.
12.
13.
14.
15.
Product, Sales.
Rose, Flower.
Petal, Flower.
Temperature Controller, Temperature Ramp.
Generic Queue class. Integer, Custom data types.