BIT 142:Programming & Data Structures in C#

advertisement
BIT 142:Programming & Data
Structures in C#
Due Dates
• Assignment #1 is due tomorrow, 1:15pm
• PCE 04 is due tomorrow, 1:15pm
BIT 142: Intermediate Programming
2
Next Week
• Midterm Exam
– At 1:15 pm, you’ll start the exam
– At 3:30 pm, the exams will be handed in
– You must bring photo ID
• (Cascadia student ID counts)
• Strategies for success:
– Listed in the midterm study guide (in this
lesson's page on the website)
BIT 143
3
Midterm Exam
• Exam is PENCIL AND PAPER ONLY!!
– Practice writing stuff, so you can do this
quickly on the exam
• 150 points total
– 50 points of required questions ( ~3 questions )
– 100 points: Pick 4 out of the remaining
questions
BIT 143
4
• OOP!
–
–
–
–
–
–
Today
Basic classes, with instance methods
Instance variables
public/private, and getter/setter methods
Constructors
Method overloading
Variable Scope
• Arrays of Objects
– Array of references to objects
– Array of (possibly null) references to objects
BIT 142: Intermediate Programming
5
Q + A Time
• Let’s go over the ‘Hollow Box’ exercise,
and see how to do that using two, nested,
loops and a single if/else
BIT 142: Intermediate Programming
6
Download