Database Management and Warehousing questions

Q26

GATE DA 2024 DARelational Query LanguagesMCQ1 mark−1/3 if wrong

Report a problem with Q26

What is wrong?
Consider a database that includes the following relations:

Defender(name, rating, side, goals)
Forward(name, rating, assists, goals)
Team(name, club, price)

Which ONE of the following relational algebra expressions checks that every name occurring in Team appears in either Defender or Forward, where ϕ\phi denotes the empty set?
Show answer without attempting

Loading the answer…

Q27

GATE DA 2024 DAData PreprocessingMCQ1 mark−1/3 if wrong

Report a problem with Q27

What is wrong?
Let the minimum, maximum, mean and standard deviation values for the attribute income of data scientists be ₹46000, ₹170000, ₹96000, and ₹21000, respectively.
The z-score normalized income value of ₹106000 is closest to which ONE of the following options?
Show answer without attempting

Loading the answer…

Q31

GATE DA 2024 DARelational Query LanguagesNAT1 mark

Report a problem with Q31

What is wrong?
Consider the following two tables named Raider and Team in a relational database maintained by a Kabaddi league. The attribute ID in table Team references the primary key of the Raider table, ID.

Raider
IDNameRaidsRaidPoints
1Arjun200250
2Ankush190219
3Sunil150200
4Reza150190
5Pratham175220
6Gopal193215
Team
CityIDBidPoints
Jaipur2200
Patna3195
Hyderabad5175
Jaipur1250
Patna4200
Jaipur6200
The SQL query described below is executed on this database:
SELECT *
FROM Raider, Team
WHERE Raider.ID=Team.ID AND City=“Jaipur” AND
RaidPoints > 200;
The number of rows returned by this query is ______.
Show answer without attempting

Loading the answer…

Q46

GATE DA 2024 DADatabase DesignMSQ2 marks

Report a problem with Q46

What is wrong?
Given the relational schema R=(U,V,W,X,Y,Z)R = (U, V, W, X, Y, Z) and the set of functional dependencies:
{U→V,U→W,WX→Y,WX→Z,V→X}\{U \rightarrow V, U \rightarrow W, WX \rightarrow Y, WX \rightarrow Z, V \rightarrow X\}

Which of the following functional dependencies can be derived from the above set?
More than one option can be correct.
Show answer without attempting

Loading the answer…

Q55

GATE DA 2024 DAFile Organization and IndexingMSQ2 marks

Report a problem with Q55

What is wrong?
An OTT company is maintaining a large disk-based relational database of different movies with the following schema:

Movie(ID‾\underline{\text{ID}}, CustomerRating)
Genre(ID‾\underline{\text{ID}}, Name)
Movie_Genre(MovieID‾\underline{\text{MovieID}}, GenreID‾\underline{\text{GenreID}})

Consider the following SQL query on the relation database above:
SELECT *
FROM Movie, Genre, Movie_Genre
WHERE
    Movie.CustomerRating > 3.4 AND
    Genre.Name = “Comedy” AND
    Movie_Genre.MovieID = Movie.ID AND
    Movie_Genre.GenreID = Genre.ID;
This SQL query can be sped up using which of the following indexing options?
More than one option can be correct.
Show answer without attempting

Loading the answer…

0/50 correct0 marks

Related topics in GATE DA