UA-47897071-1
Showing posts with label program. Show all posts
Showing posts with label program. Show all posts

Friday 31 January 2014

What is programming?

Watch the video  and put the words into the gaps in the text


So what exactly is (1)___? Well, you may have heard a phrase like this before: “A computer program is a (2)____ of (3)____”. Here is the problem. This sounds like one of those phrases that might be technically true and is kind of useless, like the human brain is 80% water. Because you hear this phrase but then you see a complex program like Photoshop or Flash or something playing (4)_____ video or a 3D game and you think, “Yeah but that can't just be a set of instructions”. But that's exactly what these are, all of them.
Every computer program is a series of instructions, a (5)____ of separate small commands, one after the other. Now there maybe five instructions contained in a program, maybe 5,000, maybe 5 million. Each (6)____ is telling the computer to do something very small, but very specific and the art of programming is to take a larger idea and break it (7)____ into these individual steps. And the wonderful thing is everyone can already do this. Let's imagine that you're sitting in your house in the suburbs waiting for a visit from a friend.
Your phone rings, it's her, and she's asking for (8)___. She tells you she's at a nearby gas station and you know it. You pass it every day; it's on your way home. So that journey point A to point B drops into your head as one piece, but you instantly know you can't (9)___ the journey the way you understand it. You have to break it down into simpler parts and you have to think about it to break it down because it's so (10)____ to you. So you start to (11)____ this apart and “You say you are going to need to turn right, then drive one mile, then you will turn left on Acacia Avenue, then you'll take the second right and then it's the fourth house on the left”. Specific, individual, simple, clear, (12)____ instructions.
Now you know that (13)____ here is vitally important. You mix these up, you will get very different results. “Turn right, drive 1 mile” takes you to quite a different place from “drive 1 mile, turn right”. But this same level of simple instructions, turn right, turn left, go straight, could take you around the (14)___ or it could take you on a five-year trip around the world visiting every Starbucks along the way. You'd still have instructions like turn right and left.


set
instructions
high-definition
programming






apart
sequence
instruction




communicate

pull
self-contained
directions
natural





corner
sequence



You'd just need a lot more of them. So with programming we are giving (15)___ to the computer. It's breaking apart a more complex idea, a more (16)___ task, into its smallest individual instructions and then using a programming language to write those instructions. Now, of course if you have never programmed, it's not clear right now what those instructions might be. You know it's probably not turn right and turn left. So what are those basic fundamental instruction you give a computer? Well, they are often very basic. They are things like (17)___ two numbers together, or display a letter on the (18)___, check to see if the user just hit the (19)____, change the color of one individual (20)____. But as with driving directions, you string together enough computer instructions that will get you very far indeed.
So when it might seem difficult to see how you get from (21)___ examples you see when beginning programming to complex games or applications, well that's what you get when you have a hundred people writing these instructions for sixty hours a week for several years, combined with the (22)___ of the computer to process them (23)___ fast, means that we could, if we wanted to, write the set of instructions that could (24)____ every single individual pixel on the screen thirty times a second.
Now think about that level of speed and think about why your instructions better be right. Because getting them wrong is like giving (25)___ directions to your friend when her car only has two speeds: 0 and 5000 miles an hour. You get those directions wrong, and the next call you get is her asking why she (26)___ your instructions to the letter, but her car is now in the middle of a forest crashed into a tree. Computers will do exactly what you tell them, so the instructions you give them better make (27)___.
In programming languages we write these instructions by writing what are called (28)____. Statements in programming languages are kind of like sentences in English. They use words, numbers, and (29)____ to express one thought, one individual piece. Most programming statements are pretty short, just a few words. Now, exactly what words, numbers, and punctuation you use depends on the (30)____ language. Some languages want each of your statements to end with a (31)___, like ending a sentence in English with a period, and others don't. You just go to the next line and start writing the next statement. Some languages are all (32)___, some languages are all lowercase, some languages just don't (33)___. Now, understanding the rules of each language is understanding the syntax of a programming language. So programming is the ability to take this idea in your head, break it apart into its individual pieces, and know how to write those pieces in the programming language you are using at the time, writing your statements in the right order, using the right syntax. But what language? Well, sometimes you get to pick a language and sometimes it's kind of picked for you.

add


screen

directions


spacebar
pixel
complex





ability
calculate
basic
mind-bogglingly



sense
wrong
followed




semicolon

care
punctuation
programming
uppercase
statements
1 Vocabulary focus. Sudy the words and  word combinations, practise their translation, spelling. Check your knowledge in the test. Play vocabulary game and set your own vocabulary game record.

