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 ID: 166603
Download Presentation The PPT/PDF document "CS0004: Introduction to Programming" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
CS0004: Introduction to Programming
Introduction to ProgrammingSlide2
What is a Programming Language?
At the lowest level we have
Machine Language
.Slide3
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.Slide4
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 LanguageSlide5
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.Slide6
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 BasicSlide7
Visual Basic
Visual Basic – a third generation event-driven and integrated development environment from Microsoft.Slide8
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.Slide9
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 ProgramsSlide10
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.Slide11
So how do we get from VB to a Running Program?
First, write
program
.Slide12
So how do we get from VB to a Running Program?
First, write
program
.
A program is a collection of instructions.Slide13
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.Slide14
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.Slide15
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.Slide16
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.Slide17
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.