Monday, October 14, 2019

Lesson 1 : What is Programming Languages

A programming language is a vocabulary and set of grammatical rules equivalent to human language used for instructing a computer or computing device to perform specific tasks. A program is a series of codes of instructions to control the operation of a computer or other machine.

Two Levels of Programming Languages 

1. Low Level Programming Languages

This level of programming languages is closed to machine language or raw in nature and harder to read than high level programming languages.

Example: Assembly Language

SUB AX,AX
MOV ES,AX
SUB BH,BH
MOV BL,INT_NUMBER
SHL BX,1
SHL BX,1
MOV DI,ES:[BX]
MOV ES,ES:[BX+2]
ADD DI,4
LEA SI,TAG
MOV CX,TAG_LEN


2. High Level Programming Languages


This level of programming languages is much closer to human or natural language, usually English language and more readable than low level programming language.

Example: C, Java, Basic, Cobol, Fortran, Ruby, Python
Code: (Java) 

public class Welcome{
     public static void main(String[] args){
          System.out.println("HELLO WORLD!");
     }
}


Download PDF File

No comments:

Post a Comment

A REVIEW ON CONNIE DABATE’S MURDER CASE: Fitbit One Wearable

T he Author   ROSITO D. ORQUESTA MSIT Student at Jose Rizal Memorial State University-Dapitan Campus OIC-ICT Dean, Eastern Mindanao College ...