Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Test 1: What is a programming paradigm?

Test11 Imperative programming is closely related to the construction of hardware architecture: Dijkstra Hoare Turing von Neumann2 Abstraction memory cells (in the imperative paradigm) are: side effects of subroutine loops substitution variables3 Inheritance is a characteristic of programming: function imperative object logic Fourth object is a data link: control the CPU temperature interrupt handling mechanism operations on these data systemic support input-output5. functional programming does not exist: loops recursive calls folding function boards6 Automatic theorem proving (simple .) is possible in programming: function imperative object logic7 C ++ represents a paradigm: function imperative and object-oriented logical none of the8 The first object-oriented language was the language: Ada C ++ Pascal Simula679 Is the code optimization performed by the compiler can improve the asymptotic computational complexity of the program? no, never Yes, but rarely yes, it is so often so, so almost always (after this is to optimize)10 The syntax of programming languages ​​described by grammars: regular context-free context type0

user-image
Question added by Tomasz Modrzejewski , Programmer , Company Skraw-Mech
Date Posted: 2014/08/27

thanks for invitig

    • A pattern that serves as a school of thoughts for programming of computers

       

  • Programming technique

     

    • Related to an algorithmic idea for solving a particular class of problems

       

    • Examples: 'Divide and conquer' and 'program development by stepwise refinement'

       

  • Programming style

     

    • The way we express ourselves in a computer program

       

    • Related to elegance or lack of elegance

       

  • Programming culture

     

    • The totality of programming behavior, which often is tightly related to a family of programming languages

       

    • The sum of a main paradigm, programming styles, and certain programming techniques.

FOWZY seraj
by FOWZY seraj , project manager , APSG in King Abdul-Aziz Airport (Hajj Terminal )

Paradigm: "A philosophical and theoretical framework of a scientific school or discipline within which theories, laws, and generalizations and the experiments performed in support of them are formulated; broadly: a philosophical or theoretical framework of any kind"

Ahmad Anbari
by Ahmad Anbari , Software System Engineer , Continental Jet Services FZCO

It is a way of programming; not a language, nor a framework or technic. 

The four most popular programming paradigms are: Imperative, functional, Logical and Object Oriented. 

The last one is pretty famous nowadays. From a personal perspective I consider Test Driven Development (TDD) and Domain Driven Development (DDD) are also a programming paradigm.

 

 

In other words, it is how to think about your code in order to get the job done. Focus on test, domain or anything else will define your programming paradigm.

 

Some languages like C++ support multiple programming paradigms; like functional and object oriented.

That means in some way that you can do whatever you want in whatever paradigm you want.

So, why to choose some programming paradigm over another? It’s just a way of thinking.

 

I myself believe in OOP as the best programming paradigm (for most scenarios). Some people claim that the functional programming paradigm is lighter and faster and they are right. But when projects get complicated by the time, OOP would defeat it and pays off the long time spent on desig.

 

 

I think it really worth it to learn about the different paradigms.

Shagufta Mubasher
by Shagufta Mubasher , Web Developer , MP CJ O Shopping Sdn. Bhd.

Thanks for the invitation Mr. Tomasz

 

In easy words, A programming paradigm is a style or "way" of programming. Some languages make it easy to write in some paradigms but not others. To further elaborate, In addition to these programming paradigms, there is also the "declarative" paradigm and the "functional" paradigm. While some programming languages strictly enforce the use of a single paradigm, many support multiple paradigms.

 

In reality, because computer programming variables can encompass an unlimited amount of data, defining specifics of how they must relate to each other has a very high level of programming power. Constraint programming is a programming paradigm, which means it states fundamental ideas about what basic things mean that can be radically different compared to other programming paradigms.

هاشم المشارقة
by هاشم المشارقة , Key Account Manager , Advanced United Systems Ltd. ( A member of Taj Holding Group)

programming paradigm is related to the how your macbine are organized ? and how the elements orderd in fact von Neumann  found some general rule for computer structure. This structure may allow to program it using a type of language and may didn't allow use any other language because each language cannot run on some hardware which is not support it. Finally the hardware should support the software and the software should be suitible for the hardware.

A programming paradigm is a fundamental style of computer programming, a way of building the structure and elements of computer programs. Capabilities and styles of various programming languages are defined by their supported programming paradigms; some programming languages are designed to follow only one paradigm, while others support multiple paradigms.

Pooja Malviya
by Pooja Malviya , Software Developer , Celia Infotech Software Solution Private Limited

fundamental type of computer programming.

Mohd shahnawaz khan
by Mohd shahnawaz khan , Associate Project , Cognizant Technology Solution

A programming paradigm is a style or "way" of programming. Some languages make it easy to write in some paradigms but not others.

 

Some of the more common paradigms are

 

Imperative — Control flow is an explicit sequence of commands.

Declarative — Programs state the result you want, not how to get it.

Structured — Programs have clean, goto-free, nested control structures.

Procedural — Imperative programming with procedure calls.

Functional (Applicative) — Computation proceeds by (nested) function calls that avoid any global state.

Function-Level (Combinator) — Programs have no variables. No kidding.

Object-Oriented — Computation is effected by sending messages to objects; objects have state and behavior.

Class-based — Objects get their state and behavior based on membership in a class.

Prototype-based — Objects get their behavior from a prototype object.

Event-Driven — Control flow is determined by asynchronous actions (from humans or sensors).

Flow-Driven — Computation is specified by multiple processes communicating over predefined channels.

Logic (Rule-based) — Programmer specifies a set of facts and rules, and an engine infers the answers to questions.

Constraint — Programmer specifies a set of constraints, and an engine infers the answers to questions.

Aspect-Oriented — Programs have cross-cutting concerns applied transparently.

Reflective — Programs manipulate their own structures.

Array — Operators are extended to arrays, so loops are normally unnecessary.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.