Bits 2 C

Computer Science
From Bits to C and Beyond

[Handouts] [Online] [References & Tools] [pbl]

Part 1: From Bits & Transistors to Assembly Language YZU

  1. Universal Modeling Language
    1. Basic UML coding elements
    2. Three Types of Function Flow

  2. Bits, Data Types and Basic Operations
    1. Non-Positional (Chinese) Number Systems
    2. Positional Number Systems and Converting Between Bases: Base ten → Base two & Base sixteen → Base two
    3. Command Line Program to Convert from Base Ten to any Base
    4. Precision Loss in Base Conversion
    5. Variables and Number Storage: Fixed vs Floating Point
    6. Bit Operations: Logic & Shift (enc Tutorial Guide)
    7. Binary Arithmetic (Fixed-Point)(enc Tutorial Guide)
    8. Binary Arithmetic (Floating-Point)(enc Tutorial Guide)
    9. Summary: User Input → Convert → Storage → Manipulate Data → Retrieve → Convert → Output to User
    10. Sample Test

  3. Digital Logic and Finite State Machines
    1. Finite State and Turing Machine Animations Ref. I Chai, Chapter 11 and 12
    2. Turing Machine Simulator (SDBA)
    3. Turing vs Von-Neuman Model: Add1 (SDBA)
    4. Turing vs Von-Neuman Model: A to B (SDBA)

  4. Von Neumann Model, Machine and Assembly Language
    1. Computer Organization
    2. Assembly and Machine Language Programming
    3. Aray Simple Assembly Language System [pdf][html]

  5. Operating Systems and Networks
    1. Operating Systems (作業系統)
    2. Computer Networks

    Transitioning to C: Compiler Installation & A Simple Program

    1. My First ANSI-C Program: From Installation to Running
    2. Compiler,Text Editor & Input Library Functions Installation : 編譯器和編輯器
      1. Goto: and
      2. Choose Tools:Compiler and IDE Installation from drop-down list to install.
      3. Follow instructions to install gcc compiler and jEdit text editor, as well as course specific files such as jlib.h
      4. Check that all files are in the directory c:\sdba
    3. Introduction to Second Semester: Learning Basic C Programming
    4. Review. UML Activity Diagrams and Algorithms
    5. My First ANSI-C Program: : Editing, Compiling, Linking, Running, Debugging (at sdba)
    6. Summary of Key C Language Concepts

    Part 2: Programming in the C language YZU

  6. Basic Programming in the C language: Functions and Variables
    1. Functions
    2. Variables Ref: I Chai,pg 1 - 15
    3. Sample Questions to test your understanding
      1. Download Sample Test
      2. Extract the contents of the m3tst.7z and place contents into directory c:\sdba (not in a subdirectory)
      3. Click on CTST Icon CTST to run sample test.
    4. Practice Questions

  7. Pointers
  8. Program Flow: Sequence, Decision, Repetition
  9. Arrays & Records
  10. Part 3: Advanced Programming with C: Structuring Data, Employing Algorithms

To report errors or broken links, contact Bai Xiao Ming (Jonathon White) @ jonathondavid AT