Computer Β· Part C - Software, Algorithms and Computation Β· Major topic 8 of 39

Programming, Programming Paradigms and Languages

Expression of algorithms as executable instructions. Learn durable concepts first, then languages as tools and ecosystems.

208 items insideAsked 1Γ— in the RPSC/RSSB papers we analysed, most recently 2013COM-08

Also look at: Science & Technology: Computer Architecture, Operating Systems, Programming and Software SystemsGeography: Human Geography β€” 10. Language GeographyArt & Culture: Languages and Scripts of IndiaScience & Technology: Computers, Digital Literacy and School Computer Education

  1. 1

    Historical evolution β€” key dates

    • Ada Lovelace’s published notes describe a procedure intended for the Analytical Engine.1843
    • Machine code and assembly programming dominate early electronic computers.1940s
    • FORTRAN makes high-level numerical programming practical.1957
    • COBOL and ALGOL influence business programming and language design.1959-1960
    • C provides portable systems programming alongside Unix development.1972
    • C++, Python, Java, JavaScript and other language ecosystems expand.1980s-1990s
    • Managed runtimes, functional ideas, mobile languages, safer systems languages and AI-assisted programming gain prominence.2000s-2020s
  2. 2

    Programming environment

    • Editor/IDE; source file; project; compiler/interpreter; runtime; terminal; package manager; debugger; documentation
      9 more points
      • Editor/IDE
      • Source file
      • Project
      • Compiler/interpreter
      • Runtime
      • Terminal
      • Package manager
      • Debugger
      • Documentation
    • Install/run/build; arguments; environment variables; working directory; exit code; dependency versions
      6 more points
      • Install/run/build
      • Arguments
      • Environment variables
      • Working directory
      • Exit code
      • Dependency versions
  3. 3

    First principles

    • Literal; variable; constant; type; expression; operator; assignment; statement; block; scope; input/output
      11 more points
      • Literal
      • Variable
      • Constant
      • Type
      • Expression
      • Operator
      • Assignment
      • Statement
      • Block
      • Scope
      • Input/output
    • Sequence; branch; loop; function; parameter; argument; return; error; exception; comment; naming; style
      12 more points
      • Sequence
      • Branch
      • Loop
      • Function
      • Parameter
      • Argument
      • Return
      • Error
      • Exception
      • Comment
      • Naming
      • Style
  4. 4

    Data types and structures

    • Boolean, integer, floating point, character/string, enum, date/time, null/optional, tuple/record, list/array, map/dictionary, set.
    • Mutability; aliasing; reference/value; copying; equality; identity; type conversion; parsing/formatting
      8 more points
      • Mutability
      • Aliasing
      • Reference/value
      • Copying
      • Equality
      • Identity
      • Type conversion
      • Parsing/formatting
  5. 5

    Control flow and abstraction

    • If/else; switch/match; for/while; break/continue; recursion; exceptions; generator/iterator; callbacks; event loop
      9 more points
      • If/else
      • Switch/match
      • For/while
      • Break/continue
      • Recursion
      • Exceptions
      • Generator/iterator
      • Callbacks
      • Event loop
    • Function design; preconditions/postconditions; pure function; side effect; closure; module; namespace; API boundary
      8 more points
      • Function design
      • Preconditions/postconditions
      • Pure function
      • Side effect
      • Closure
      • Module
      • Namespace
      • API boundary
  6. 6

    Core programming paradigms

    • Imperative/procedural; structured; object-oriented; functional; declarative; logic; event- driven; dataflow; reactive
      9 more points
      • Imperative/procedural
      • Structured
      • Object-oriented
      • Functional
      • Declarative
      • Logic
      • Event- driven
      • Dataflow
      • Reactive
    • Object/class/interface/inheritance/composition/polymorphism; encapsulation; traits/protocols; generic programming
      4 more points
      • Object/class/interface/inheritance/composition/polymorphism
      • Encapsulation
      • Traits/protocols
      • Generic programming
    • Functional composition; immutability; higher-order functions; map/filter/reduce; algebraic data types; pattern matching
      6 more points
      • Functional composition
      • Immutability
      • Higher-order functions
      • Map/filter/reduce
      • Algebraic data types
      • Pattern matching
  7. 7

    Language categories and families

    • Machine language; assembly; high-level general-purpose; domain-specific; scripting; query; markup; configuration; hardware-description
      9 more points
      • Machine language
      • Assembly
      • High-level general-purpose
      • Domain-specific
      • Scripting
      • Query
      • Markup
      • Configuration
      • Hardware-description
    • C/C++; Java; Python; JavaScript/TypeScript; C#; Go; Rust; Swift; Kotlin; Ruby; PHP; R; Julia; MATLAB/Octave
      14 more points
      • C/C++
      • Java
      • Python
      • JavaScript/TypeScript
      • C#
      • Go
      • Rust
      • Swift
      • Kotlin
      • Ruby
      • PHP
      • R
      • Julia
      • MATLAB/Octave
    • SQL; Bash/PowerShell; HTML/CSS; Verilog/SystemVerilog; VHDL; CUDA; Solidity and other domain-specific languages
      7 more points
      • SQL
      • Bash/PowerShell
      • HTML/CSS
      • Verilog/SystemVerilog
      • VHDL
      • CUDA
      • Solidity and other domain-specific languages
  8. 8

    Error handling and robustness

    • Syntax; type; runtime; logic; resource; concurrency; network; data-validation errors
      8 more points
      • Syntax
      • Type
      • Runtime
      • Logic
      • Resource
      • Concurrency
      • Network
      • Data-validation errors
    • Exceptions/result types; assertions; defensive programming; graceful failure; resource cleanup; logging; error messages
      7 more points
      • Exceptions/result types
      • Assertions
      • Defensive programming
      • Graceful failure
      • Resource cleanup
      • Logging
      • Error messages
  9. 9

    Quality and tooling

    • Formatting; linting; static analysis; type checking; unit testing; debugger; profiler; REPL; notebook; code review
      10 more points
      • Formatting
      • Linting
      • Static analysis
      • Type checking
      • Unit testing
      • Debugger
      • Profiler
      • REPL
      • Notebook
      • Code review
    • Package/dependency management; semantic versioning; virtual environments; lockfiles; build reproducibility
      5 more points
      • Package/dependency management
      • Semantic versioning
      • Virtual environments
      • Lockfiles
      • Build reproducibility
  10. 10

    Secure and ethical coding

    • Input validation; output encoding; secrets management; least privilege; dependency risks; memory safety; safe deserialization
      7 more points
      • Input validation
      • Output encoding
      • Secrets management
      • Least privilege
      • Dependency risks
      • Memory safety
      • Safe deserialization
    • Attribution; licence compliance; data handling; accessibility; privacy; code of conduct
      6 more points
      • Attribution
      • Licence compliance
      • Data handling
      • Accessibility
      • Privacy
      • Code of conduct
  11. 11

    Learning progression

    Asked 1Γ— Β· last 2013

    • L0: sequences, events, patterns, block-based stories and interactive art.
    • L1: variables, conditions, loops, sprites, simple sensors and text-code transition.
    • L2: text programming, functions, collections, files and small automation projects.
    • L3-L4
      5 more points
      • Modular programming
      • OOP/functional concepts
      • Testing
      • Complexity
      • APIs
    • L5-L6
      5 more points
      • Language semantics
      • Concurrency
      • Safe systems
      • Advanced runtimes
      • Domain languages