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

Programming Paradigms

The document discusses various programming paradigms, including imperative, procedural, and object-oriented programming, as well as machine code, assembly language, and high-level languages. It highlights the differences between these paradigms in terms of abstraction and how they interact with computer operations. Additionally, it notes that most programming languages are Turing complete, capable of solving any computable problem.

Uploaded by

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

Programming Paradigms

The document discusses various programming paradigms, including imperative, procedural, and object-oriented programming, as well as machine code, assembly language, and high-level languages. It highlights the differences between these paradigms in terms of abstraction and how they interact with computer operations. Additionally, it notes that most programming languages are Turing complete, capable of solving any computable problem.

Uploaded by

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

Programming paradigms

Paradigm – “to describe an example of a pattern” or “to describe an


example of a way of doing things”

Programming paradigm - incl python, c#, VB

Most programming languages in most programming paradigms are said to


be Turing complete, Turing complete languages can solve all problems a
computer is able to solve.

Machine code :

- least abstract
- closest to what actually happens on a computer
- programs directly in 1s and 0s
- these translate into matching electrical signals (high voltage for 1,
low for 0)

Assemble language:

- uses mnemonics
- each mnemonics matches a specific sequence of 1s and 0s
- one-to-one relationship
- written in assembly language and translated by a specific assembler

High-level languages:

- developed in the early 1950s starting with Fortran


- one-to-many relationship, each instruction could give rise to many
lines of machine code
- so much more complex

Imperative languages – use statements that change a program’s state in


the form of sequence, selection, iteration, etc. Consist of commands for a
computer to perform and focus on describing how a program operates

Procedural programming – a type of imperative programming


paradigm where a program is built from one or more subroutines

Object-oriented programming paradigms – a modern extension of


the imperative programming approach that focuses more on a
modular approach to programming

Declarative languages – focus on what the program should accomplish

You might also like