Update: Added the answer to the questions
1. What are the three prime directives?
- The system accomplishes a useful task
- An external user can install and use the system
- An external developer can understand and enhance the system
- Sets: no duplicates and add works differently
- SortedSet: traverses elements in their "natural order"
- List: Ordered collection and like an array with flexible size
- 2 space indent
- No tabs, only spaces.
- Left curly brace on preceding line; right curly brace on its own line
- 100 columns of text maximum maximum
- JavaDoc layout standards
- Java-based
- xml is simpler than a Makefile
- Built in Java support and its tools
- Easier to extend in a portable manner
- So that Ant downloads the necessary libraries needed
<target name="TestTarget"
description="Target that does nothing.">
</target>
7. What are some advantages of Git over SVN.
- Allows users to work productively even when not connected to a network
- Makes most operations much faster since no network is involved
- Allows participation in projects without requiring permissions from project authorities
- Avoids relying on a single physical machine. A server disk crash is a non-event with distributed revision control
- White box testing tests the implementation of the code where it accepts an input and produces the appropriate output
- Black box testing tests the expected output given the input
- Double Maintenance: prevents multiple copies of the same file and must be updated independently
- Shared Data problem: allows two or more developers access the same file/data
- Simultaneous Update: Must prevent clobbering when two updating the same file at the same time
- Free Redistribution
- Source code availability
- Derived Works