Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
89 views

Introduction To Programming

Programming languages allow humans to communicate instructions to computers. There are 5 levels of programming languages from lowest to highest: 1) machine language, 2) assembly language, 3) high-level language, 4) very high-level language, and 5) natural language. Examples of common programming languages include BASIC, COBOL, PASCAL, C, FORTRAN, Visual Basic, and C++. Before developing a program, problem analysis is required to identify the problem to be solved.

Uploaded by

Alif Haikal
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views

Introduction To Programming

Programming languages allow humans to communicate instructions to computers. There are 5 levels of programming languages from lowest to highest: 1) machine language, 2) assembly language, 3) high-level language, 4) very high-level language, and 5) natural language. Examples of common programming languages include BASIC, COBOL, PASCAL, C, FORTRAN, Visual Basic, and C++. Before developing a program, problem analysis is required to identify the problem to be solved.

Uploaded by

Alif Haikal
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

INTRODUCTION TO

PROGRAMMING

1.1 What is programming?

Programming language is a set of rules that provides a way of telling the computer what
operation to perform. (according to Capron and Johns on, 2004)

1.2 What programming languages are available?

Before looking at a specific programming language, we need to know the levels of


programming languages.

Language is said to be “lower” or “higher” depending on how close they are to the
language the computer itself users or to the language people use (more English-like-high)

These programming languages are generally divided into five levels or generations:

i. Machine Language
ii. Assembly Language
iii. High-Level Language
iv. Very High-Level Language
v. Natural Language

The following are the descriptions of each level of programming language:

Level of language Descriptions


Machine Language -Ultimately the computer understands only
binary number-strings of 0s and 1s
-Programming that are written in these 0s
and 1s represent the “on” and “off”
electrical states of computer
-All other languages must be translated into
machine language before executing
instructions
Assembly Language -This programming language is considered
very low level
-This language use mnemonic codes,
abbreviations that are easy to remember
such as: A for add, C for compare, MP for
multiply and so on
Very-Level Language -For this language, programmers no longer
need to have detailed knowledge of
computer hardware to produce a
programme
-This language is closer to human language
compare to the machine language
Very High-Level Language -Often known as fourth generation
language(4 GLs)
-This programming language is an
improvement of high-level language
Natural Language -This programming language is also called
the fifth generation language
-This language is similar to the “natural”
spoken or written English Language
-The natural language translates human
instructions into code that the computer can
understand and execute

1.3 Examples of Programming Languages

Examples of programming language are like:

a) BASIC
b) COBOL
c) PASCAL
d) C
e) FORTRAN
f) VISUAL BASIC
g) C++
h) JAVA

1. Problem Analysis
What is problem analysis?
s
y
g
n
e
5
iA
lC
b
ti
T
h
r
P
d
a
m
u
c
o
D
You need to identify the problem before developing a program. Let’s imagine that you
are a programmer.

You might also like