jagomart
digital resources
picture1_Evolution Of Programming Languages Pdf 191478 | Lecture 1 An Overview  Of  Computers  And  Programming  Languages


 131x       Filetype PDF       File size 0.28 MB       Source: www.philadelphia.edu.jo


File: Evolution Of Programming Languages Pdf 191478 | Lecture 1 An Overview Of Computers And Programming Languages
programming language 630203 fall 2010 2011 lecture notes 1 an overview of computers and programming languages objectives of the lecture evolution of programming languages examine a c program discover what ...

icon picture PDF Filetype PDF | Posted on 04 Feb 2023 | 2 years ago
Partial capture of text on file.
                   Programming Language (630203) 
                   Fall 2010/2011 – Lecture Notes # 1 
                            
            An Overview of Computers and Programming Languages 
                            
                            
     Objectives of the Lecture 
         Evolution of programming languages. 
         Examine a C++ program. 
         Discover what a compiler is and what it does. 
         Explore how a C++ program is processed. 
          
      Evolution of programming languages 
          Machine language: Early computers were programmed in machine language:  
          Assembly language instructions are mnemonic. 
          o  Assembler: translates a program written in assembly language into machine language. 
          High-level languages include Basic, FORTRAN, COBOL, Pascal, C, C++, C#, and Java. 
          o  Compiler: translates a program written in a high-level language machine language  
       
      Processing a C++ Program 
          #include   
          using namespace std;  
          int main()  
          {  
              cout << "My first C++ program." << endl;  
             return 0;  
          }  
    Sample Run:  
    My first C++ program. 
     
     To execute a C++ program:  
          Use an editor to create a source program in C++. 
          Preprocessor directives begin with # and are processed by the preprocessor. 
          Use the compiler to:  
          o  Check that the program obeys the rules  
          o  Translate into machine language (object program) 
          Linker:  
          o  Combines  object  program  with  other  programs  provided  by  the  SDK  to  create 
            executable code  
          Loader:  
          o  Loads executable program into main memory  
          The last step is to execute the program. 
                                                 
The words contained in this file might help you see if this file matches what you are looking for:

...Programming language fall lecture notes an overview of computers and languages objectives the evolution examine a c program discover what compiler is it does explore how processed machine early were programmed in assembly instructions are mnemonic o assembler translates written into high level include basic fortran cobol pascal java processing using namespace std int main cout...

no reviews yet
Please Login to review.