Marlborough High School Home Page
District wide search
« April 2017 »
Sun Mon Tue Wed Thu Fri Sat
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6

 

Announcements
OOP - interface
Hi class,

I have added a slide deck called OOP-interface, which explains the basic of Interfaces. Interfaces are used to implement something called multiple inheritance. While direct multiple inheritance is not supported through classes, it is supported via interfaces.

I also posted the solution to the maze display problem.

Mr. B.
New folder and slides
Hi class,

I have created an "OOP" folder, and I am putting the OOP slides inside it. This should make it easier to find them when you need to look something up.

I have also uploaded a Big-O and OOP-encapsulation slide deck.

Mr. B.
Recursion slides
Hi class,

I have added the recursion slide-deck, and the associated assignments. Please review.

Mr. Brandaleone
new OOP topics
Hello class,

I added two new slide presentations that deal with OOP topics:
1) Abstract classes
2) Overriding vs. Overloading classes

I am working two new presentations regarding Interfaces and Encapsulation. I hope to have them published in the next week or so.

Mr. B.
Calculating Pi
Class,

I just added the source code for calculating Pi. The assignment gave you two different methods, which both used loops to calculate more accurate representations of Pi. We used double precision floating point integers to sum and store the value.
AP open response question - Highway
Hi class,

I have posted the solution to the AP open response question regarding a highway simulation. Remember that these questions are meant to be challenging, and you are not really expected to the get them 100% correct within the time allotted. You are expected to quickly recognize the essentials of the question, and write down some code (usually 10 lines or less) that would (given more time) lead to a proper working implementation. Please refer to the handout for specifics of the question.
Bingo or 2-D arrays
Hi class,
I have posted the source code to the program "Bingo", which uses a
2 dimensional array. We will be using them a lot in the future. Also, I noticed that many students were unfamiliar with enhanced "for" loops, which can be useful. Please review your book, pages 255-257.
ArrayList example
Hi class,

Since so many students are having problems using ArrayLists, I have put together
some sample code. It is being posted below.
New slides added
Hi class,

I have added 3 slide decks below. Please see "OOP-inheritance", for a basic example of both inheritance and encapusulation. There is a deck called "on-line_IDE", which discusses alternate compilers than Eclipse. These should be used for home use. Finally, there is a deck called "Sorting", which discusses how to sort Arrays or ArrayLists without writing custom code. Of course, you should not be afraid of writing your own code that sorts Arrays or ArrayLists manually.
Quiz on October 30
Hi class,

We will have an in-class quiz on October 30. It will be 20 questions, taken from old AP exams (multiple choice section only). You have the entire class to take it. Overall, the topics will be very similar to the recent take-home quiz. I will spend some time early in the week reviewing the topics.

Mr. B.
Quiz #2 coming up
Hi class,
We will be having our second quiz this Friday (September 19, 2014).
The topics covered are documented in the "quiz-2-prep" PDF file.

We will also be entering a phase where you need to complete a large number of small programming assignments. It is best if you install a Java compiler on your home computer, just in case you need more time to finish the assignments. You will need to complete a little over one assignment per class day. If you need more time, ask me, and I may grant an extension. You also may work with a partner to complete them.
Quiz on 9/3
Hi class,

There will be a short quiz tomorrow in class. Read slide #2 in "class-4.pdf" for the topics that may be on the quiz. Anything I have said in class, and material that is in Chapter 1 of the textbook is fair game.

Mr. B.
Class slides
Hello class!

I will be posting most of my class slides to this site, as PDF files. They are arranged by "class day". Sometimes I will not post, as the material needs editing, or I am using material that may be protected by a copy-write. Also, I occasionally send out a "tweet" that includes homework notice. Feel free to subscribe to that as well (@nbrandaleone). The idea is to give you multiple options. You can always contact me by e-mail if you have any questions.

Mr. B.
Discussion Topics
Blog Entry My "other" blog Posted: Monday, September 1, 2014 at 12:16 PM Discuss
More...
Files
 OOP Folder
OOP presentations
 Strings
Slides on how to use Strings
 BigO.pdf
Big O Notation
 class-12.pdf
FizzBuzz, reading input, escape sequences
 class-8.pdf
Covers if-then statements and looping. Very important concepts!
 graphics1.pdf
Java Graphics (1) - Applet example
 MagicSquare.pdf
MagicSquare skeleton code. Please see handout for details for assignment.
 on-line_IDE.pdf
A list of alternate compilers, primarily for home use.
 Quiz-2-prep.pdf
This document discusses what topics will be on the quiz later this week.
 Quiz_2.pdf
Quiz #2
Homework
No "Homework" exist(s)
Number of hits: 1892

Site Map | Privacy Policy | View "printer-friendly" page | Login   In Japanese  In Korean  En français  Auf Deutsch  In italiano   No português  En español  In Russian  
Site powered by SchoolFusion.com © 2017 - Educational website content management