4. Software
• Application software
• Easy-to-use programs designed to perform specific tasks
• System software
• Programs that support the execution and development of
other programs
• Two major types
• Operating systems
• Translation systems (compilers & linkers)
5. Application software
• Application software makes computer popular and easy
to use
• Common application software:
• Microsoft Word, WordPerfect
• PowerPoint
• Netscape, Internet Explorer
• PhotoShop, Photo-Paint
• Quick Time
• Dreamweaver
6. What is a Compiler?
• A compiler is a program that translates human readable source code
into computer executable machine code. To do this successfully the
human readable code must comply with the syntax rules of whichever
programming language it is written in. The compiler is only a program
and cannot fix your programs for you. If you make a mistake, you have
to correct the syntax or it won't compile.
• What happens When You Compile Code?:
• A compiler's complexity depends on the syntax of the language and
how much abstraction that programming language provides. A C
compiler is much simpler than
• C++ Compiler or a C# Compiler.
7. Interpreting.
• The steps to run a program via an interpreter are :
• 1. Edit the Program
• 2. Debug or Run the Program
• 3. This is a far faster process and it helps novice
programmers edit and test their code quicker than
using a compiler. The disadvantage is that
interpreted programs run much slower than
compiled programs. As much as 5-10 times
slower as every line of code has to be re-read,
then re-processed.
Chapter 2- Visual Basic SchneiderSchneiderSchneiderSchneider
9. 9Chapter 2- Visual Basic Schneider
Machine Language
• The fundamental language of the computer’s
processor, also called Low Level Language.
• All programs are converted into machine language
before they can be executed.
• Consists of combination of 0’s and 1’s that
represent high and low electrical voltage.
Chapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic Schneider
10. 10Chapter 2- Visual Basic Schneider
Assembly Language
• A low level language that is similar to
machine language.
• Uses symbolic operation code to represent
the machine operation code.
Chapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic Schneider
11. 11Chapter 2- Visual Basic Schneider
High Level Language
• Computer (programming) languages that
are easier to learn.
• Uses English like statements.
• Examples are C ++, Visual Basic, Pascal,
Fortran and …....
Chapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic Schneider
12. 12Chapter 2- Visual Basic Schneider
What is a flowchart?
• Logic diagram to describe each step that the
program must perform to arrive at the
solution.
• A popular logic tool used for showing an
algorithm in graphics form.
Chapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic Schneider
14. 14Chapter 2- Visual Basic Schneider
Purpose of Flowcharting:
• An aid in developing the logic of a program.
• Verification that all possible conditions
have been considered in a program.
• Provides means of communication with
others about the program.
• A guide in coding the program.
• Documentation for the program.
Chapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic SchneiderChapter 2- Visual Basic Schneider
15. Chapter 2- Visual Basic Schneider
Example of Flowchart:
Start
Initialize Counter =1
and sum to 0
Are there more data
Get next grade
Increment counter
Add grade to sum
Yes
No
Chapter 2- Visual Basic SchneiderChapter 2- Visual Basic Schneider derChapt