100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Arresten

Database_System_I_Final (1).pdf

Beoordeling
-
Verkocht
-
Pagina's
5
Geüpload op
29-10-2023
Geschreven in
2023/2024

Database_System_I_Final (1).pdf

Instelling
Vak









Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Gekoppeld boek

Geschreven voor

Vak

Documentinformatie

Geüpload op
29 oktober 2023
Aantal pagina's
5
Geschreven in
2023/2024
Type
Arresten

Onderwerpen

Voorbeeld van de inhoud

TERTIARY AND VOCATIONAL EDUCATION COMMISSION

COMMON WRITTEN EXAMINATION – 2020/ 2021
All rights reserved.
Diploma in Information & Communication Technology

NVQ Level 05 –Semester I



Database Systems I – Theory K72T001M01 Three Hours


Answer only 05 questions including Question 01 and 02



Question 01

Construct an ER diagram to model a database for the given information.
Suppose that you are designing a schema to record information about reality shows
on TV. Your database needs to record the following information:
 For each reality show, its name, genre, basic_info and participants name. Any
reality show has at least two or more participants.
 For each producer, the company name, company country. A show is produced
by exactly one producer. One producer produces exactly one show.
 For each television, its name, start year, head office. A television may
broadcasts multiple shows. Each show is broadcasted by exactly one television.
 For each user, his/her username, password, and age. A user may rate multiple
shows and a show may be rated by multiple users. Each rating has a score of 0
to 10.
(Marks 20)
Question 02

The following tables form part of a database held in a relational DBMS.

Hotel (hotelNo, hotelName, city)
Room (roomNo, hotelNo, type, price)
Booking (hotelNo, guestNo, dateFrom, dateTo, roomNo)
Guest (guestNo, guestName, guestAddress)


Hotel contains hotel details and hotelNo is the primary key. Room contains room details for
each hotel and (roomNo, hotelNo) forms the primary key. Booking contains details of the


Page 1 of 5

, TERTIARY AND VOCATIONAL EDUCATION COMMISSION

COMMON WRITTEN EXAMINATION – 2020/ 2021

bookings and (hotelNo, guestNo, dateFrom) forms the primary key and Guest
contains guest details and guestNo is the primary key.

Write the following queries in SQL using above relations:

1.) Find hotel name and city of all hotels. (Marks 02)

2.) Find the names and addresses of all guests who are living in London, alphabetically ordered
by name. (Marks 06)

3.) Find all double or family rooms (type = „D‟ or „F‟) with a price below Rs 25000.00 per
night, in ascending order of price. (Marks 07)


4.) Find the bookings for which no „dateTo‟ has been specified. (Marks 05)


Question 03

1.) List two data manipulation (DML) commands in SQL. (Marks 02)
2.) Discuss two characteristics of DBMS. (Marks 06)
3.) Compare two differences between File system and DBMS. (Marks 06)

4.) Give a brief note on the term data independence in the context of relational databases.
(Marks 06)


Question 04

1.) Illustrate three schema architecture in brief. (Marks 06)
2.) Normalization is a process within logical design. What is the general goal of normalization?
(Marks 04)
3.)
Product ID Colour Price

1 red, green 15.99

2 yellow 23.99

3 green 17.5

4 yellow, blue 9.99

5 red 29.99

Product_Table

Page 2 of 5

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Studyabroad Oxford University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
67
Lid sinds
4 jaar
Aantal volgers
29
Documenten
1985
Laatst verkocht
1 maand geleden
schoooldays

shop affordably

5,0

2 beoordelingen

5
2
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen