Computer Science. The English Language Perspective - Беликова (1176925), страница 10
Текст из файла (страница 10)
BASIC is a very limitedlanguage and was designed for non-computer science people.Statements are chiefly run sequentially, but program controlcan change based on IF..THEN, and GOSUB statements whichexecute a certain block of code and then return to the originalpoint in the program’s flow.Microsoft has extended BASIC in its Visual Basic (VB) product.The heart of VB is the form, or blank window on which youdrag and drop components such as menus, pictures, and sliderbars. These items are known as “widgets.” Widgets haveproperties (such as its color) and events (such as clicks anddouble-clicks) and are central to building any user interfacetoday in any language. VB is most often used today to createquick and simple interfaces to other Microsoft products such asExcel and Access without needing a lot of code, though it ispossible to create full applications with it.PerlPerl has often been described as the “duct tape of the Internet,”because it is most often used as the engine for a Web interfaceor in scripts that modify configuration files.
It has very strongtext matching functions which make it ideal for these tasks. Perlwas developed by Larry Wall in 1987 because the UNIX sed58and awk tools (used for text manipulation) were no longerstrong enough to support his needs. Depending on whom youask, Perl stands for Practical Extraction and ReportingLanguage or Pathologically Eclectic Rubbish Lister.Programming languages have been under development foryears and will remain so for many years to come. They got theirstart with a list of steps to wire a computer to perform a task.These steps eventually found their way into software and beganto acquire newer and better features. The first major languageswere characterized by the simple fact that they were intendedfor one purpose and one purpose only, while the languages oftoday are differentiated by the way they are programmed in, asthey can be used for almost any purpose.
And perhaps thelanguages of tomorrow will be more natural with the inventionof quantum and biological computers.Notes:Sed – потоковый редакторAwk – язык обработки шаблоновCharles Babbage (1791 — 1871) – английский математик,изобретатель первой аналитической вычислительноймашиныENIAC – первый электронный цифровой компьютерJohn von Neumann (1903 – 1957) – венгеро-американскийматематик, с его именем связывают архитектурубольшинства современных компьютеровArtificial Intelligence – искусственный интеллектUNIXсемействопереносимых,многозадачных,многопользовательских операционных системWidget – примитив графического интерфейса пользователяAssignments1.
Translate the sentences from the text into Russian inwriting paying attention to the underlined words andphrases:591. Computer languages were first composed of a series ofsteps to wire a particular program; these morphed into aseries of steps keyed into the computer and thenexecuted; later these languages acquired advancedfeatures such as logical branching and object orientation.2. ...It followed many of the same principles of Babbage’sengine and hence, could only be “programmed” bypresetting switches and rewiring the entire system foreach new “program” or calculation.3. The second concept was also extremely important to thedevelopment of programming languages. VonNeumann called it “conditional control transfer”.4. The second part of the idea stated that computer codeshould be able to branch based on logical statementssuch as IF (expression) THEN, and looped such as witha FOR statement.5.
FORTRAN also had subroutines (a form of procedureor function), arrays, formatted input and output, anddeclarations that gave programmers explicit controlover the placement of variables and arrays in memory.6. Programmers wrote code in parse trees, which areusually a compiler-generated intermediary betweenhigher syntax (such as in C or Java) and lower-levelcode.7. Java may wind up as the instructional language oftomorrow as it is truly object-oriented and implementsadvanced techniques such as true portability of codeand garbage collection.2. Answer the following questions:1.
What were programming languages devised for?2. Which two concepts devised by von Neumann affectedthe development of programming languages?3. What made FORTRAN so useful for scientificapplications?604. What features of COBOL made it easier for business toadopt it?5. Is Pascal good for teaching purposes?6. What are the advantages and disadvantages of the Clanguage?7. Why does the number of new programming languagestend to increase?3. Translate into English:Эволюция языков программированияЯзыки программирования претерпели большиеизменения с тех пор, как в 40-х годах XX века началось ихиспользование. Первые языки программирования былиочень примитивными и мало чем отличались отформализованных упорядочений двоичных чисел (единици нулей), понятных компьютеру. Их называют языкамипрограммирования низкого уровня.
Использование такихязыков было крайне неудобно с точки зренияпрограммиста, так как он должен был знать числовые кодывсех машинных команд и собственноручно распределятьпамять под команды программы и данные. Чтобыупростить общение человека с компьютером, былиразработаны языки программирования типа Ассемблер, вкоторых переменные величины стали изображатьсясимволическими именами, а числовые коды операцийбылизамененынамнемонические(словесные)обозначения,которыелегчезапомнить.Языкпрограммирования приблизился к человеческому языку, ноудалился от языка машинных команд.В 50-х годах XX века в связи с широким применениемкомпьютеров в различных областях науки и техникивозникла серьезная проблема: простые пользователи немогли работать с компьютером из-за сложности языковпрограммирования, а профессиональные программистыбыли не в состоянии обслужить огромное количество61пользователей.
Решением данной проблемы явилосьсоздание языков программирования высокого уровня,Важным преимуществом языков программированиявысокого уровня является машинная независимость. Кнедостаткам программ, написанных на языках высокогоуровня, относятся большой объем занимаемой памяти иболее медленное выполнение, чем у программ намашинных языках или языках Ассемблера. Первымипопулярными языками высокого уровня, появившимися в50-х годах XX века, были FORTRAN, COBOL и Algol.В 1971 году профессор Н. Вирт разработал новый язык,получивший название Pascal (в честь математика XVII векаБлеза Паскаля).
Язык Pascal основан на Алголе и создавалсякак учебный язык, в нем строго соблюдена структурнаялиния программирования. В силу своих достоинств Pascalпослужил источником для создания многих современныхязыков программирования, таких как Ada, С и Modula-2.Язык С первоначально был разработан длякомпьютеров, использующих операционную системуUNIX.
Он является относительно простым языком, в немнет операций над символьными строками и списками, но, вотличие от Pascal, в нем заложены возможностинепосредственного обращения к некоторым машиннымкомандам, к определенным участкам памяти компьютера.Язык С широко используется как инструментальный языкдля разработки операционных систем, трансляторов, базданных, а также других системных и прикладныхпрограмм.4. Give the summary of the text using the key terms.62GENERATIONS OF LANGUAGESRead the following words and word combinations and usethem for understanding and translation of the text:generation – поколениеto be referred to as ...- называтьсяneural networks – нейронные сетиlow-level language – язык низкого уровняhigh-level language – язык высокого уровняto execute – выполнятьadvantage – преимуществоdisadvantage - недостатокsource code – исходный кодloop – циклhuman-readable – понятный человекуto convert into - преобразовыватьThere are currently five generations of computer programminglanguages.
In each generation, the languages syntax has becomeeasier to understand and more human-readable. Languages of the First Generation (1GL). These languagesrepresent the earliest form of computer languages,consisting entirely of 0s and 1s. This is the representation ofthe language the computers actually understand (machinelanguage). Languages of the Second Generation (2GL). This languageimprovement provided a way for programmers toincorporate symbolic names into the language in additionto the numbers.