jagomart
digital resources
picture1_Evolution Of Programming Languages Pdf 191402 | Cs Ch09 Programming Languages


 129x       Filetype PDF       File size 0.77 MB       Source: www.nhu.edu.tw


File: Evolution Of Programming Languages Pdf 191402 | Cs Ch09 Programming Languages
9 9 programming programming languages languages 9 1 source foundations of computer science cengage learning objectives objectives after studying this chapter students should be able to after studying this chapter ...

icon picture PDF Filetype PDF | Posted on 04 Feb 2023 | 2 years ago
Partial capture of text on file.
                                                              9
                                                               9
                                                              Programming
                                                               Programming
                                                              Languages
                                                               Languages
                                            9.1    Source: Foundations of Computer Science © Cengage Learning
                                              Objectives
                                              Objectives
                                              After studying this chapter, students should be able to:
                                              After studying this chapter, students should be able to:
                                              ‰Describe the evolution of programming languages from machine
                                                  language to high-level languages.
                                              ‰Understand how a program in a high-level language is translated
                                                  into machine language.
                                              ‰Distinguish between four computer language paradigms.
                                              ‰Understand the procedural paradigm and the interaction
                                                  between a program unit and data items in the paradigm.
                                              ‰Understand the object-oriented paradigm and the interaction
                                                  between a program unit and objects in this paradigm.
                                              ‰Define functional paradigm and understand its applications.
                                              ‰Define a declaration paradigm and understand its applications.
                                              ‰Define common concepts in procedural and object-oriented
                                                  languages.
                                            9.2
                                                                                                                                                                                                                1
                       9-1   EVOLUTION
                        9-1   EVOLUTION
                       To write a program for a computer, we must use a 
                       To write a program for a computer, we must use a 
                       computer language. A computer language is a set of 
                       computer language. A computer language is a set of 
                       predefined words that are combined into a program 
                       predefined words that are combined into a program 
                       according to predefined rules (syntax). Over the years, 
                       according to predefined rules (syntax). Over the years, 
                       computer languages have evolved from machine 
                       computer languages have evolved from machine 
                       language to high-level languages.
                       language to high-level languages.
                      9.3
                      Machine languages
                      In the earliest days of computers, the only programming 
                      languages available were machine languages.  Each 
                      computer had its own machine language,  which was 
                      made of streams of 0s and 1s. In Chapter 5 we showed that 
                      in a primitive hypothetical computer, we need to use eleven 
                      lines of code to read two integers, add them and print the 
                      result. These lines of code, when written in machine 
                      language, make eleven lines of binary code, each of 16 bits, 
                      as shown in Table 9.1.
                         The only language understood by a computer is 
                         machine language.
                      9.4
                                                                                                       2
                      9.5
                      Assembly languages
                      The next evolution in programming came with the idea of 
                      replacing binary code for instruction and addresses with 
                      symbols or mnemonics. Because they used symbols, these 
                      languages were first known as symbolic languages. The set 
                      of these mnemonic languages were later referred to as 
                      assembly languages. The assembly language for our 
                      hypothetical computer to replace the machine language in 
                      Table 9.2 is shown in Program 9.1.
                         The only language understood by a computer is 
                         machine language.
                      9.6
                                                                                                      3
                     9.7
                     9.8
                                                                                                  4
The words contained in this file might help you see if this file matches what you are looking for:

...Programming languages source foundations of computer science cengage learning objectives after studying this chapter students should be able to describe the evolution from machine language high level understand how a program in is translated into distinguish between four paradigms procedural paradigm and interaction unit data items object oriented objects define functional its applications declaration common concepts write for we must use set predefined words that are combined according rules syntax over years have evolved earliest days computers only available were each had own which was made streams s showed primitive hypothetical need eleven lines code read two integers add them print result these when written make binary bits as shown table understood by assembly next came with idea replacing instruction addresses symbols or mnemonics because they used first known symbolic mnemonic later referred our replace...

no reviews yet
Please Login to review.