COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which programming paradigm describes a language with these three properties:Sequential execution of instructions, Use of variables representing memory locations, and use of assignment to change the values of variables?
A
Imperative
B
Functional
C
Object-Oriented
D
Logic
Explanation: 

Detailed explanation-1: -Some Common Paradigms You should know these: Imperative : Programming with an explicit sequence of commands that update state. Declarative : Programming by specifying the result you want, not how to get it. Structured : Programming with clean, goto-free, nested control structures.

Detailed explanation-2: -Imperative Programming It’s called “imperative” because as programmers we dictate exactly what the computer has to do, in a very specific way. Imperative programming focuses on describing how a program operates, step by step.

Detailed explanation-3: -Procedural Programming They are a list of instructions to tell the computer what to do step by step, Procedural programming languages are known as top-down languages. Most of the early programming languages are all procedural. Examples of Fortran C and Cobol.

Detailed explanation-4: -We need to learn how to effectively use multi-paradigm languages that support functional, object oriented, and procedural paradigms. The programming world used to be split into functional languages, object-oriented languages, and everything else (mostly procedural languages).

There is 1 question to complete.