Program Logic and Design Lecture Notes

May 23, 2024

Program Logic and Design - Lecture Notes

Programming Environments

Definition

  • Programming environment: A text editor or IDE (Integrated Development Environment) used for creating code

Types of Programming Environments

  • Text Editors
    • Simple text files creation
    • Example: Notepad++
  • Integrated Development Environments (IDEs)
    • Provide an editor, a compiler, and other tools
    • Examples:
      • Visual Studio: A comprehensive IDE for multiple programming languages
      • NetBeans: Familiar to students, supports several languages
      • Code::Blocks: Open-source IDE mainly for C, C++, and Fortran

User Environments

Command Line

  • Allows typing of text entries to communicate with the operating system
  • Examples of command line prompts:
    • Command Prompt on Windows
    • Terminal on Unix-based systems

Graphical User Interface (GUI)

  • Users interact with programs in a graphical, rather than text-based, environment

Next Video: Evolution of Programming Modules

  • Teaser for the next lecture: Discussion on the evolution of programming modules