![]() |
Jupyter at Bryn Mawr College |
|
|
Public notebooks: /services/public/dblank / CS206 Data Structures / 2016-Spring / Notebooks |
Should be timestamped before start of class on Tuesday, January 26, 2016.
Grading rubric:
NOTE: there is a spelling checker (the check-mark button next to "CellToolbar"). Turn it on.
Assignment Process:
Your notebook might look like:
but that is lame. This is the structure of notebooks that you will submit all semester long.
What makes a good Reflection?
What makes for good code?
Here are two lines in a notebook or terminal that will activate the grading extension:
int size = 500;
printf("Hello");
System.out.println("Hello!");
int year = 2016;
(year % 4) == 0
boolean is_leap_year(int year) {
if (year % 400 == 0 ) {
return true;
} else if ((year % 100) == 0) {
return false;
} else if ((year % 4) == 0) {
return true;
} else {
return false;
}
}
is_leap_year(2100)
printf("%s is %s", 1943, true);
void hello(String name) {
printf("Hello, %s! How are you?", name);
System.out.println("Hello, " + name + ". How are you?");
}
hello("Sally");