Upload
emmanuel-kline
View
27
Download
2
Embed Size (px)
DESCRIPTION
BIT 142:Programming & Data Structures in C#. Computer Science opportunity: full tuition, housing, food to finish a 4 year degree in China. http://www.cascadia.edu/programs/beijing.aspx. BIT 143 Winter quarter?. Normally 143 is offered Fall (now) and Spring - PowerPoint PPT Presentation
Citation preview
BIT 142:Programming & Data Structures in C#
BIT 142: Intermediate Programming 2
Computer Science opportunity: full tuition, housing, food to finish a 4 year degree in China
• http://www.cascadia.edu/programs/beijing.aspx
BIT 142: Intermediate Programming 3
BIT 143 Winter quarter?
• Normally 143 is offered Fall (now) and Spring
• We might have enough enrollment to offer it Winter quarter too
BIT 142: Intermediate Programming 4
Proposed: Structural Change• Goal: Streamline class to (hopefully) make
it easier, without sacrificing learning
• Lecture: overview/preview of topics
• Lesson:– Videos for more detail on same topics– Exercises on same topics
• What do y'all think?– I might try it the week after the midterm..
BIT 142: Intermediate Programming 5
BIT 142: Intermediate Programming 6
Today• Quiz
• OOP!– 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
Next week
• Catch up week
• Exam Review Week
• Preview of topics for week following exam
• Control+Alt+Hack
BIT 142: Intermediate Programming 7
BIT 143 8
Next next Week• Midterm Exam
– At 5:45 pm, you’ll start continue) the exam– At 10:05 pm, the exams will be handed in
• You’re welcome to have extra time by staying after the normal 7:50pm end time
• Strategy for success:– Estimate minutes per question, then watch the
clock as you’re taking the test
BIT 142: Intermediate Programming 9
Review• PCE 04: Square of Numbers– for(int iRow=0; iRow < numRows; iRow++){
– for(int iCol=0;iCol <numCols; iCol++) {
– if( iRow == 0 || iRow == numRows-1 || iCol == 0 || iCol == numCols – 1 )
Console.Write(‘*’);– else– Console.Write( “ “); } Console.WriteLine();
– }
BIT 142: Intermediate Programming 10
Next.... The Quiz!