Today we reviewed the class diagrams assignment from Monday. Everyone did an excellent job and continues to show improvement.
We also starting our review of typecasting, also known as datatype conversions. We went over the two different methods of datatype conversions:
Implicit casting
double quotient1 = 7 / 2;
Explicit casting
double quotient2 = (double) 7 / 2;
int quotient3 = (int)(9.99 / 1.11);
Homework: Explain why, in the examples given above, quotient2 returns 3.5, but quotient3 returns 9.
This course emphasizes object-oriented program methodologies with a concentration on problem solving and algorithm development. It also includes a study of data structures, design, and abstraction. The course covers Java language syntax and style, classes and interfaces, lists, and iterators. Students will focus on enhancing skills and learning to code fluently in a well-structured fashion.
Wednesday, August 31, 2011
Monday, August 29, 2011
Busy, busy, busy...
I can't believe we're already two weeks into school. We've covered quite a bit of material. Since we were joined by a new student today, we took the opportunity to summarize and review what we've covered thus far.
Homework: Create a Class Diagram describing tonight's football game (you know, the one where the Bruin's are going to stomp CAC... that one). Make sure to identify at least five Classes, with appropriate properties and methods for each. This is due on Wednesday.
- Object Oriented Programming (vs. linear or process-oriented programming)
- Encapsulation, inheritance and polymorphism
- Classes and Objects
- Reference types and Value types, and their respective relationships to the Heap and Stack
- Various data types: int, long, char, decimal, Boolean, string, etc.
- Hexadecimal number system (stemming from a question about why numeric data types have the maximum values that they do)
Homework: Create a Class Diagram describing tonight's football game (you know, the one where the Bruin's are going to stomp CAC... that one). Make sure to identify at least five Classes, with appropriate properties and methods for each. This is due on Wednesday.
Sunday, August 14, 2011
Welcome back to school!
Hello all! I'm very excited about the opportunity to fill-in and teach the first part of this class, and I'm sure we'll have a great time programming and exploring object-oriented concepts together. This year you will learn all about encapsulation, abstraction and polymorphism - and how to apply them in a program.
I'm sure I'll say this in class, but please remember to bring your thumb drive to class every time we meet.
Looking forward to meeting all of you,
Joshua Carroll
Interim Technology Teacher
I'm sure I'll say this in class, but please remember to bring your thumb drive to class every time we meet.
Looking forward to meeting all of you,
Joshua Carroll
Interim Technology Teacher
Subscribe to:
Posts (Atom)