Prerequisite: None
Monday, Wednesday 11:40 am - 12:30 pm, room TBA
Friday - Lab Session in A&A Computing Site
3 Credit hours
The instructor is Jim Turner
An introduction to the C programming language. Material covered includes elementary program structuring, program logic, basic algorithms, interactive programming, data structures, debugging and program documentation. Course material is presented in week ly lectures and 6-7 programming assignments.
The student will write several programs relating to analytical architectural problems. A course pack is required. There will be three quizes.
This course satisfies the Architecture Program's undergraduate computer requirement. It can also be taken as a second course in programming for those who wish to learn a second language.
Required text: C Programming A Modern Approach, by K.N. King, Norton Publishing.
A helpful
online C programming reference.
The book is cheaper at Borders than at
amazon.com.
Week 1 Introduction to the course
First assignment
Demonstration
Lab session
Ch. 1
Assignment 1: Program 1
Week 2 Introduction and overview of the C language
Statements, variables, constants, address versus value
Ch. 2
Week 3 Elements of the language
Variables and Operators
Area of Circle 1, Ch. 3
Assignment 2: Simple Beam
Week 4 Arithmetic expressions, Assignment statements
<math.h>, <stdlib.h>, precedence of operation,
casting, integer roundoff
Area of Circle 1, Ch. 4
Week 5 Simple Input/Output
Ch. 5
Quiz 1
Assignment 3: Interactive Beam
Week 6 Program control, Review of Quiz
Logical expressions, Iteration
Area of Circle 2, Odd Even, Looping, Ch. 6
Week 7 Input/Output
Input/Output, <stdio.h>
Input/Output 1 - 2, Ch. 22
Assignment 4: Batch Beam
Click here for "beamdata" file.
Week 8 Arrays
Arrays
Area of Circle 3, Arrays1, Arrays 2, Addresses
Ch. 8
Week 9 Function introduction
Pointers, Addresses
Area of Circle 4, Functions 1, Function Beam,
Scope Rules
Ch. 9-12
Statistics.c
Assignment 5: Statistics
Week 10 Functions and Program Structure
Quiz 2
Week 11 Character and string manipulation, Review of Quiz 2
String 1, String lib
Ch 13, 21, 23.4, 23.5
Assignment 6: Word Count
Section_5.3
Week 12 Structures, Dynamic Memory Allocation
typedef, enum
Structures 1 - 3
Ch. 16, 17, 19.4
Week 13 Final project discussion
Ch. 18
Quiz 3
Assignment 7: Final Project
Week 14 Windows programming introduction, or
C++ Fundamentals