2 Answer the Questions
What is a computer program?
What is given in instructions? Why are they important?
What are statements and programming languages?
How can we understand the role of each language? Why is such understanding important?

3 Mark the following statements as True or False

Every computer program is a series of instructions and separate small commands.
Programming is giving instructions to the computer.
Computers closely follow instructions and do exactly what you tell them.
Statements in programming are like sentences in Russian.
Most programming statements consist of many words.
When we give directions to the computer it breaks them up like breaking more complex idea or a more complex task into the smallest individual instructions.
Computer program is a set of applications.
All languages want each of the statements to end with a comma.
Understanding a programming language is understanding its syntax.
Statements in programming languages use words, numbers, and punctuation to express one thought in one case

Thursday 30 January 2014

Introduction to C language



Watch the video and put the words into the gaps in the text

     Welcome to these series of videos that will show you how to program in C. The C language is one of the oldest (1)_____ which, with its great power, ability to manipulate (2)____ in (3)_____, and basic constructs for (4)_____ is used by programmers around the world and at different (5)____ of experience. In this video particularly, we will address a general view of the C language and its (6)_____ and purpose in the modern world of computers and engineering. The C language is currently used significantly to program (7)____ systems, cell phones, medical devices, PCs, etc. Graphic (8)____ Interfaces for utility software 3D graphics, game engines, Artificial (9)____ also known as AI for search engines, (10)____ and drivers for electronic devices, other programming and (11)____ languages, code optimization, operating (12)____ for electronic devices containing processors within: vehicles, appliances, printers, photocopy machines, etc.
      All technologies are based on previous technologies. The C language is one of those technologies that does not (13)___ since it is sufficiently abstract to be understood in an (14)___ and conceptually general way without needing the knowledge of electronics of the specific features of  their (15)___ also known as (16)___ for machine instructions of a given (17)___. It also avoids high-level concept constructs inherent in its syntax, such as: classes, (18)____, (19)___ and data structures.
         In C you can build the aforementioned concepts that are not included in the (20)___ of the language. Usage of the C language is important, so much so that even language (21)____ of higher abstraction level such as: (22)____, Lisp, Java and C++ can be programmed in C. If you use the GNU Linux operating system you know that to install several utility packages they must be compiled as C (23) ____ code files.
bits
systems
levels
user
operating
intelligence
firmware
application
scripting
programming languages
functional programming
hardware


instances
opcodes
intangible
mnemonics
expire
chip
instances
generic algorithms
compilers
source
syntax
Python

 
1 Vocabulary focus. Sudy the words and word combinations, practise their translation, spelling. Check your knowledge in the test. Play vocabulary game and set your own vocabulary game record.
2 Answer the Questions
1.     What is one of the oldest programming languages?
2.     Where is C language currently used?
3.     What is the great ability of C language?
4.     What programming languages are mentioned in this video? How are they connected to C?
5.     What concepts are you can build in C programming language?

3 Mark the following statements as True or False

1.     The C++ language is one of the oldest programming languages.
2.     The C language is currently used significantly to program GNU, mobile phones, printers, etc.
3.     The C language is no longer used by programmers around the world.
4.     The C language is not used for utility software and 3D graphics.
5.     All C technologies are based on previous technologies.
6.     The C language is one of those technologies that will expire soon
7.     In C you can build classes, generic algorithms, data structures, matrixes that are included in the syntax of the language
8.     The C language is very important for GNU Linux.
9.      Python, Lisp, Java and C++ can be programmed in C.
10.  Utility packages must be compiled as C source code files when you install them to Linux.




Tuesday 21 January 2014

Overview of Sustainable Tourism




Watch the video  and put the words into the gaps in the text


      I’m Laura from Tourism Auckland. I work in (1)_______ team developing internal capability for Tourism Auckland and also working with the industry in developing their sustainability initiatives. Sustainable tourism is meeting the needs of present tourists and communities. It’s for teaching and enhancing the needs of the future at things like efficient use of (2)_____, also looking at how we can have a robust economic business model. So you’ve got a business here aimed at the future and also looking at getting engaged with local community in (3)______ initiatives. Sustainable tourism is important to New Zealand industry because it’s built on 100% pure promise and is worth $ 20 billion.
      We need to meet expectations of our international visitors. Visitors come to New Zealand for two main reasons: for culture and for and (4)_____. It’s important that we maintain our competitive inch. In Tourism Auckland we’re trying to build capability around sustainability. In our tourism industry we do this by running the STAR program: Sustainable Tourism Advisors in Regions. It’s a nationally run program, there are nine advisors across the country working with businesses in all areas of tourism. How the program works is that a business signs up, an initial (5)______ is made and then a site assessment is done to look at the operations of the business. Once all the information’s gathered, they’re provided with a comprehensive report on practical action about how they can develop their own sustainability and capability. They cover things like energy (6)_____, resource use, looking at getting involved with local community in (7)______ efforts. It’s a great program, it takes quite a (8) ______ view to sustainable practice. The STAR program is used as an (9)______tool. It helps educate management and also stakeholders of businesses.

