1 / 17

CS0004: Introduction to Programming

CS0004: Introduction to Programming. Introduction to Programming. What is a Programming Language?. At the lowest level we have Machine Language . What is a Programming Language?. At the lowest level we have Machine Language .

vidor
Download Presentation

CS0004: Introduction to Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS0004: Introduction to Programming Introduction to Programming

  2. What is a Programming Language? • At the lowest level we have Machine Language.

  3. What is a Programming Language? • At the lowest level we have Machine Language. • Machine Language is a system of instructions and data executed directly by a computer's central processing unit.

  4. What is a Programming Language? • At the lowest level we have Machine Language. • Machine Language is a system of instructions and data executed directly by a computer's central processing unit. • What we will be using is a Higher-Level Language

  5. What is a Programming Language? • At the lowest level we have Machine Language. • Machine Language is a system of instructions and data executed directly by a computer's central processing unit. • What we will be using is a Higher-Level Language • Higher-Level Languages consists of instruction that people can understand.

  6. What is a Programming Language? • At the lowest level we have Machine Language. • Machine Language is a system of instructions and data executed directly by a computer's central processing unit. • What we will be using is a Higher-Level Language • Higher-Level Languages consists of instruction that people can understand. • Examples of Higher-Level Languages: • C • C++ • Java • Python • Visual Basic

  7. Visual Basic • Visual Basic – a third generation event-driven and integrated development environment from Microsoft.

  8. Visual Basic • Visual Basic – a third generation event-driven and integrated development environment from Microsoft. • Third generation programming languages were created in the 1950s and are arguably the most popular kind of programming languages. They were created to be much more programmer-friendly than the previous generation.

  9. Visual Basic • Visual Basic – a third generation event-driven and integrated development environment from Microsoft. • Third generation programming languages were created in the 1950s and are arguably the most popular kind of programming languages. They were created to be much more programmer-friendly than the previous generation. • Event-driven programming is a paradigm in which the flow of programs are determined by events • User Actions • Messages from Other Programs

  10. Visual Basic • Visual Basic – a third generation event-driven and integrated development environment from Microsoft. • Third generation programming languages were created in the 1950s and are arguably the most popular kind of programming languages. They were created to be much more programmer-friendly than the previous generation. • Event-driven programming is a paradigm in which the flow of programs are determined by events • User Actions • Messages from Other Programs • Integrated Development Environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development.

  11. So how do we get from VB to a Running Program? • First, write program.

  12. So how do we get from VB to a Running Program? • First, write program. • A program is a collection of instructions.

  13. So how do we get from VB to a Running Program? • First, write program. • A program is a collection of instructions. • Then, we use a compiler.

  14. So how do we get from VB to a Running Program? • First, write program. • A program is a collection of instructions. • Then, we use a compiler. • A compiler is a computer program that translates high-level language such as VB in Machine Language.

  15. So how do we get from VB to a Running Program? • First, write program. • A program is a collection of instructions. • Then, we use a compiler. • A compiler is a computer program that translates high-level language such as VB in Machine Language. • The VB compiler also detects certain types of errors during the translation process.

  16. So how do we get from VB to a Running Program? • First, write program. • A program is a collection of instructions. • Then, we use a compiler. • A compiler is a computer program that translates high-level language such as VB in Machine Language. • The VB compiler also detects certain types of errors during the translation process. • Finally, we can run the program.

  17. So how do we get from VB to a Running Program? • First, write program. • A program is a collection of instructions. • Then, we use a compiler. • A compiler is a computer program that translates high-level language such as VB in Machine Language. • The VB compiler also detects certain types of errors during the translation process. • Finally, we can run the program. • Executing the instructions given in the instructions is called running the program.

More Related