Links for Class Lectures
Instructions:
ReadMeFirst RVC - Online
General Syllabus - Fall 2024
Note: The source for ALL due dates
(lectures, assignments, exams, exercises)
are on the course syllabus calendar.
Iitems on this web page are categorized for reference only
How to Get the Most Out of Studying
This
course has gone Paperless
Anyone Can View (video)
All submissions MUST comply with
requirements
EEL 2880
Assignment Submission Form Fall 2024
Homework links are at bottom of this
web page
All submissions must have name,
date, time for credit
Do the work and you will get a good
grade
Homework
Completion vs Course Grade
"C" Programming Language: Brian
Kernighan
Blog:
Learn the basics of programming with C - cheat sheet
TIOBE Software Index
|
History
Module 1A
|
Blink an LED
RoboMindAcademy.com
Dennis Ritchie - home page
Dennis
Ritchie - invented C language
Dennis
Ritchie's video interview June 2011
Dennis
Ritchie video award
1982
AT&T Archived Unix Video
The
C Programming Language
by Brian W. Kernighan and Dennis M. Ritchie.
Historical
C-Ref Manual; Dennis Ritchie
that came with 6th Edition Unix (May 1975)
The Hello
World Collection
|
Flow Chart Programming
Module 1B
|
Youtube:
Programming C Robot Simulator
you can do this too........
C
Robot download Function Details
SFC -
A Structured Flow Chart Editor (original site)
Dr. Tia Watts
SFC manual
SFC download
Lecture example: ForIf
Example #1
HW
#1 Flow Chart
|
Integrated Development Enviromments
Module 2
|
Archive Information
Code::Blocks
official home site
YouTube
- How to set up Code::Blocks
Installing
and Configuring C/C++ support for NetBeans
NetBeans
with C/C++ support (Multiplatform)
Qt IDE & Development
System
Eclipse IDE
Express
- Visual C++
Online Compile:
CompileOnline.com
|
Objects / Expressions
Module 3
|
A: (lecture examples)
ForIf
Objects, Operators, Expressions, Statements, Scope
Printf
Escape Squences
Data
Types
Ascii
sizeof()
B: (lecture example)
Scope1
Scope2
Reference:
Basic Syntax
Data
Types
Operators
Scope
Program Flow - If, Switch
Loops
Printf
scanf()
current standard C (11) Language
Tic-Tac-Toe
HW #3 Operators
Place answers (ABC or D) on answer sheet and submit same
procedure as homework (select Quiz1 as assignment)
Quiz1
Ans40Sheet.pdf Ans40Sheet.doc
|
Expression & Statements
Module 4
|
A: (lecture example)
1) CountDigits.c
2) GetDigits.c
3)
PrintPi
Reference:
Understanding moving the decimal
Finding the number of digits of an
integer
B:
Burglar Alarm
Reference:
Basic Bitwise Operators Tutorial #8
RIMS Example code
LaunchPad Push button to turn on red LED
Burglar
Alarm Wiring
Bit
Masks
Logical bitwise operators
Reference:
Decimal
and Binary and Hex
Binary,
Decimal, Hexadecimal Numbers
Hex
- Binary - Decimal Converter
Bitwise Operators
HW
#4 Binary Print
|
Module 5 Statements
|
A:
While loop and Switch decision
SelectIf
SelectSwitch
SwitchWhile
- Interactive console menu
McDucks.c
B:
For/If condition expressions
ForExamples
Reference:
Switch and If
While loop
puts
Quiz 2
Ans45Sheet.pdf
Ans45Sheet.doc
|
Module 6
|
A: Review
B: Exam 1
|
Module 7
Arrays Strings
Functions Pointers
|
Begin Exercise 1
A:
What
is a histogram?
Histogram.c
Histogram code highlighted
Array, Funtion & Pointer Summary
B:
TiresAndApples.c
TiresAndApples Concepts
Reference:
Pointers are a
fundamental part of C. If you cannot use pointers
properly then you have basically lost all the power and
flexibility that C allows. The secret to C is in its use
of pointers.
Pointer tutorials
Pointers - Tutorial
Learning Pointers for
Dummies
Boston Videos: Playlist
Pointers
Functions
Pass Arguments to Functions
Pass by Reference vs by Value
HW #5 Comments
|
Module 8
Card Deck
|
A: Introduce Deck
Deck
of Cards
Fisher-Yates
Shuffle
Swapping
Integers
Call by Reference - pointers swap
integers
Two
dimension arrays - C language
Variations
- Functions & 2D arrays
B: Begin code development
DeckBeginning.c
PrintStates - Example of array of
pointers to text
HW
6: DeckShuffle
|
Module 09
|
A: Review Deck Shuffle and Play Cards
APF Review
Histogram Example
B: PointerOrValue?
HW: HW
7: PlayCards
Quiz3MCQ
Quiz3(Old)
AnswerSheet60
|
Module 10
|
Review/ Exam 2
|
Module 11
|
Structures
A: Structures in C
What is a structure?
BluePrint
SilverCar, BlueCar, RedCar, More RedCar
C
Programming Tutorial Video
Structure
Examples
Cornell Structure Explanation
cardShuffleStructures
B:
C:
Malloc()
C Memory management
Operator New Dynamic Memor
Pointer notation for structures
Linked
List Baumann
Linked List BlogSpot
SimpleSimpleLinkedList
SimpleLinkedList.c
HW8Structures
|
Module 12
|
File I/O - Text and Binary Blocks
A: stdio.h
File I/O
Text File I/O
TextOutput.c
TextDump.c
HexDump.c
NameHeightBlocked.c
SimpleLinkedListFileIO.c
B: Simple Example: BinaryFiles.c
Binary read from a file
Example: Corrected source code for above
BinaryRW
Binary write to a file
Example:
Random access files in C
Binary File I/O in C
Writing into and reading from a binary
file in C
Video:
Read and writing data to File I/O in C
Random Access File Method in C
fopen
fread-text
fseek-text
fwrite-block
rewind
fprintf()
fgets()
HW9: File I/O
Generate output file test.txt with TextOutput.c
Then adopt HexDump.c to
save analysis
of test.txt to a disk text file hdp.txt
Turn in a screen shot of Notepad showing
hdp.txt contents
|
Module 13
|
Matlab overview
See Matlab references below
Mathworks.com
SciLab.org
Object Oriented overview
Alice.org
File I/O
HW 10: Plumbing Database
Quiz 4
These examples are for Quiz 4 Questions 21-29
Quiz4Named.c
Quiz4Ptr.c
|
Module 14
|
Q/A and Thanksgiving
|
Module 15
|
Review, Exam 3,
|