Lesson 1 - Fundamentals of Programming
Lesson 1 - Fundamentals of Programming
UNIT 1
Program it! Learn the Basics of
Programming Using Small Basic
Reference: REX Education | Innovative Training Works (Grade 7 – Revised Edition)
LESSON 1
FUNDAMENTALS OF
PROGRAMMING
TEACHER DANNY
3
Computer Program
A computer program is a series
of instructions written to
perform a specific task on a
computer.
7
Programmer
A programmer is a person who
writes, develops, and debugs the
computer program.
8
Programming
is the art and science of creating
Programs. It is the process
performed by programmers to
instruct a computer on how to do a
certain task.
9
Programming Language
is a tool used by programmers to write
commands or program. It is form of
communication that programmers use
to develop applications, script, or
other sets of instructions for a
computer to execute
10
CLASSIFICATION OF
PROGRAMMING
LANGUAGES
11
Classified accordingly
1. Machine Language
2. Assembly Language
3. High level language
4. Object-oriented/Even-driven language
12
MACHINE LANGUAGE
It is the only language that a computer can
understand. It only understands binary
system which uses two numbers, Os and
1s, known as the machine codes.
13
ASSEMBLY LANGUAGE
Assembly uses mnemonics instead of Os
and 1s to simplify the programmers; way of
creating programs. It uses English like
abbreviation such mov for move, mul for
multiplication operation.
14
HIGH-LEVEL LANGUAGE
It was developed to speed up the
programming process.
Use English commands to carry out
instructions.
15
HIGH-LEVEL LANGUAGE
Examples are:
BASIC (Beginner’s All-purpose Symbolic Instruction Code;
COBOL (Common Business Oriented Language;
Pascal; and
FORTRAN (FORmula TRANslation)
It requires another program to translate instruction into
machine codes like Interpreter or a compiler.
✔ Interpreter ✔ Compiler
Translate line by line during Translates the entire program
runtime. before running the program.
16
OBJECT-ORIENTED/EVENT-DRIVEN
PROGRAMMING LANGUAGES
These are programs that run in Windows that requires more
complicated programming capabilities.
Object-oriented Programming (OOP), and
SMALL BASIC
18
Toolbar
It contains tools and
commands you need to
manage your files or programs
and edit your codes or
statements. A statement is
every line of instruction in a
program when you use Small
Basic.
20
Editor
This is where you will write your
Small Basic statements or
programs. The default name is
“Untitled” since the program has
not been saved. Editor
The editor that you are currently
working on is called the active
editor.
21
Help window
It is where you can
find information
about the commands
Help Window
22
Surface
It shows the errors
found in the Help Window
program.
23
IntelliSense
As you type your code or
statement, you will notice that a
pop-up menu will appear on
your editor, this is called
IntelliSence.
Convenient way to access
descriptions of functions.
24
THANK
YOU SO
MUCH!