1. Home
  2. Explore
  3. Computer Science
  4. John Ousterhout Google Talk

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

John Ousterhout Google Talk

  • 46Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Core Concepts
According to John Ousterhout, the most important concept in all of computer science is
.

46 questions

  1. 1
    According to John Ousterhout, the most important concept in all of computer science is
    _____
    .
    Hint

    Think about how we break down complex problems into manageable pieces.

    Answer

    problem decomposition

  2. 2
    Software design is still basically a
    _____
    art.
    Hint

    Opposite of a science with clear rules.

    Answer

    black

  3. 3
    The one idea that threads through every aspect of computer science, including AI, systems, and theory, is
    _____
    .
    Hint

    Don Knuth said 'layers of abstraction,' but Ousterhout counters with this.

    Answer

    problem decomposition

  4. 4
    The idea that some programmers are way more productive than others is known as the
    _____
    programmer.
    Hint

    A term coined at Google.

    Answer

    10x

  5. 5
    The notion that classes should be deep is a way of thinking about the idea of
    _____
    hiding.
    Hint

    David Parnas first published on this in the early 1970s.

    Answer

    information

  6. 6
    In the rectangle analogy for classes, the area of the rectangle represents the
    _____
    that the class provides.
    Hint

    This is the benefit to the rest of the system.

    Answer

    functionality

  7. 7
    In the rectangle analogy, the top edge of the rectangle represents the
    _____
    to the class.
    Hint

    Everything a user must know to use the class.

    Answer

    interface

  8. 8
    A class with a very simple interface but a large amount of functionality underneath is called a
    _____
    class.
    Hint

    Opposite of shallow.

    Answer

    deep

  9. 9
    A class with not much functionality or a very complicated interface is called a
    _____
    class.
    Hint

    Doesn't give much leverage against complexity.

    Answer

    shallow

  10. 10
    The extreme of making too many small classes, where each adds minimal functionality, is called
    _____
    .
    Hint

    A condition where 'more classes are better' is taken too far.

    Answer

    classitis

  11. 11
    To open a file and read serialized objects in Java, you have to create
    _____
    objects.
    Hint

    File stream, buffering, and object input stream.

    Answer

    three

  12. 12
    The Unix file I/O interface is considered a beautiful example of a
    _____
    interface.
    Hint

    It has only five functions but hides enormous complexity.

    Answer

    deep

  13. 13
    The principle of redefining semantics so that there is no error at all is called
    _____
    out of existence.
    Hint

    Eliminate exceptions by making the normal case always work.

    Answer

    defining errors

  14. 14
    In the Tcl unset command, the correct approach is to define the semantics such that unset makes a variable
    _____
    exist.
    Hint

    If it doesn't exist, no action is needed.

    Answer

    not

  15. 15
    The Unix solution for deleting a file while it is open avoids errors by deleting the file from the directory but keeping the
    _____
    around until the last open instance is closed.
    Hint

    The actual data remains accessible.

    Answer

    contents

  16. 16
    Ousterhout argues that the Java substring method should return the
    _____
    between the specified indices and the available string contents, rather than throwing an exception.
    Hint

    Instead of throwing an exception for out-of-range indices.

    Answer

    overlap

  17. 17
    One way to reduce complexity is to minimize the number of places where you have to handle
    _____
    .
    Hint

    These are a huge source of complexity in systems.

    Answer

    exceptions

  18. 18
    The approach where the goal is simply to get something working, often taking shortcuts, is called
    _____
    programming.
    Hint

    Opposite of a longer-term view.

    Answer

    tactical

  19. 19
    The approach where the primary goal is a great design, investing time for future development speed, is called
    _____
    programming.
    Hint

    It's about investing in design today for faster development later.

    Answer

    strategic

  20. 20
    A programmer who turns out large amounts of shoddy code at a high rate is called a tactical
    _____
    .
    Hint

    They leave a wake of destruction.

    Answer

    tornado

  21. 21
    Ousterhout argues that working code is not enough; the real goal should be a
    _____
    design.
    Hint

    It's about more than just functionality.

    Answer

    great

  22. 22
    The fundamental problem with the tactical approach is that complexity grows from hundreds or thousands of small
    _____
    made over time.
    Hint

    Not one big error but many small ones.

    Answer

    mistakes

  23. 23
    Ousterhout estimates that the crossover period where strategic programming catches up to tactical programming is in the
    _____
    to 12 month range.
    Hint

    A range of months.

    Answer

    6

  24. 24
    To implement a strategic approach, one should have a
    _____
    tolerance approach to design flaws.
    Hint

    Don't let any small issues persist.

    Answer

    zero

  25. 25
    Ousterhout suggests that most startups are 100%
    _____
    in their approach.
    Hint

    They feel pressure to ship quickly.

    Answer

    tactical

  26. 26
    The Stanford course on software design is called CS 190 Software Design
    _____
    .
    Hint

    It's taught like a writing class with iteration.

    Answer

    Studio

  27. 27
    In the course, students in teams of two build a system of about 2,000 to 3,000 lines of code in the first
    _____
    weeks.
    Hint

    The first phase.

    Answer

    three

  28. 28
    In the code review phase, the instructor reads every single line of code, totaling 20,000 to 30,000 lines in
    _____
    week(s).
    Hint

    A single week.

    Answer

    one

  29. 29
    The instructor typically makes 50 to
    _____
    comments on each team's project.
    Hint

    A range of comments.

    Answer

    100

  30. 30
    The course uses an iterative cycle of building, reviewing, and revising, repeated
    _____
    times in the quarter.
    Hint

    Number of iterations.

    Answer

    three

  31. 31
    In the third phase, students get a new project and start from scratch rather than building on someone else's code, which was changed to focus more on
    _____
    design.
    Hint

    The change aimed to give more time for actual design work.

    Answer

    real

  32. 32
    The first red flag mentioned is that classes should be
    _____
    .
    Hint

    Opposite of shallow.

    Answer

    deep

  33. 33
    The second red flag is to define
    _____
    out of existence.
    Hint

    Eliminate exceptions.

    Answer

    errors

  34. 34
    A specific red flag pattern is having too many small, shallow
    _____
    in a system.
    Hint

    This is called classitis.

    Answer

    classes

  35. 35
    Ousterhout emphasizes that the most important thing in software design is
    _____
    , not the length of methods.
    Hint

    It's about hiding complexity behind a simple interface.

    Answer

    abstraction

  36. 36
    The Java Class Library is cited as a prime example of
    _____
    due to many tiny shallow interfaces.
    Hint

    The condition of too many small classes.

    Answer

    classitis

  37. 37
    Ousterhout advises that when changing existing code, you should look for something to make
    _____
    to compensate for any new complexity.
    Hint

    To at least break even.

    Answer

    better

  38. 38
    The ideal when modifying code is to end up in the state you would have if you had built the system from scratch with your current
    _____
    .
    Hint

    What you know now.

    Answer

    knowledge

  39. 39
    Ousterhout believes that the strongest argument for a good design culture is that it helps recruit the best
    _____
    .
    Hint

    Top talent, the 10x kind.

    Answer

    programmers

  40. 40
    According to Ousterhout, the investment in good design is typically about 10% to
    _____
    % of resources.
    Hint

    A small percentage.

    Answer

    20

  41. 41
    Ousterhout's personal rule is to write at least 5,000 lines of code per
    _____
    to stay engaged.
    Hint

    A time period.

    Answer

    year

  42. 42
    When hiring, Ousterhout suggests hiring for slope, not
    _____
    -intercept.
    Hint

    The variable representing starting point.

    Answer

    y

  43. 43
    Hyrum's Law states that with sufficient use of an API, all observable
    _____
    will be depended on by someone.
    Hint

    What the API actually does.

    Answer

    behaviors

  44. 44
    Regarding threads, Ousterhout considers them the next to
    _____
    alternative.
    Hint

    Not the worst, but close.

    Answer

    worst

  45. 45
    The reason Tcl did not gain widespread adoption is that it did not effectively transition to the
    _____
    .
    Hint

    The platform that took over GUI applications.

    Answer

    web

  46. 46
    Ousterhout's book "A Philosophy of Software Design" is intended to be a lightning rod to kickstart a
    _____
    about software design.
    Hint

    Conversation.

    Answer

    discussion

1 of 46
Question 1 of 46

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent