Computer Science - Database Management Systems
Quiz-summary
0 of 50 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
Information
This is MCQs of Computer Science Subject.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 50 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- Answered
- Review
-
Question 1 of 50
1. Question
Which normal form is considered adequate for relational database design?
Correct
Incorrect
-
Question 2 of 50
2. Question
The concept of locking can be used to solve the problem of
Correct
Incorrect
-
Question 3 of 50
3. Question
Given relations R(w,x) and S(y,z), the result of
SELECT DISTINCT w,x
FROM R,S
is guaranteed to be same as R, ifCorrect
Incorrect
-
Question 4 of 50
4. Question
A functional dependency of the form X → Y is trivial if
Correct
Incorrect
-
Question 5 of 50
5. Question
If every non-key attribute is functionally dependent on the primary key, then the relations will be in
Correct
Incorrect
-
Question 6 of 50
6. Question
The column of a table is referred to as the
Correct
Incorrect
-
Question 7 of 50
7. Question
Using relational algebra, the query that finds customers who have a balance of over 1000 is
Correct
Incorrect
-
Question 8 of 50
8. Question
Which of the following queries finds the clients of banker Agassi and the city they live in?
Correct
Incorrect
-
Question 9 of 50
9. Question
Which of the following tuple relational calculus finds all customers who have a loan amount of more than 1200?
Correct
Incorrect
-
Question 10 of 50
10. Question
Which of the following Domain relational calculus finds all customers who have a loan amount of over 1200 ?
Correct
Incorrect
-
Question 11 of 50
11. Question
Given the functional dependencies
X → W ; X → Y : Y → Z and Z → PQ
which of the following does does not hold good ?Correct
Incorrect
-
Question 12 of 50
12. Question
What are the potential problems when a DBMS executes multiple transaction concurrently?
Correct
Incorrect
-
Question 13 of 50
13. Question
The data flow model of an application mainly shows
Correct
Incorrect
-
Question 14 of 50
14. Question
Consider the set of relations given below and the SQL query that follows:
student: (Roll_number, Name, Date_of_birth)
Courses: (Course_number, Course_name, Instructor)
Grades: (Roll_number, Course_number, Grade)
SELECT DISTINCT Name
FROM Students, Courses, Grades
WHERE Students.Roll_number = Grades.Roll_number
AND Courses. Instructor = Korth
AND Courses. Course_number = Grades.Course_number
AND Grades.Grade = A
Which of the following sets is computed by the above query?Correct
Incorrect
-
Question 15 of 50
15. Question
Which of the following desired features are beyond the capability of relational algebra?
Correct
Incorrect
-
Question 16 of 50
16. Question
In airline reservation system, the entities are data, flight number, place of departure, destination. type of plane and seats available. The primary key is
Correct
Incorrect
-
Question 17 of 50
17. Question
For a database relation R (a,b,c,d) where the domains of a,b,c and d include only atomic values, only the following functional dependencies and those that can be inferred from them hold
a → c
b → d
The relation is inCorrect
Incorrect
-
Question 18 of 50
18. Question
Consider the following relation schema pertaining to a students database.
Student: (rollno, name, address)
Enroll: (rollno, courseno, coursename)
Where the primary keys are shown underlined. The number of tuples in the Student and the Enroll tables are 120 and 8 respectively. What are the maximum and the minimum number of tuples that can be present in (Student * Enroll), Where * denotes natural jaoin?Correct
Incorrect
-
Question 19 of 50
19. Question
In an E-R diagram ellipses represent
Correct
Incorrect
-
Question 20 of 50
20. Question
The set of permitted values for each attribute is called its
Correct
Incorrect
-
Question 21 of 50
21. Question
In an entity relationship, Y is the dominant entity and x is a subordinate entity. Which of the following is/are incorrect?
Correct
Incorrect
-
Question 22 of 50
22. Question
The employee information in a company is stored in the relation
Employee: (name, sex, salary, deptName)
Assume name is the primary key. Consider the SOL query
SELECT deptName
FROM Employee
Where SEX = M
GROUP By deptName
HAVING avg(salary) > (SELECT avg(salary) FROM Empolyee)
It returns the names of the departments in which the average salaryCorrect
Incorrect
-
Question 23 of 50
23. Question
A data model is a collection of conceptual tools for describing
Correct
Incorrect
-
Question 24 of 50
24. Question
Choose the correct statements.
Correct
Incorrect
-
Question 25 of 50
25. Question
Choose the incorrect statement(s)
Correct
Incorrect
-
Question 26 of 50
26. Question
Student and courses enrolled, is an example of
Correct
Incorrect
-
Question 27 of 50
27. Question
Relations produced from an E-R model will always be in
Correct
Incorrect
-
Question 28 of 50
28. Question
Choose the correct statement.
Correct
Incorrect
-
Question 29 of 50
29. Question
E-R modeling technique is a
Correct
Incorrect
-
Question 30 of 50
30. Question
Third normal form is inadequate in situations where the relation
Correct
Incorrect
-
Question 31 of 50
31. Question
Redundancy is dangerous as it is a potential threat to data
Correct
Incorrect
-
Question 32 of 50
32. Question
Let R be a relation. Which of the following comments about the relation R are correct?
Correct
Incorrect
-
Question 33 of 50
33. Question
An attribute of one table matching the primary key of another table, is called as
Correct
Incorrect
-
Question 34 of 50
34. Question
A primary key if combined with a foreign key creates
Correct
Incorrect
-
Question 35 of 50
35. Question
Choose the correct statement.
Correct
Incorrect
-
Question 36 of 50
36. Question
The employee salary should not be greater than RS. 2000. This is
Correct
Incorrect
-
Question 37 of 50
37. Question
Manager’s salary details are hidden from the employee. This is
Correct
Incorrect
-
Question 38 of 50
38. Question
The SQL expression
select distinct T.branch_name from branch T. branch S where T.assets > S.assets and S.branch_city = “PONDICHERRY”
finds the names ofCorrect
Incorrect
-
Question 39 of 50
39. Question
A trigger is
Correct
Incorrect
-
Question 40 of 50
40. Question
Which is the discriminator of the weak entity?
Correct
Incorrect
-
Question 41 of 50
41. Question
Which is the primary key of the weak entity?
Correct
Incorrect
-
Question 42 of 50
42. Question
Consider the relation
EMPLOYEE (Emp-no, Emp-name, salary, project-no, due-date)
(Assuming an 1-1 relationship between project and employees)
Project-no is functionally dependent onCorrect
Incorrect
-
Question 43 of 50
43. Question
In the previous question. which of the following is/are functionally dependent on Emp-name? (Assume no two persons have the same name.)
Correct
Incorrect
-
Question 44 of 50
44. Question
Let R(a,b,c) and S(d,e,f)be two relations in which d is the foreign key of S that refers to the primary key of R. Consider the following four operations.
Correct
Incorrect
-
Question 45 of 50
45. Question
Which of the following schemes are used for ensuring atomicity?
Correct
Incorrect
-
Question 46 of 50
46. Question
If P and Q are predicates and P is the relational algebra expression, then which of the following equivalence are valid?
Correct
Incorrect
-
Question 47 of 50
47. Question
Generally speaking, for a weak set to be meaningful it must be part of a
Correct
Incorrect
-
Question 48 of 50
48. Question
If a relation scheme is in BCNF, then it is also in
Correct
Incorrect
-
Question 49 of 50
49. Question
Consider the following set of functional dependencies on the scheme (A, B, C)
A → BC
B → C
A → B
AB → C
The canonical cover for this set isCorrect
Incorrect
-
Question 50 of 50
50. Question
Assume transaction A holds a shared lock R. If transaction B also requests for a shared lock on R, it will
Correct
Incorrect