Unit 0: Numeric Conversion#

Counting in binary#

  • binary

  • hexadecimal

  • octal

Hello#

hello.py

print("Hello, world!")

Run the program in your terminal:

$ python hello.py
Hello, world!

Hello.java

public class Hello
{
    public static void main(String[] args)
    {
        System.out.println("Hello, world!");
    }
}

In terminal:

$ javac Hello.java      # compile
$ java Hello            # run
Hello, world!

Command line#

  • navigating directories

  • creating directories

  • creating / editing files

  • copying / moving files and directories

  • running Python programs

  • compiling and running Java programs