FUNDAMENATAL PRINPLES and concept of computing Flashcards

1
Q

A computing paradigm is a fundamental
approach to programming and problem-
solving, defining how software is designedand implemented.

A

COMPUTING PARADIGM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Focuses on describing how a program operates with explicit instructions.

A

IMPERATIVE PROGRAMMING

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  • Features: Uses control structures like loops (for, while),conditionals (if, else), and sequences to create clear,readable code.
  • Benefits: Reduces complexity, improves clarity, andminimizes errors.
A

Structured Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  • Features: Breaks down tasks into procedures or functions,which encapsulate specific operations.
  • Benefits: Promotes code reuse, modularity, and easy maintenance.
  • Examples: C functions, Pascal procedures.
A

Procedural Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Focuses on describing how a program operates with explicit instructions.

A

IMPERATIVE PROGRAMMING

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  • Features: Divides programs into separate modules orcomponents, each handling a specific aspect of theapplication.
  • Benefits: Enhances maintainability, facilitates debugging, andallows independent module development.
  • Examples: Modula-2, Ada packages.
A

Modular Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  • Features: Organizes software around objects that combinedata (attributes) and behavior (methods).
  • Core Concepts:
  • Encapsulation: Bundling data with methods that operateon that data.
  • Inheritance: Creating new classes from existing ones topromote code reuse.
  • Polymorphism: Allowing objects to be treated as instancesof their parent class.
  • Examples: Java classes, C++ objects, Python inheritance.
A

D. Object-Oriented Programming (OOP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Specifies what the program should achieve without dictating howto accomplish it.
A. Functional Programming
* Features: Treats computation as the evaluation of mathematicalfunctions, avoiding state changes and mutable data.
* Benefits: Enhances predictability, facilitates parallelism, andimproves code reliability.
* Examples: Haskell, Lisp functions, Scala.

A

DECLARATIVE PROGRAMMING

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Features: Uses facts, rules, and queries to derive conclusions,focusing on problem-solving through logical inference.
* Benefits: Simplifies complex problem-solving, especially in AIand knowledge representation.
* Examples: Prolog rules and queries.

A

Logic Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Features: Specialized languages tailored for specificapplication areas, simplifying tasks in those domains.
* Benefits: Increased productivity and expressiveness inspecialized fields.
* Examples: SQL for database queries, HTML for web layout.

A

. Domain-Specific Languages (DSLs)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

eatures: Executes multiple processes in parallel, using multipleprocessors or cores to solve large-scale problems efficiently.
* Benefits: Reduces execution time for computationally intensivetasks.
* Examples: Supercomputers, GPU computing.

A

Parallel Computing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Features: Distributes tasks across multiple networkedcomputers, allowing for resource sharing and scalability.
* Benefits: Enables handling large datasets and complexcomputations by leveraging distributed resources.
* Examples: Hadoop clusters, cloud computing platforms.

A

Distributed Computing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Program behavior is determined by events such as user actions,sensor outputs, or messages.
* Features: Utilizes event loops and handlers to manageasynchronous tasks efficiently.
* Benefits: Ideal for creating responsive user interfaces andreal-time systems.
* Examples: JavaScript (Node.js), GUI applications withevent listeners.

A

EVENT-DRIVEN PROGRAMMING

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

computing model is a specific framework or
architecture used to implement and organizecomputations,
detailing
how
different
components interact to process data andexecute tasks.

A

COMPUTING MODEL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Employs quantum mechanics principles to perform calculations,offering potential for massive parallelism and complex problem-solving.

A

QUANTUM COMPUTING

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A computer architecture model where a single memory storesboth instructions and data.

A

VON NEUMANN ARCHITECTURE

15
Q

An architecture that separates storage and pathways forinstructions and data.

A

HARVARD MODEL

16
Q

Utilizes multiple processors to perform computationssimultaneously.

A

PARALLEL COMPUTING MODEL

17
Q

Uses a network of independent computers to work together on aproblem.

A

DISTRIBUTED COMPUTING MODEL

18
Q

Divides tasks between servers (providing resources/services) andclients (requesting resources/services).
Components:

A

CLIENT-SERVER MODEL

19
Q

All nodes in the network have equal roles and can act as bothclients and servers.

A

PEER-TO-PEER (P2P) MODEL

20
Q

Provides on-demand computing resources and services over the internet.

A

CLOUD COMPUTING MODEL

20
Q

Theoretical framework based on the Turing machine, a model of computation introduced by Alan Turing.

A

TURING MODEL

21
Q

Utilizes principles of quantum mechanics to perform computations.

A

QUANTUM COMPUTING MODEL