0% found this document useful (0 votes)
2 views

PROGRAMMING

The document explains the differences between human and computer languages, highlighting their purposes, flexibility, and learning processes. It defines a computer program as a set of instructions in a programming language that directs a computer to perform tasks, and it categorizes programming languages into low-level (Assembly and Machine Language) and high-level languages (like Python and Java). Additionally, it poses questions for further understanding of these concepts.

Uploaded by

foolserrand41
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

PROGRAMMING

The document explains the differences between human and computer languages, highlighting their purposes, flexibility, and learning processes. It defines a computer program as a set of instructions in a programming language that directs a computer to perform tasks, and it categorizes programming languages into low-level (Assembly and Machine Language) and high-level languages (like Python and Java). Additionally, it poses questions for further understanding of these concepts.

Uploaded by

foolserrand41
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

PROGRAMMING

BASIC 9
Before we start:
• Computer Language: A formal language used to give
instructions to a computer, consisting of specific syntax
and rules for processing tasks (e.g., Python, Java).
• Human Language: A natural language used for
communication between people, with grammar,
vocabulary, and expressions that can be flexible and
context-dependent (e.g., English, Spanish).
• Differentiate between Human and Computer
language.
• Purpose:
Human Language: Used for communication between people.
Computer Language: Used to give instructions to a computer.
• Flexibility:
Human Language: Can be flexible and change based on
context.
Computer Language: Very strict, with no room for mistakes.
• Learning:
Human Language: Learned naturally from childhood.
Computer Language: Learned through studying rules and
programming.
What is a Program?
• A computer program is a set of instructions written in
a programming language that tells a computer how to
perform a specific task or solve a problem. It is a
sequence of operations that the computer follows to
execute certain functions, such as calculations, data
processing, or controlling hardware.
• A computer program is a set of instructions that tell a
computer what to do. It helps the computer perform
tasks like calculations, displaying information, or
running games.
What is a programming language?
• A programming language is a language used to write
instructions for a computer to follow.
• Examples include:
• Python
• Java
• JavaScript
• C++
• PHP
• C#
Low Level Programming Language:
Assembly Language:
•It’s a type of code that uses easy-to-read words like "MOV"
(move) and "ADD" (add).
•It helps programmers control the computer more easily, but
it’s still close to the computer’s hardware.
2.Machine Language:
•It’s the simplest code, made up of only 1s and 0s (binary).
•The computer understands it directly, but it’s very hard for
humans to read or write.
In short, Assembly Language uses words and is easier for
people to understand than Machine Language, which is all
just 1s and 0s.
Assembly Language
Machine Language
High Level Programming Language:
1.Python
2.Java
3.JavaScri
pt
4.C++
5.Ruby
6.PHP
7.Swift
8.C#
Questions:
• Differentiate between Human and Computer language.
• What is a Program?
• What is programming Language?
• Differentiate between Assembly Language and Machine Language.
• State the generations of programming language.

You might also like