what are modules

11 months ago 21
Nature

A module is a distinct assembly of components that can be easily added, removed, or replaced in a larger system. The term "module" can refer to different things depending on the context:

  • Computer hardware: In computer hardware, a module is an assembly of parts designed to be added and removed from a larger system easily. For example, a stick of RAM is a hardware module.

  • Computer software: In computer software, a module is an extension to a main program dedicated to a specific function. A module can be a section of code that is added in as a whole or is designed for easy reusability. Modular programming seeks to create separate portions of a program with isolated functionality. These smaller portions can be coded by different teams and then put together into the larger program.

  • Programming: In programming, a module is a section of code that can be reused in different parts of a program or in different programs altogether. A module can define functions, classes, and variables, and can also include runnable code.

  • Learning management systems: In learning management systems like Canvas, modules are used to organize course content by weeks, units, or a different organizational structure. Modules essentially create a one-directional linear flow of what students should do in a course. Each module can contain files, discussions, assignments, quizzes, and other learning materials.

  • Content management systems: In content management systems like Drupal, a module is a set of PHP, JavaScript, and/or CSS files that extends site features and adds functionality. Modules can be turned on by installing them and turned off by uninstalling them. Each module that is installed adds to the time needed to generate pages on a site, so it is a good idea to uninstall modules that are not needed.