My Report

Database Management System Mock Test 3


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement
 10%

Question 1 of 10

1. What are the different in triggers?

Question 1 of 10

Question 2 of 10

2. The Rectangles divided into two parts represents

Question 2 of 10

Question 3 of 10

3. Relational Algebra is a __________ query language that takes two relations as input and produces another relation as an output of the query.

Question 3 of 10

Question 4 of 10

4. An entity in A is associated with at most one entity in B, and an entity in B is associated with at most one entity in A.This is called as

Question 4 of 10

Question 5 of 10

5. Which is a unary operation:

Question 5 of 10

Question 6 of 10

6. The attribute AGE is calculated from DATE_OF_BIRTH. The attribute AGE is

Question 6 of 10

Question 7 of 10

7.

Create procedure dept_count proc(in dept name varchar(20),
out d count integer)
begin
select count(*) into d count
from instructor
where instructor.dept name= dept count proc.dept name
end

Which of the following is used to call the procedure given above ?

Question 7 of 10

Question 8 of 10

8.

Select ID, GPA
from student grades
order by GPA
____________;

Inorder to give only 10 rank on the whole we should use

Question 8 of 10

Question 9 of 10

9. Suppose we are given a view tot credits (year, num credits) giving the total number of credits taken by students in each year. The query that computes averages over the 3 preceding tuples in the specified sort order is

Question 9 of 10

Question 10 of 10

10. Not applicable condition can be represented in relation entry as

Question 10 of 10


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.