Introduction to computing for first year computer science and engineering students at UNSW.
What the course is about. A simple C program. Experimentation and fiddling. How a computer works (in 10 minutes), transistors, chips, microprocessors.
Our own baby microprocessor, the 4917, and how it works.
Lost sound after 50 mins, partial sound restored at 51 mins.
extreme programming, unit tests, test as you go, unit tests in C, one objective at a time, refactoring. asserts.
multi-file programs in C. linking. #include header files prototypes. main. static helper functions. object files .o files
Also: hornblower patriotism / the french
After some announcements we revise using transistors as switches. Then we look at how to program our basic 4 bit microprocessor using 4917 machine code.
At the end we see how we can try out our machine code programs using the 4917 emulator on the web page.
Dob in your commie lecturer
http://www.youngl ibs.org.au/site//ind ex.php?option=com_pe rforms&formid=2&Item id=51
Indirect addressing. Arrays vs lists. Sample code to set up and manipulate a linked list. Doubly linked lists.
Also: The 3-way shuffle to interchange two things. The Wiggles. Robert Sheckley. Stranger than Fiction.
strings, elements and layout of a c program. using gcc, comments, ints, printf, scanf, main, #include, printing newlines. Discussion of clarity.
also: about transistors, compiling, machine code
Style, clarity, hackers vs elite programmers, simple c programming, side effects, compiler options, segmentation faults. You get an error - what to do? Following the spec.
Integer division and remainder.
Extension lecture introducing do-it-yourself digital design at home using cmos chips and a breadboard.
Extension lectures are for first year computing students at UNSW. The topics covered are non-examinable, students attend only if they are interested. Richard generally raises more questions than he answers.
The challenge: can we write a Sudoku solver in a single lecture?
What is a sudoku puzzle? Estimation revisited. how to solve a problem - difference between the approach of a master and a novice.
What is the most important thing?
Also: How to lie with statistics. hang gliding. easy as falling off a bike. algorithms and data structures.
The Adversary and adversary models of computation: an all powerful force out to get you.
Side Effects: in machine code, in c functions, in general. Returning a value from main.
Also: ASCII, talking in lectures, mars bars and Marco Polo and the emperor of china.
Music: Triohatala by Stimmhorn (not really vikings)
Review and discussion of sudoku code from last lecture. Backtrack vs brute force. Course waffles. Stacks, "the stack" in memory, Buffer overflows.
Also: the course ENGG1000, wiki textbook (idea from hong kong). Predicates, comparing with TRUE. Stack overflow.
SS has your (retirement) numbers - Crescent-News Retirement might seem like an unattainable goal as many people's retirement accounts continue to dwindle with today's unstable stock market. But there is a new tool available to help people prepare for the future. The Social Security Administration ...
NAVA 2008 Annual Meeting Focuses On Helping Americans Achieve ... - Forbes NAVA, Inc., the Association for Insured Retirement Solutions, today kicked-off its annual meeting in Philadelphia, Pa., with a central focus: enhancing the insurance industry's ongoing efforts to provide the information, guidance and solutions ...