Programming-wk4

Cards (18)

  • Programming
    The process of creating instructions that a computer can follow to perform a specific task, written in a programming language which is a formalized set of rules and syntax that allows humans to communicate with computers
  • Goal of programming
    To design and implement algorithms, logic, and data structures to solve a particular problem or automate a specific set of tasks
  • Programming Language
    A formalized set of rules and syntax that allows humans to communicate instructions to a computer, serving as an intermediary between the human programmer and the computer
  • Programming
    The process that results in the development of a set of detailed instructions following a pattern of a particular programming language necessary to solve a problem
  • Programming languages are used to write code, which is then translated or compiled into machine code that a computer can execute
  • Levels of Programming language
    • Machine Language
    • Low Level Language
    • High Level Language
  • Machine Language
    The lowest level of programming language, consisting of binary code that the computer's central processing unit (CPU) can directly execute, with each instruction corresponding to a specific machine operation
  • Low Level Language
    Consists of binary code directly understandable by a computer's central processing unit (CPU) and mnemonic codes and symbols to represent machine-level instructions, making it more human-readable than machine language
  • High Level Language
    A programming language designed to be easy for humans to read and write, providing a higher level of abstraction from the hardware, allowing programmers to write code that is more readable, understandable, and independent of the hardware
  • High-level language
    A programming language designed to be easy for humans to read and write, providing a higher level of abstraction from the hardware
  • High-level languages
    • Closer to natural language, more user-friendly, making it easier for developers to express their ideas and algorithms in a form closer to human thinking
  • High-level programming languages
    • Python: Known for readability and versatility
    • Java: Versatile, object-oriented, platform-independent
    • C#: Used for building Windows applications, web applications, and game development
    • JavaScript: Primarily used for web development
    • Ruby: Object-oriented, often used for web development
  • Other high-level languages
    • BASIC
    • FORTRAN
    • COBOL
    • PASCAL
  • Formal constructed language designed to communicate instructions to a machine is a programming language
  • The language the computer understands is called machine language
  • Binary digits 0s and 1s are involved in low-level language
  • Examples of high-level programs exclude FORTRAN, COBOL, JAVA, D++
  • Programming can be defined as the process that results in the development of detailed instructions in a programming language to solve a problem