Configuring Computer Hardware with Software

Platform Software

Platform software is a combination of basic input-output system, device drivers, and operating system.

Hypervisor/Virtual Machine (VM)

A Hypervisor/Virtual Machine (VM) is the virtualization/emulation of a computer.

It, as an application in an OS, uses OS image to act as a separate computer.

Host is the OS that contains the VM while Guest is the OS that is installed to the VM.

Some VM examples:

Container Manager

Example of Container managers

Package Manager

Example of Package managers

  • pip package manager
    • pip install –upgrade pip

User-Written Software

User-written software is normally written in languages such as CMake, Python, Selenium and Batch/Shell Scripting. Some examples are spreadsheet templates, word processor macros, scientific simulations and graphic and animation scripts.

Usually, an IDE (Integrated Development Environment) software application is used to write the software. IDE examples are such as Visual Studio (VS).


Reference

  1. Virtual machine. (2021, June 23). Retrieved August 18, 2021, from https://en.wikipedia.org/wiki/Virtual_machine
  2. Virtual Machine. (n.d.). Retrieved August 18, 2021, from https://www.vmware.com/topics/glossary/content/virtual-machine
  3. Techopedia. “What Is a Software Program? – Definition from Techopedia.” Techopedia.com, Techopedia, 22 June 2015, www.techopedia.com/definition/25084/software-program#:~:text=A software program is commonly,” and “software product.”
  4. Wong, William G. “What’s the Difference Between Containers and Virtual Machines?” Electronic Design, www.electronicdesign.com/technologies/dev-tools/article/21801722/whats-the-difference-between-containers-and-virtual-machines.

Program Script
Set of instructions compiled to produce output such as Chrome and Microsoft Excel Program interprets each line during runtime such as Chrome interpreting HTML language with JavaScript script
Example: C++ Example: Python

Programming Nomenclature

List of programming nomenclatures.

Library

Collection of modules.

Some libraries: TensorFlow

Module

Collection of codes (functions, variables, etc.)

functions attached to specific classes (or instances) in object-oriented programming.

Package

Collection of libraries


Functions

Made up of a block of code to perform task.

# Python
def hellof(): print("Hello function")

hellof() # outputs: Hello function

Class, Object & Property

All classes have a function called __init__(), which is always executed when the class is being initiated.

Use the __init__() function to assign values to object properties, or other operations that are necessary to do when the object is being created:

# Python

# Person is class
# __init__ is function
# self is the __init__ function's parameter
# p1 is object
# "John" and 36 are properties of object p1

class Person:
  def __init__(self, name, age):
    self.namez = name
    self.agez = age

p1 = Person("John", 36) 

print(p1.namez) # output: John 
print(p1.agez) # output: 36

Method

Method can have multiple definitions, below are a few:

  • (“member functions”) are similar to functions, they belongs to classes or objects and usually expresses the verbs of the objects/class. For example, an object of type Window usually would have methods open and close which do corresponding operations to the object they belong.
  • A method is a code block containing a series of statements. In C#, every executed instruction is done so in the context of a method.
  • Method is a function of object. It is defined in class. 
  • Method Refers to the action that object can perform.

Reference

  1. “Python Libraries – Python Standard Library & List of Important Libraries.” DataFlair, 8 Mar. 2021, data-flair.training/blogs/python-libraries/.
  2. HansHans 9311 gold badge11 silver badge33 bronze badges, et al. “What Is Method, Property and Function?” Stack Overflow, 1 Apr. 1959, stackoverflow.com/questions/4246883/what-is-method-property-and-function.
  3. “Python Classes and Objects.” Python Classes, www.w3schools.com/python/python_classes.asp.

Coding

Generally code-able using the OS’ CLI; can also use software such as Visual Studio to code.

Language Repository
Python repository
Selenium repository
PHPrepository
Batchrepository
Shellrepository
Crepository
C++repository
CMakerepository
Perlrepository

Shortcode (WordPress)

@ Appearance > Theme Editor : place the below HTML in functions.php

function first_shortcode(){
    return 'My very first shortcode!';
}

add_shortcode('firstscode', 'first_shortcode');

Use shortcode by input-ing [firstscode] in Gutenberg’s Shortcode block