Module 3 - Unit 2
Module 3 - Unit 2
Unit 2: Databases
1. Reading
Pre-reading:
What information do you think a photo can reveal?
Computer scientists from Google and the University of Washington have developed a method for
stitching together photos that yields stunning time-lapse sequences of sites from around the world.
The researchers, who will present the work at the 2021 SIGGRAPH meeting in August, mined some 86
million photos uploaded to the Google sites Picasa and Panoramio and sorted them using geo-
location tags and timestamps. The team then aligned the photos and used various algorithms to warp
the images to a common viewpoint and smooth over variations in appearance (including removing
your cousin or Fred from the shot).
The constructed videos allow the viewer to witness the growth of the Goldman Sachs Tower in
Manhattan, the shrinking of the Briksdalsbreen Glacier in Norway and even the slight shift in the
position of Wall Street’s charging bull.
The effort is computationally taxing; it takes several hours to compile, align and clean up the photos.
But using this passively collected data takes far less time than setting up a camera in a potentially
remote location and then waiting, waiting, and waiting for the data to accumulate. If people were
encouraged to send pics of far- flung places to a particular server, the approach could help track
changes in remote, access-limited locations, the researchers propose.
Similarly, other scientists are using photo datasets to explore patterns in human behavior, research
that previously would take months or years of expensive surveys and field studies.
“We are living in a very interesting age”, says Stanislav Sobolevsky, a research scientist at MIT’s
SENSEable City Laboratory. “We can measure things using a single global dataset that would have
taken years to examine in the past.”
Sobolevsky should know; along with colleagues from MIT and the University of Calabria in Italy, he is
using photos uploaded to Flickr to examine how people experience cities. The researchers gathered
roughly 70 million photos taken between 2017 and 2020. Then, for a given photographer and a given
location, they looked at the duration of time over which the photos were taken to roughly determine
where the person who snapped the shots lived (resident, a domestic tourist or a foreign tourist).
Then the scientists ranked the top 10 most popular cities (San Francisco came out on top, Berlin in
10th place) and explored who was doing what where.
Despite cultural differences among photographers and variations in each city’s tourist attractions, the
findings, reported in the May EPJ Data Science, were surprisingly consistent. Maps generated from
69
Module 3: Big Data and Databases 2022-2023
the data revealed that photos taken by residents span a much wider area than those taken by
domestic tourists, who explore a wider area than foreign tourists. Tabulations of hot spots reveals
that sports venues (Yankee Stadium in New York and Olimpico Stadium in Rome) are, indeed,
popular. And between visits of famous architectural landmarks, tourists go to parks, many of which
are landmarks in their own right.
While the research is preliminary, it aligns well with other work by Sobolevsky and colleagues that
examined human travel patterns using Twitter and credit card transactions. Such research might be
used to help city planners make infrastructure decisions, such as where to put a new subway stop, or
inform an entrepreneur who wants to open a new restaurant, Sobolevsky told me.
For another look at where people are posing (and if you pride yourself on visiting out-of-the-way
places), check out Sightsmap, a heat map of photographed spots overlaid on Google Maps. Then
snap and upload those pics. If a scientist gets their hands on them, your photos may end up revealing
more than you think. (Source: https://www.sciencenews.org/blog/culture-beaker/your-photos-reveal-more-where-you-went-vacation)
6. Sobolevsky’s research…
a) is mainly focused on establishing the most popular cities.
b) did not take into account where the photographers are from.
c) has been used to show how people explore urban areas.
71
Module 3: Big Data and Databases 2022-2023
2. Grammar: Causatives
GRAMMAR: have something done
Use this form when an action is done for you by somebody else.
past simple
Claire had her hair cut last week.
present perfect
Claire has had her hair cut.
We had a new computer system installed. The technician had installed a new computer
system. (past perfect)
Are you having your car serviced this week? I haven't had the windows cleaned for ages.
In spoken or informal English, we can also use get + object + past participle.
I got my eyes checked last week because I've been having headaches.
We also use this form to talk about something that happens to us that we have no control over.
We often use the form for unexpected or unpleasant things that happen to us.
To our great surprise, we had our money refunded. He had his mobile phone stolen.
1. I discovered early on in this business that you have to look after the customer.
2. Sorry, we've had to move the date of printing.
3. So, we had the designs prepared by a design company.
4. Well I'm not sure you can have a role model for business.
5. Sorry, but we've had the wrong posters delivered.
6. Every Monday we have all our stuff collected by a delivery service.
72
Module 3: Big Data and Databases 2022-2023
3. Speaking: Podcasts
You are going to work in pairs. You have to choose a topic and then listen to the podcast about the
topic. After listening to the podcast, you should discuss the questions/issues below with your
partner and prepare a short presentation (in PowerPoint) to present to the class.
Multigenerational Holidays
https://www.womanandhome.com/travel/multigenerational-holidays-329689/
https://www.rickshawtravel.co.uk/blog/a-guide-to-multi-generational-holidays/
Elderly Loneliness
https://www.which.co.uk/later-life-care/home-care/loneliness/causes-of-loneliness-az2sz4h7d397
https://www.nhs.uk/mental-health/feelings-symptoms-behaviours/feelings-and-symptoms/
loneliness-in-older-people/
https://www.nhs.uk/mental-health/advice-for-life-situations-and-events/loneliness-in-the-elderly/
4. Speaking: Databases
a. The following buildings (supermarket, school, hospital, public library) hold databases.
In pairs, discuss what they are used for.
b. Can you think of any other places where databases are used?
74
Module 3: Big Data and Databases 2022-2023
Database development is just one part of the much wider field of software engineering, the process
of developing and maintaining software. A core aspect of software engineering is the (1)__________
of the development process into a series of phases, or steps, each of which (2)______________ on
one aspect of the development. The collection of these steps is sometimes referred to as a
development life cycle. The software product moves through this life cycle (sometimes
(3)______________ as it is refined or redeveloped) until it is finally retired from use. Ideally, each
phase in the life cycle can be checked for (4)______________ before moving on to the next phase.
Figure 1 illustrates a general waterfall model which could apply to any computer system
development. It shows the process as a strict sequence of steps where the (5)______________ of
one step is the input to the next and all of one step has to be completed before moving onto the
next. However, in reality, there is usually some degree of refinement and feedback as the product
proceeds through the development stages.
We can use Figure 1 as a means of identifying the tasks that are required. What is important is the
scope of the activities, which can be summarized as follows:
Establishing requirements involves consultation with, and agreement among, (6)_________
as to what they want of a system, expressed as a statement of requirements.
Analysis starts by considering the statement of (7)______________ and finishes by
producing a system specification. The specification is a formal representation of what a
system should do, expressed in terms that are independent of how it may be realized.
Design begins with a system specification and produces design documents, and (8)________
a detailed description of how a system should be constructed.
Implementation is the (9)______________ of a computer system according to a given
design document and taking account of the environment in which the system will be
operating (for example specific hardware or software (10)______________ for the
development). Implementation may be staged, usually with an initial system than can be
validated and tested before a final system is released for use.
75
Module 3: Big Data and Databases 2022-2023
76
Module 3: Big Data and Databases 2022-2023
What is the verb tense most commonly used in the text? Why is it used?
s05 c2 1 78
s05 c2 2 63
s09 c2 1 92
s09 c2 2 76
s22 c2 1 74
s22 c2 2 68
s02 c5 1 70
s02 c5 2 65
s38 c5 1 51
s57 c5 1 74
With the data in the table (assignment) above, write an SQL query for:
List the student_ids of all students whose marks are greater than 70.
77
Module 3: Big Data and Databases 2022-2023
7. Grammar
Verbs followed by `-ING' or `to'-infinitives
A>>Many verbs are followed by `-ing' forms and not `to'-infinitives. The most common of these verbs
are those of `saying', `thinking' and `feeling':
B>>Many verbs are followed by `to'-infinitives but not `-ing' forms. The most common of these verbs
are those of `saying' and `thinking':
C>>Some verbs are followed by an object and a `to'-infinitive clause. The object of the verb is the
subject of the `to'-infinitive clause.
D>>The following verbs can be followed by a `to'-infinitive clause or an `-ing' form, with little
difference in meaning.
attempt, begin, continue, dislike, hate, like, love, prefer, start, try
Example:
It started raining so they decided to stay at home.
It started to rain so they decided to stay at home.
E>>If you `are used to doing' something, you are accustomed to doing it. If you `used to do'
something, you did it regularly in the past, but you no longer do it now.
Example:
We are used to working together.
I used to live in this street.
78
Module 3: Big Data and Databases 2022-2023
(1) He promised..........................................................................................................
(2) I decided.................................................................................................................
(3) I advise....................................................................................................................
(4) He persuaded..........................................................................................................
(5) She ordered............................................................................................................
(6) She encouraged......................................................................................................
(7) She expected them................................................................................................
(8) I hope......................................................................................................................
(9) He offered..............................................................................................................
(10) She told................................................................................................................
ii) Complete the following sentences with either a `to'-infinitive or an `-ing' clause.
8. Vocabulary
Word Building (3): Synonyms
Synonymy is the relationship of sameness: the relationship between words such as fast, rapid,
quick. To say that two words are synonymous is to say that they have the same meaning. For
example,
These words can convey the same information (the same denotation) but different connotations.
`Get down' is less formal than `depress'. There is a tendency for the shorter Anglo-Saxon verbs (e.g.
pull out) to be less formal than the Latin words (e.g. extract). Synonyms (e.g. friend-mate; man-chap)
79
Module 3: Big Data and Databases 2022-2023
can not only express different degrees of formality; but also positive and negative evaluation: thin,
slim, skinny. `Thin' is neutral, `slim' is positive and `skinny' is negative. Similarly, the synonym of a
word may change depending on its context:
ii) Put the appropriate synonym in the spaces in the sentences below:
A. appropriate, correct, proper, right, suitable
(1) He realized that I was __________ and that he had been wrong.
(2) Lack of __________ company funding is making the project difficult to manage.
(3) He was not __________ for the job.
(4) Your answer to the question is __________ .
(5) The company thought it __________ to run a computer course for all staff.
(5) He is an __________ thinker and has come up with interesting ideas for new products.
9. Pronunciation
Diphthongs: Listen and Repeat
Practice (1)
Diphthongs are two vowel sounds which have been put together. Decide which diphthong is the
correct one in the table below (1, 2, 3 or 4):
1. / aɪ/ 2. / eɪ / 3. / ɔɪ/ 4. / aʊ /
a) Pay
b) Voice
c) Loud
d) Grey
e) Die
f) Noise
g) House
h) Wales
i) Try
j) Coin
k) High
l) Weigh
Practice (2)
Put the correct diphthong of these words between the backslashes (/ /):
1. aɪ 2. eɪ 3. ɔɪ 4. aʊ 5. əʊ 6. ʊə 7. eə 8. ɪə
a) bear = / / beer = / / bay = / /
b) toy = / / tie = / / toe = / /
c) roll = / / real = / / rail = / /
d) how = / / hair = / / high = / /
e) they = / / though = / / there = / /
f) I'll = / / oil = / / owl = / /
g) dear = / / day = / / die = / /
h) show = / / share = / / shy = / /
81
Module 3: Big Data and Databases 2022-2023
Learning objectives:
• to imagine a house which is integrated into the landscape (urban/rural) and is
ecofriendly
• to plan different elements of the house which are adapted to its local
environment/setting (climate, landscape, materials, energy needs, etc.) and is
respectful with the environment
• to use computers to maximize full automation of the house
• to prepare and give a short presentation
A Choose the location of your house (Madrid, Alicante, coastal & rural area in Galicia, rural
area in Teruel, tourist destination in Andalusia). Think what these places are like: climate,
geography etc.
Multiple Choice Cloze: For questions 1- 8, read the text below and decide which
answer (A, B, C or D) best fits each gap.
Silk
Silk is a natural protein fibre, some forms of (1) _____________ can be woven into textiles. The
protein fibre of silk is composed mainly of fibroin and is (2) ____________ by certain insect larvae to
form cocoons. The best-known silk is obtained from the cocoons of the larvae of the mulberry
silkworm Bombyx mori, which is reared in (3) ____________.
The shimmering appearance of silk is due to the triangular prism-like structure of the silk fibre, which
(4) _____________ silk cloth to refract incoming light at different angles, thus producing different
colours.
82
Module 3: Big Data and Databases 2022-2023
Silk is produced by several insects, but only the silk of moth caterpillars has been (5) _____________
for textile manufacturing, although there has been some research into (6) _____________ types of
silk.
Silk is mainly produced by the larvae of insects undergoing (7) _____________ metamorphosis, but
some insects such as web spinners and raspy crickets produce silk throughout (8) _____________
lives.
Open Cloze: For questions 1-8, read the text below and think of the word which fits each
gap. Use only one word in each gap.
The Crow
Crows are thought to (1) _____________ among our most intelligent birds, and the success of the
American Crow in adapting to civilization would seem to confirm (2) _____________. Despite past
attempts to exterminate them, crows, (3) _____________ are very common in farmlands, can also
be seen in towns, and even cities, and (4) _____________ distinctive 'caw' is a familiar sound over
much of the continent. Sociable, especially when not nesting, crows may gather in communal roosts
(5) _____________ winter nights, sometimes with thousands or even tens (6) _____________
thousands roosting in one grove. Most crows are adaptable but often shy where persecuted; (7)
_____________ towns, some become tame and may visit gardens. They all have strong, scaly feet,
and stout or downcurved bills, mostly with (8) small patch of bristly feathers covering the nostrils.
Word Formation: For questions 1- 8, read the text below. Use the word given in capitals at
the end of some of the lines to form a word that fits in the gap in the same line.
Rome
Rome is one of the most (1) _________ cities in the world. With ancient (1) VISIT
history dating back more than two and a half thousand years, (2) (2) CREDIBLE
________architecture, museums, culture, and cuisine, it isn't hard to see why (3) IMMENSE
this city is so (3) _______ popular with tourists from all over the world. It is
also quite a big city as it has the fourth biggest population in the European
Union, so many tourists find themselves returning again and again to see
what they weren't able to see the first time. While Roman (4) __________ (4) MYTH
claims the city was founded around 753 BC, the site has (5) _________ been (5) ACTUAL
inhabited by humans for much longer, making Rome one of the oldest (6) (6) CONTINUE
____________ occupied locations in Europe. It has been a kingdom, a
republic, an empire, and then a republic again. It even houses the tiny (7) (7) DEPEND
________ country state of the Vatican City within its walls, which only adds to (8) DIVERSE
its cultural importance and (8) _____________ .
83
Module 3: Big Data and Databases 2022-2023
Keyword Transformation: For questions 1-6, complete the second sentence so that it has a
similar meaning to the first sentence, using the word given. Do not change the word given.
You must use between two and five words, including the word given.
Transformation Exercise
(1) You should try and take advantage of his help.
MOST
You should try and _____________ help he gives you.
(6) I hadn't seen my sister for about a year, when I saw her last.
ABOUT
It is _____________ since I last saw my sister.
Reading Text 1
Physicist Steven Desch has come up with a novel solution to the problems that now beset the
Arctic. He and a team of colleagues from Arizona State University want to replenish the region's
shrinking sea ice by building 10 million wind-powered pumps over the Arctic ice cap. In winter, these
would be used to pump water to the surface of the ice where it would freeze, thickening the cap.
The pumps could add an extra metre of sea ice to the Arctic's current layer , Desch argues. The
current cap rarely exceeds 2-3 metres in thickness and is being eroded constantly as the planet
succumbs to climate change.Thicker ice would mean longer-lasting ice. In turn, that would mean the
danger of all sea ice disappearing from the Arctic in summer would be reduced significantly.
Hence Desch's scheme to use wind pumps to bring water which is insulated from the bitter Arctic
cold by its icy surface, where it will freeze and thicken the ice cap. Nor is the physicist alone in his
Arctic scheming. Other projects to halt sea-ice loss include one to artificially whiten the Arctic by
scattering light-coloured aerosol particles over it to reflect solar radiation back into space, and
another to spray sea water into the atmosphere above the region to create clouds that would also
reflect sunlight away from the surface.
Last November, when sea ice should have begun thickening and spreading over the Arctic as winter
set in, the region warmed up. Temperatures should have plummeted to -25C but reached several
84
Module 3: Big Data and Databases 2022-2023
degrees above freezing instead. It's been about 20C warmer than normal over most of the Arctic
Ocean, which is unprecedented.
In fact, sea ice growth stalled during the second week of January - in the heart of the Arctic winter -
while the ice cap actually retreated within the Kara and Barents seas, and within the Sea of Okhotsk.
Similarly, the Svalbard archipelago, normally shrouded in ice, has remained relatively free because
of the inflow of warm Atlantic water along the western part of the island chain. Although there has
been some recovery, sea ice remains well below all previous record lows.
What problem are the projects described at the end of the third paragraph hoping to solve?
A) Cleaning the ice that has been discoloured.
B) Increasing the amount of snow that falls on the ice.
C) Making the thickness of the ice uniform.
D) Preventing the sun from melting the ice.
What reason is given in the final paragraph for the fact that the sea ice is not getting thicker?
A) The winds from the north are too warm.
B) The ice cap is not thick enough.
C) Seismic activity under the ice had an effect.
D) Warm water currents affected the formation of the ice.
85
Module 3: Big Data and Databases 2022-2023
Reading Text 2
One of the most spectacular natural phenomena in the world is the annual migration across North
America of the Monarch butterfly.
(1) _____________
In practice, however, no individual butterfly completes the entire round trip. Female Monarchs lay
eggs for the next generation during the northward migration, and at least five generations are
involved in the annual cycle.
There are many different migration routes, both in the northern and southern hemispheres, but the
eastern population starts its journey in Canada and finishes in Mexico.
(2) _____________
Storms earlier this year blew down more than a hundred acres of forests where migrating Monarch
butterflies spend the winter in central Mexico. These storms also appear to have frozen or
killed about 7m of the estimated 84m butterflies that wintered there.
(3) _____________
This highlights just how fragile these forests are, and how fragile the Monarchs are.
(4) _____________
They depend on finding relatively well-preserved forests, where millions of the orange-and-black
butterflies hang in clumps from the branches, and mate. The trees, and the clumping, help to protect
the butterflies from cold rains and steep drops in temperature.
(5) _____________
Conservationists have tried to convince the largely impoverished farm and mountain communities,
which actually own most of the land, that the forest is worth more to them in terms of tourism when
left standing, instead of being cut down.
(6) _____________
The future looks bleak indeed for these intrepid and elegant travellers.
Sentences
A This was the first time such a combination of high winds, rain and freezing temperatures had
occurred in this area.
B The biggest danger to their habitat comes from illegal logging.
C Many of the butterflies are eaten by birds.
D They have had limited success in this endeavour.
E In theory, these small insects cover a round trip of over 15,000 km.
F These beautiful creatures travel enormous distances for one reason.
G This is where some extremely sad news comes from.
Reading Text 3
86
Module 3: Big Data and Databases 2022-2023
grown in at least 107 countries, primarily for their fruit, and to a lesser extent to make fibre, banana
wine and banana beer, and as ornamental plants. Bananas are an excellent source of vitamin B6 and
though many people think they have a very high potassium content, that is not the case.
87
Module 3: Big Data and Databases 2022-2023
You are going to listen to someone being interviewed for a job. First, you will discuss the
qualities that employers are looking for in future employees. In groups, rank the following
qualities in order of importance from 1-8 for obtaining a job:
Good Presentation ( )
Good Communication & Public Relations skills ( )
Ambitious, dynamic and enthusiastic ( )
Good qualifications ( )
Good organizational skills ( )
Computer literate ( )
Very experienced ( )
Self-motivated and able to work without supervision ( )
Listening (http://www.youtube.com/watch?v=9Ga3_cNYAPg)
You are going to hear 11 questions which are used in job interviews. Write
down the questions while you listen. Some questions are quite long.
1. ........................................................................................................................................
.
2. ........................................................................................................................................
.
3. ........................................................................................................................................
.
........................................................................................................................................
.
4. ........................................................................................................................................
.
5. ........................................................................................................................................
.
88
Module 3: Big Data and Databases 2022-2023
6. ........................................................................................................................................
.
7. ........................................................................................................................................
.
8. ........................................................................................................................................
.
9. ........................................................................................................................................
.
10. ........................................................................................................................................
.
........................................................................................................................................
.
11. ........................................................................................................................................
.
........................................................................................................................................
.
Post-listening task
This friendly company (degreed.com) is looking for a really exceptional ambitious database developer
with product development experience to join their very successful and dynamic, enthusiastic
technical team.
You are now going to roleplay a job interview. Student A will be the interviewer and Student B will be
the interviewee.
Student A (Interviewer)
You will ask 15 questions which you will prepare with your partner
Student B (Interviewee)
89
Module 3: Big Data and Databases 2022-2023
Role:
You will support a growing database through maintenance, upgrades, performance,
analysis, and improvements
Recommend and carry out sound database schema design
Implement stored procedures and work with relational and document databases
You will recommend and consult on solid reporting and data warehouse solutions
You will learn, grow professionally, contribute to an amazing team, and play a key
role in fuelling a massive change in learning and learning recognition
Benefits:
Salary 35.000€, paid vacations, health/life insurance and pension plan.
The company provides financial aid so that workers can continue their
education.
1. __________________________________________________________
2. __________________________________________________________
3. __________________________________________________________
4. __________________________________________________________
5. __________________________________________________________
6. __________________________________________________________
7. __________________________________________________________
8. __________________________________________________________
9. __________________________________________________________
10. __________________________________________________________
11. __________________________________________________________
12. __________________________________________________________
13. __________________________________________________________
14. __________________________________________________________
15. __________________________________________________________
90