archive:eec120
Table of Contents
Computer Programming I
This is an introductory course to computer programming for engineers. Knowledge of C programming is commonly accepted as of primary importance for an engineer. This knowledge can easily be translated to any other programming language.
Course Syllabus
| Week | Lecture | Laboratory | Notes |
|---|---|---|---|
| Week 01 |
|
|
|
| Week 02 |
|
|
|
| Week 03 |
|
| Assignment 1 Queue |
| Week 04 |
|
| |
| Week 05 |
|
| Assignment 1 Due (5%) |
| Week 06 |
|
| Lab Assessment 1 (10%) |
| Week 07 |
|
| Mid-term Examination (20%) |
| Week 08 |
|
| Assignment 2 Queue |
| Week 09 |
|
| |
| Week 10 |
|
| Assignment 2 Due (5%) |
| Week 11 |
|
| Lab Assessment 2 (10%) |
| Week 12 |
|
| |
| Week 13 |
|
| |
| Week 14 |
|
| Lab Project Due (10%) |
Introduction to C Programming
Variable and Operators
- intsize.c
#include<stdio.h> int main(void) { printf("Size of unsigned int: %d\n",sizeof(unsigned int)); printf("Size of unsigned long long: %d\n",sizeof(unsigned long long)); printf("Size of unsigned long: %d\n",sizeof(unsigned long)); printf("Size of unsigned short: %d\n",sizeof(unsigned short)); printf("Size of unsigned char: %d\n",sizeof(unsigned char)); return 0; }
archive/eec120.txt · Last modified: by azman
