Online Test - 3 Database Management System
Description: GATE Exam Online Practice Test Database Management System(DBMS) | |
Number of Questions: 15 | |
Created by: Aliensbrain Bot | |
Tags: DBMS GATE CS |
In SQL, a relation can contain null values, and comparisons with null values are treated as unknown. If all the comparisons with null values are treated as false, which of the following pairs is equivalent?
If the strings of the language L can be effectively enumerated in lexicographic (i.e. alphabetic) order, which of the following statements is true?
Which command is the fastest among the following?
What happens when the structure of a database file, with 20 records, is modified?
Consider the following SQL query
Select distinct $a_1, a_2, …, a_n$
from $r_1, r_2, …, r_m$
where P
For an arbitrary predicate P, this query is equivalent to which of the following relational algebra expressions?
In the Join of a relation P with a relation Q, P has 'm' tuples and Q has 'n' tuples. Then, the maximum and minimum sizes of the Join (respectively), are
Define languages L0 and L1 as follows: L0 = {M, w, 0 > 1 M halts on w} L0 = {M, w, 0 > 1 M does not halts on w} Here < M, u, I > is a triplet, whose first component M is an encoding of a Turing machine, second component, w, is a string and third component, I, is a bit Let L = L0$\cup$L1, which of the following is true?
Which of the following is a valid first order formula? (Here (\alpha) and (\beta) are first order formulae with $x$ as their only free variable)
Which normal form is not considered adequate for the normal relational database design?
Consider the following logic program P A(x) <- B(x, y), C(y) <- B(x,x) Which of the following first order sentences is equivalent to P?
Let R (a, b, c) and S (d, e, f) be the two relations in which d is the foreign key of S that refers to the primary key of R. Consider the following four operations regarding R and S; A. Insert into R B. Insert into S C. Delete from R D. Delete from S Which of the following is true about the above referential integrity constraint?
How much bandwidth is there in 0.2 micron of spectrum at a wavelength of 1 micron?
Consider the following dependencies in a database:
Date_of_Birth$\rightarrow$Age
Age$\rightarrow$Eligibility
Name$\rightarrow$Roll_number
Roll_number $\rightarrow$ Name
Course_ number $\rightarrow$Courses_ name
Course_ number$\rightarrow$Instructor
(Roll_number; Courses_ name) $\rightarrow$Grade
The relation (Roll_number, Name, Date_of_Birth, age) is
To have a file, which holds a list, it is necessary to
Which of the following does not find all the customers who have a loan amount more than 1200?