In this lecture, Professor Donald Kagan offers a sketch of the Greek heroic code of ethics. He shows that in this community,Â arÃªteÂ (manly virtue) and honor are extremely important and even worth dying for, as the case of Achilles makes clear. In addition, Professor Kagan shows how this society eventually produced a new phenomenon, the rise of theÂ polis. The discussion ends with a strong emphasis on the importance of theÂ polisÂ in Gree...more
Coding with Linked List, Printing the List, Using Recursion to Print List, De-allocating the Memory Used for the Linked List, Watch the Pointers: Prepend Function, Passing Pointers by Reference, Array vs Linked List, Insert in Sorted (order) Linked List, Insert in Sorted Order: Code, Recursive Insert
C++ Libraries - Standard Libraries, CS106 Libraries, CS106 random.h Library, C++ String Type, Operations on String Type, String Class' Member Functions, C++ string vs Java String, Live Example Code : Working on Strings, CS106 strutils.h Library, C++ String vs C String, Concatenation Pitfall (C++ vs C string cont.), C++ Console I/O
Genetic transmission is the mechanism that drives evolution. DNA encodes all the information necessary to make an organism. Every organism's DNA is made of the same basic parts, arranged in different orders. DNA is divided into chromosomes, or groups of genes, which code for proteins. Asexually reproducing organisms reproduce using mitosis, while sexually reproducing organisms reproduce using meiosis. Both these mechanisms involve duplicat...more
Algorithm Analysis, Evaluating the Performance, Analysis of Codes: Statement Counts, Another Example (Statement Count Contd.), Comparing Algorithm, Big-O Notation, Big-O to Predict the Time of Execution, Best/Worst/Average Case, Analysis of Recursive Algorithms, Another Example : Towers of Hanoi, A Tabulation for Different Algorithms, Growth Patterns, Application of Algorithm Analysis to Sorting, Selection Sort, Selection Sort Code
How C function calls are implemented - at the machine code level. The role of the callee. Frames. Saving registers, local variables. one way of returning a value. Also: following safe conventions even when we don't have to do so. The danger of having to think. The lunch box scope example completed. Can you ever have too many comments? The address of operator &. This is the second part of Lecture 12. We finish early which leaves us time ...more
Dob in your commie lecturerhttp://www.google.com.au/search?q=makeeducationfair http://www.younglibs.org.au 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. Filming starts during the break, lecture starts at 2:10
Final Showdown, Thinking About Design, Runtime Performance, Memory Used, Code Complexity, Making Tradeoffs, Array vs Vector, Stack/Queue vs Vector, Set vs Sorted Vector, Pointer-based vs. Contiguous Memory, CS106B MVPs, Pointers, To Remember Years from Now, After CS106B, considering.cs
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)
Kelley begins by joking that in current times, an individual or business that shows up with the promise of cash is a customer of IDEO. He recounts a previous client categorization schematic IDEO employed to color-code their clients. He also emphasises the importance of taking on balanced projects which pay well, are innovative and of interest to his designers.
Pointer Movie, Pointer Operations: Code & Pointer Memory Diagrams, Pointer Basics, Pointer and Dynamic Arrays, Use of Pointers, Recursive Data, A Recursive Structure, Live Demo: Working with Linked List, Building the List
(February 20, 2009) Michal Migurski and Tom Carden, both of Stamen Design, discuss the online maps their studio has put out, originating from Oakland Crimespotting. They present an overview of the project and its effect on our work, our thoughts on open source mapping code and wiki-style community maps.