CS 200 - Module 9

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

Types of Programming Languages

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

Procedural Programming (Concept)

Execution follows a sequence of instructions grouped into procedures (also called functions or subroutines)

2
New cards

Key Characteristics of Procedural Programming

  • Derived from structured programming concepts

  • The program is a step-by-step list of instructions

  • Procedures are modular mini-programs that can be called from anywhere in the main program

3
New cards

Examples of Procedural Programming Languages

COBOL & Algol

4
New cards

Uses of Procedural Programming

Best for tasks requiring clear, stepwise computations and control flow

5
New cards

Object-Oriented Programming (Concept)

Combines data and methods that manipulate that data into objects

6
New cards

Key Characteristics of Object-Oriented Programming (OOP)

  • Encapsulation – bundling data and methods into one unit (object)

  • Objects interact through method calls

  • Classes act as blueprints for creating objects, defining properties and methods

7
New cards

Examples of Object-Oriented Programming (OOP) Languages

C++, Java, and Swift

8
New cards

Uses of Object-Oriented Programming (OOP) Languages

  • Ideal for complex systems with interacting entities

  • Common in GUI applications and real-world simulations

9
New cards

Functional Programming (Concept)

Computation is done by passing data through pure functions to produce results without side effects

10
New cards

Key Characteristics of Functional Programming

  • Functions are first-class: can be passed as arguments, returned, and composed

  • Avoids shared mutable state; data is immutable

  • Pure functions produce the same output for the same input

11
New cards

Benefits of Functional Programming

  • Easier to reason about

  • Supports concurrency and parallelism

12
New cards

Examples of Functional Programming

Lisp, ML, Haskell, and Scheme

13
New cards

Uses of Functional Programming

  • Mathematical computations

  • Parallel processing

  • Programs requiring high reliability

14
New cards

Type: Procedural | Key Features: ?

Procedures, modularity, structured flow

15
New cards

Type: Object-Oriented | Key Features: ?

Classes, objects, methods, inheritance

16
New cards

Type: Functional | Key Features: ?

Pure functions, immutability, first-class funcs