1. Using which language can a user request information from a database ?
Explanation:Query language is a method through which the database entries can be accessed.
2. Student(ID, name, dept name, tot_cred)
In this query which attribute form the primary key?
Explanation:The attributes name ,dept and tot_cred can have same values unlike ID .
3. Which one of the following is a procedural language ?
a) Domain relational calculus
b) Tuple relational calculus
c) Relational algebra
d) Query language
Explanation:Domain and Tuple relational calculus are non-procedural language.Query language is a method through which the database entries can be accessed.
4. The_____ operation allows the combining of two relations by merging pairs of tuples, one from each relation, into a single tuple.
Explanation:Join finds the common tuple in the relations and combines it.
5. The result which operation contains all pairs of tuples from the two relations, regardless of whether their attribute values match.
b) Cartesian product
d) Set difference
Explanation:Cartesian product is the multiplication of all the values in the attributes.
6. The _______operation performs a set union of two “similarly structured” tables
Explanation:Union just combines all the values of relations of same attributes.
7. The most commonly used operation in relational algebra for projecting a set of tuple from a relation is
Explanation:Select is used to view the tuples of the relation with or without some constraints.
8. The _______ operator takes the results of two queries and returns only rows that appear in both result sets.
Explanation:The union operator gives the result which is the union of two queries and difference is the one where query which is not a part of second query .
9. A ________ is a pictorial depiction of the schema of a database that shows the relations in the database, their attributes, and primary keys and foreign keys.
a) Schema diagram
b) Relational algebra
c) Database diagram
d) Schema flow
10. The _________ provides a set of operations that take one or more relations as input and return a relation as an output.
a) Schematic representation
b) Relational algebra
c) Scheme diagram
d) Relation flow
Sanfoundry Global Education & Learning Series – Database Management System.