0% found this document useful (0 votes)
130 views2 pages

Advanced Database Systems-Csc315

The document describes a midterm examination for an Advanced Database Systems course, providing instructions for students to write their name, answer multiple choice and short answer questions about database concepts, and sign the document; it notes the exam contains 1 section with 11 total questions worth 100 points and advises students to read questions carefully and check answers before finishing.

Uploaded by

Papou Chou
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
130 views2 pages

Advanced Database Systems-Csc315

The document describes a midterm examination for an Advanced Database Systems course, providing instructions for students to write their name, answer multiple choice and short answer questions about database concepts, and sign the document; it notes the exam contains 1 section with 11 total questions worth 100 points and advises students to read questions carefully and check answers before finishing.

Uploaded by

Papou Chou
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

MIDTERM EXAMINATION

STUDENT: ____________________ REG.NO. : _____________

SEMESTER: FALL 2020 TEACHER: Kyriakos Poyias

ADVANCED DATABASE SYSTEMS


CSC 315

Thursday 24th of November 2020 / 18:15

Duration of Examination: 2 teaching hours

Question
Instructions MARK
No.
 Write your name and registration number in the spaces above accordingly.
 Check examination details in the box above to make sure that
you have the correct paper.
 Answer the questions as specified in the paper.
 Answer the questions on the lined sheets of paper or in the space provided,
stating clearly Section and Question number.
 Number all the sheets of lined paper you will hand in.
 Student ID card should be kept on the desk during the examination.
 Use only black or blue ink or ball-point pen for your answers.
 YOU MAY USE A CALCULATOR.
 YOU MAY USE A DICTIONARY.

Information
 The paper has 1 section and 11 question in total.
 The total score for this paper is 100.
 Marks for each question are stated in the instructions,
this will help you manage the available time more efficiently.

Advice
 Read each question carefully before you begin to answer it.
 Try to leave some time at the end to check your answers.
 Scholastic dishonesty is interpreted as cheating in an examination.
Cheating will not be condoned under any circumstances.
 Giving or receiving information, copying, using unauthorized materials,
collaborating during examination will result to cancellation of the examination
paper or whole course, even dismissal from the College.

TOTAL

LECTURER’S SIGNATURE _______________________


Twitter Case Study:
Consider Twitter as an example. Two of Twitter’s main operations are:

A. Post tweet - A user can publish a new message to their followers. (4.6k requests/sec on average,
over 12k requests/sec at peak).
B. Home timeline - A user can view tweets posted by the people they follow (300k requests/sec).

Each user follows many people, and each user is followed by many people. There are broadly two ways of
implementing these two operations:
1) Using a relational database.
2) Using noSql methods with denormalization techniques

Question 1. (50 points)


a. Design the twitter case study above using a relational Database
b. Design the twitter case study above using noSql Concepts discussed in the lectures

Question 2. (20 points)


What advantages does the relational database approach offer in comparison to the denormalised
NoSql counterpart

Question 3. (15 points)


What problem does the NoSql denormalised approach solve that relational approach cannot?

Question 4. (15 points)


Which approach would you use if you were the Solutions Architect of Twitter and why?

You might also like