170 likes | 242 Views
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 .
E N D
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. • Machine Language is a system of instructions and data executed directly by a computer's central processing unit.
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
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.
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
Visual Basic • Visual Basic – a third generation event-driven and integrated development environment from Microsoft.
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.
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
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.
So how do we get from VB to a Running Program? • First, write program.
So how do we get from VB to a Running Program? • First, write program. • A program is a collection of instructions.
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.
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.
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.
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.
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.