Computer fundamental &computer Programming

Computer fundamental &computer Programming

1. Computer Fundamentals

Computer Fundamentals refer to the basic concepts and principles that define how computers work, how they are structured, and how we interact with them.

Main Components:

  1. Hardware – The physical parts of a computer (CPU, RAM, monitor, keyboard).
  2. Software – The programs and operating systems that run on a computer.
  3. Input/Output Devices – Input (keyboard, mouse) and Output (monitor, printer).
  4. Storage Devices – Devices used to store data (e.g., Hard Disk, SSD, USB).
  5. Central Processing Unit (CPU) – The "brain" of the computer that processes data.
  6. Memory:
    • Primary Memory – RAM (temporary), ROM (permanent).
    • Secondary Memory – Hard disks, flash drives (used for long-term storage).
  7. Operating System (OS) – Software that manages hardware and other software (e.g., Windows, Linux).
  8. Data and Information – Data is raw facts; information is processed data.C Programming

C is a high-level, general-purpose programming language that is powerful and efficient. It is widely used for system programming, embedded systems, and software development.

  1. Simple and Efficient – Easy to understand and close to machine language.
  2. Structured Language – Uses functions and blocks for modular programming.
  3. Portable – Programs can run on different machines with minimal changes.
  4. Fast Execution – Used in operating systems and real-time systems.
Low-level Manipulation – Allows working directly