# Algonquin College Computer Studies CST 8110 Introduction to Computing

#### 97/07/27

Algonquin College Computer Studies CST 8110 Introduction to Computing

Welcome to Algonquin College

Instructor Ian D. Allen

Contact Information

Things You Should Know

CST 8110 Course Outline

Course Learning Requirements

Marking Scheme

How to Succeed in this Course

Lab and Lecture Dialogue Protocol

Lab and Lecture Dialogue Protocol

Required for Laboratories

CST 8110 Assignment 0

How a Computer Works

Computer Programs

Problem Solving and Stepwise Refinement

Problem: Feed Me

Algonquin Pseudocode Basics

Algonquin Pseudocode Rules

Algonquin Pseudocode Keywords

C Language Basics

Number Systems

Positional Notation Base 10

Base 8 Octal

More Digits for Base 16 - Hexadecimal

Any Base to Base 10

Base 10 to Any Base

Base 10 to Binary: Left-to-Right

Base 10 to Hex: Left-to-Right

Base 10 to Binary: Right-to-Left

Base 10 to Hex: Right-to-Left

Conversion Summary Sheet

Short Cuts in Number Systems

Numbers to Characters 7-Bit ASCII

Unsigned 8-bit Integers

Signed (+/-) 8-bit Integers

Signed (+/-) 16-bit Integers

Observations on Signed Integers

Observations on Signed Integers II

Operations on Signed Integers

Operations on Signed Integers II

Conversion of Signed Integers

Floating-Point Numbers I

Floating-Point Numbers II

Floating Point Limitations

Using Floating Point

Floating Point Implementations

Floating Point Imprecision

Output of Imprecise Floats

The simple IF statement makes a yes/no decision

Examples of the simple IF statement in C language

Why C has a compound IF statement

The compound IF statement gives two choices (once)

Examples of the compound IF statement in C language

The nested IF statement

Examples of the nested IF statement in C language

The Decision Table IF statement

Example of the Decision Table IF statement in C language

How to Construct a Loop

The WHILE statement loops zero, one, or many times

The DO/WHILE statement loops one or many times

The FOR statement loops (zero, one, or many times)

Definitions

Problem 1 in English

Problem 1 in Pseudocode

Problem 2 in English

Problem 2 in Pseudocode

Pseudocode Exercises

Author: Ian! D. Allen - idallen@freenet.carleton.ca