0% found this document useful (0 votes)
3 views12 pages

Week 2 Programming Languages

The document provides an overview of programming languages, their generations, and the various types of programming paradigms including modular, procedural, non-procedural, object-oriented, event-driven, and rapid application development. It explains the role of computer language translators such as assemblers, compilers, and interpreters in converting code into machine-readable format. The content emphasizes the importance of programming languages in instructing computers to perform tasks effectively.

Uploaded by

sarah.kim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views12 pages

Week 2 Programming Languages

The document provides an overview of programming languages, their generations, and the various types of programming paradigms including modular, procedural, non-procedural, object-oriented, event-driven, and rapid application development. It explains the role of computer language translators such as assemblers, compilers, and interpreters in converting code into machine-readable format. The content emphasizes the importance of programming languages in instructing computers to perform tasks effectively.

Uploaded by

sarah.kim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

WEEK 2:

PROGRAMMING LANGUAGE
TEACHER: NEPES ROZYYEV
LAST WEEK REVIEW

• A computer requires instructions to perform any task. It is called


computer program.

• Computer Program is written in a specific language that computer


understand and interpretcalled computer language or a
programming language.

• Each programming language has its own vocabulary and grammar


called syntax.
GENERATIONS OF PROGRAMMING
LANGUAGES

• First Generation…………………
• Second Generation……………...
• Third Generation………………...
• Fourth Generation………… ……
• Fifth Generation…………………
GENERATIONS OF PROGRAMMING
LANGUAGES

• First Generation – Machine Language


• Second Generation – Assembly Language
• Third Generation – High Level Language
• Fourth Generation – Very High Level Language
• Fifth Generation – Artificial Intelligence
COMPUTER LANGUAGE TRANSLATORS

• Assembler
• This type of translator is used for Assembly Language (not High Level Languages).
• It converts mnemonic assembly language instructions into machine code.

• Compiler
• Converts the whole code into one file (often a .exe file)
• The file can then be run on any computer without the translator needing to be
present.
COMPUTER LANGUAGE TRANSLATORS

• Interpreter
• Converts the source code into machine code 1 line at a time.
• Program therefore runs very slowly.
• Main reason why an interpreter is used is at the testing/development
stage.
MODULAR PROGRAMMING

• Modular programming is like building a Lego castle. You start


with smaller pieces, or modules, each with its own special
job. Some modules might be walls, others towers, and others
bridges. Each module works independently, but when you put
them together, they create a whole castle.
PROCEDURAL PROGRAMMING

• Procedural programming is a way of writing computer


programs that follow a step-by-step process. It's like a recipe,
where you follow instructions in order to get the desired
result.
• In procedural programming, you break down a big problem
into smaller tasks called procedures or functions. Each
procedure is like a mini-program that does a specific job.
NON PROCEDURAL PROGRAMMING

• Non-procedural programming is a way of writing computer


programs that don't follow a step-by-step process. Instead,
they focus on what you want the computer to do, not how to
do it.
• It's like giving a chef a list of ingredients and telling them to
make a delicious meal, without giving them specific
instructions. The chef knows how to cook, so they can use
their own skills and creativity to make something amazing.
OBJECT – ORIENTED PROGRAMMING
(OOP)

• Object-oriented programming (OOP) is a way of organizing


code into objects. Objects are like real-world things, such as
cars, animals, or people. Each object has its own properties
and behaviors.
• For example, a car object might have properties like color,
make, and model. It might also have behaviors like drive,
brake, and honk.
EVENT – DRIVEN PROGRAMMING

• Event-driven programming is a way of writing computer programs


that react to events. Events are things that happen, like clicking a
button, pressing a key, or moving the mouse.
• When an event happens, the program responds by executing a
piece of code called an event handler. Event handlers are like little
programs that are waiting for specific events to happen.
• Event-driven programming is a powerful tool that can be used to
create interactive programs. It's used in many different applications,
such as video games, web browsers, and word processors.
RAPID APPLICATION DEVELOPMENTS
(RAD)

• Rapid Application Development (RAD) is a way of building


software that focuses on speed and flexibility. It's like building
a Lego castle with a team of friends, where everyone works
together to build different parts of the castle at the same
time.
• In RAD, teams work together to build prototypes, which are
like early versions of the software. These prototypes are then
tested and improved upon, until the final product is
complete.

You might also like