Fundamentals of
Programming
Here is where your presentation begins
Start!
In this lesson, you should be able to:
Show understanding of what programming is;
Identify the different classifications of programming languages;
Open and explore the Small Basic program;
Use the TextWindow object; and
Recognize the differences between Write and WriteLine
Create programs using Small Basic
Back Agenda Next
What is Computer Programming?
A computer needs a program to work.
The program has an executable form
that the computer can use directly to
perform instructions.
Back Agenda Next
What is Computer Programming?
A computer program is a series of instructions
written to perform a specified task on a
computer.
Back Agenda Next
Programmer
A programmer is a person
who writes, develops, and
debugs the computer
program.
Back Agenda Next
Programming Language
Is a tool by programmers to write commands or
programs. It is the form of communication that
programmers use to develop applications, scripts or
other set of instructions
Back Agenda Next
Classification of Programming Language
Prog
ram
ming
Lan
guag
e
High-Level Language
Machine Language Assembly Language
Back Agenda Next
Machine Language
It is the only language that a computer can understand.
It only understands the binary system which uses two
numbers, os and is, known as the machine codes.
Back Agenda Next
Assembly Language
It is more advanced compared to the machine language.
Assembly uses mnemonics are memory aids. Instead of using
numbers, programmers began using English-like abbreviations
such as mov for move, mul for multiplication operation
Back Agenda Next
Assembly Language
Add for addition and so on. It requires another program called an
assembler which translates assembly language statements the
target computer’s machine code
Back Agenda Next
High-Level Language
It was developed to speed up the programming process.
High-level languages allow programmers to use
English commands to carry out instructions. Examples
Back Agenda Next
High-Level Language
Examples are BASIC (Beginner’s All-purpose
Symbolic Instruction Code), COBOL (Common
Business Oriented Language), Pascal and FORTRAN
Back Agenda Next
High-Level Language
It requires separate program like an assembler to
translate instructions into machine code. The translators
used were interpreter or compiler
Back Agenda Next
Translators
01 Interpreter 02 Compiler
Translates the entire
Translates high-level
program into machine
instructions into machine
code before running the
code, line by line as the
program
program is running.
Back Agenda Next
Object-oriented/Event-driven
Programming Languages
These are programs that run in Windows that require
more complicated programming capabilities. These
languages are called Object-oriented Programming
(OOP) and Event-driven Programming (EDP)
languages.
Back Agenda Next
Object-oriented/Event-driven
Programming Languages
With these languages, you can create programs that
emphasize on the objects included in the user interface
like buttons and scrollbars.
Examples of OOP are: Visual Basic,
Delphi, Visual C++, PROLOG and Smalltalk.
Back Agenda Next
Event-driven Programming Languages
Microsoft Office applications such as MS Word, MS
Excel, MS Access, and MS PowerPoint are examples of
event-driven programs
Back Agenda Next