knowledge-kitchen / course-notes

Computing Terminology

What is a computer?

Processor/microprocessor/central processing unit (CPU)

Clockspeed

Source code

Machine code

1101101010011010

Assembling

Example of assembly language

Compiling

Interpreting

The reality of compiling vs interpreting

Implementations

Many real world high-level programming language implementations use one or both of compiling and interpreting. Here are a few examples:

C:

Shell scripts:

Java:

Python:

Bytecode

Java bytecode

This paradigm is now common in more modern programming languages like Python, Ruby, and even PHP

Java source code to byte code

Documentation

Documenting code is important for readability and maintenance of that code. Most languages have common conventions for how developers leave notes and document their code.

Python

Java