Algorithms and their complexity, introduction to software engineering, data structures, searching and sorting algorithms, numerical errors.
System.out.println(3 / 2); // 1, due to int math System.out.println(2.0 / 3); // 0.66666... but only so many 6s System.out.println(0.1 * 0.1); // 0.010000000000000002 //due to binary representation limits: 0b110011001100... x 2e-4
byte b = 127; b++; System.out.println(b); // -128 (overflow) b--; System.out.println(b); // 127 (underflow)
Upon successfully completing this course, students will be:
From last time:
If you have a B or better:
If you have a B- or lower:
Questions?