resources

sustainability

conservation

educational

landscape

holistic

assessment

efficiency

conservation

In turn, they then (10)_____ staff, which has ripple effect throughout the community. They also have expectations on the (11)______ and that helps develop capability among small businesses.
Sustainability tends to start the vision in a plan when you look at key aspects such as water, (12)_____and energy. Efficiency of these resources needs to be measured and margined. Waste is a huge concern in an Auckland region. We produce every month rugby fields with (13)______ up to a ten stories high building. We really need to work on diverting our waste from landfill. Practical action businesses can take is by things like waste audit: looking at what waste is being produced and looking for divert waste from (14)______. This is by providing efficient (15)_______ system looking at your organic strain and whether you can put compost or perhaps a (16)_____ farming place.
 Small things such as double-sided printing and encouraging staff to use (17)_____ coffee containers and perhaps refilling their water bottles as opposed to buying whole new bottles. This is well exampled by Langham Hotel they are pretty much a leader in this space with their recycling systems. They are now trialing diverting (18)______ from their waste (19)_____ and they’ve also bought a polystyrene converter, which is the amazing machine diverting polystyrene from landfill.
      The exciting thing about energy efficiency is that you are able to perceive it at any time. We start to work hard though with (20)______ efficiency across all business practices. Things such as energy efficient bulbs,  having a (21)_____ policy when you turn off lights, computer screens, and appliances, also small things like procuring items locally. We need to consider (22)_____ training making sure that we’ve got the economical drivers, and then when we’ve got vehicles idling they’re switched off after 30 seconds.
suppliers



educate



worm



landfill



recycling



waste



rubbish





organics



stream



reusable





switch-off



driver



energy



I’ve got a good example of energy (23)____as Explore NZ in the Auckland region. Explore NZ is a good example with using biofuels for the fleet of boats. And they also have a (24)____ approach to all the other energy efficiency practices.
Given one of the main reasons visitors come to New Zealand is because of our (25)_____, it is important that we protect this natural asset. There are many active groups in the Auckland region looking at conservation and community work.  One of those for example is the Kaipatiki Project over on the north shore.  The Kaipatiki Project works on (26)_____ education and restoration. Another example is Project Twin Streams over in Waitakere city looking at water quality and replanting of stream areas. Auckland Transition Towns is also very active; it has many community and environmental based internships such as encouraging (27)______ , looking at how businesses can get involved in community gardens also looking at minimizing (28)______.
      Sustainable (29)______ is also an important concept both in construction and in business design. In construction space maximizing the use of (30)_____ resources, such as timber, and making sure that it is solidified. Also when you’re making new builds having things such as double glazing and insulation fitted is also very important. Business design on the other hand can include things such as efficient tour roads, visiting places that have low or minimal impact on the (31)______.
holistic



efficiency



environmental



biking



landscape



waste



environment



renewable



design











1 Translate  words and word combinations  from English into  Ukrainian and use them in your own sentences
Internal capability; sustainability; to enhance; competitive inch; comprehensive; stakeholder; conservation; holistic; assessment; waste; landfill; to divert; polystyrene; to procure; supplier; natural asset; timber; double glazing.

2 Comprehension questions
1.     What is the purpose of sustainability initiatives?
2.     How does STAR program work?
3.     What is waste audit?
4.     How can managers improve sustainability in their companies and small businesses?
5.     What is energy efficiency?
6.     How is energy efficiency connected with driving?
7.     What is New Zealand’s main natural asset?
8.     What can environmental groups do to develop sustainability?
9.     What renewable resources should be used in construction?
10. How can tourism be sustainable?

3 Say if the following statements are true according to the text.

1.     Sustainability does not help create a robust business model.

2.     Tourists come to New Zealand to see beautiful nature.

3.     Waste is a big problem for Auckland region.

4.     There is no method of recycling waste.

5.     Energy efficiency works in all business practices.

6.     Some companies have switch-off policy, that is switching off coffee machines when nobody needs them.

7.     Using biofuels is an example of energy efficiency.

8.     Active environmental groups focus on education and restoration.

9.     Construction and business design should be connected with energy efficiency.

10.  Sustainability is impossible in new builds.