0% found this document useful (0 votes)
42 views2 pages

Chapter 1 - Overview of Proramming Languages

This document provides an overview of computer programming languages. It describes programming languages as standardized communication techniques for expressing instructions to a computer. It categorizes programming languages into machine language, assembly language, and high-level languages. Machine language uses binary and runs fast but is hard for humans. Assembly language uses names instead of numbers but translates to machine language. High-level languages are closer to human language, easier for humans, but require translation. It also describes translators as compilers, which translate entire high-level programs to machine language at once, and interpreters, which translate and execute line by line.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views2 pages

Chapter 1 - Overview of Proramming Languages

This document provides an overview of computer programming languages. It describes programming languages as standardized communication techniques for expressing instructions to a computer. It categorizes programming languages into machine language, assembly language, and high-level languages. Machine language uses binary and runs fast but is hard for humans. Assembly language uses names instead of numbers but translates to machine language. High-level languages are closer to human language, easier for humans, but require translation. It also describes translators as compilers, which translate entire high-level programs to machine language at once, and interpreters, which translate and execute line by line.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Palawan State University

MODULE 1 Bachelor of Science in Information Technology


Quezon Campus
COMPUTER PROGRAMMING 1

Page | 1 Prepared by Ms. Heraine Jane D. Cortado


Palawan State University
MODULE 1 Bachelor of Science in Information Technology
Quezon Campus
COMPUTER PROGRAMMING 1

1 Chapter
OVERVIEW OF COMPUTERPROGRAMMING LANGUAGES

1.1. WHAT IS A PROGRAMMING LANGUAGE?

A programming language is a standardized communication technique for expressing instructions to


a computer. Like human languages, each language has its own syntax and grammar.

Programming languages enable a programmer to precisely specify what data a computer will act
upon, how these data will be stored/transmitted, and precisely what actions to take under various
circumstances.

There are different types of programming languages that can be used to create programs, but
regardless of what language you use, these instructions are translated into machine language that
can be understood by computers.

1.2 CATEGORIES OF PROGRAMMING LANGUAGES

1. Machine Language

It is the only language that the computer understand. It consists only of binary numbers 0 and
1. It runs very fast because no translation program is required for the CPU.

Examples are ba 0c 01, 48 65 6c 6c 6f, 2c

2. Low-level Assembly Language

Assembly languages are similar to machine languages, but they are much easier to program
in because they allow a programmer to substitute names for numbers. Assembly languages
are available for each CPU family, and each assembly instruction is translated into one
machine instruction by an assembler program.

3. High-level Programming Languages

A high-level programming language enables the programmer to write programs that are more
or less independent of a particular type of computer. They are consider high because they are
closer to human language than the machine language for the computer truly understands.
Easier to understand debug and modify than low-level language. Ultimately, programs written
in this language must be translated into machine language for computer to understand.

• Examples are Java, C, C++, Basic, Fortran, BACIC, JavaScript, PHP


Watch the Video
Video # 1: Categories of Programming Languages

1.3 TRANSLATORS

1. Compiler

A program that translates a program written in High level language (source code) and
translate into machine language (object code).

2. Interpreter

Translates and executes the program line by line into intermediate form.

Watch the Video


Video # 2: Translators

Page | 2 Prepared by Ms. Heraine Jane D. Cortado

You might also like