10
BIT 142:Programming & Data Structures in C#

BIT 142:Programming & Data Structures in C#

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

Page 1: BIT 142:Programming & Data Structures in C#

BIT 142:Programming & Data Structures in C#

Page 2: BIT 142:Programming & Data Structures in C#

BIT 142: Intermediate Programming 2

Page 3: 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 142: Intermediate Programming 3

Page 4: BIT 142:Programming & Data Structures in C#

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

Page 5: BIT 142:Programming & Data Structures in C#

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

Page 6: BIT 142:Programming & Data Structures in C#

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

Page 7: BIT 142:Programming & Data Structures in C#

Next week

• Catch up week

• Exam Review Week

• Preview of topics for week following exam

• Control+Alt+Hack

BIT 142: Intermediate Programming 7

Page 8: BIT 142:Programming & Data Structures in C#

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

Page 9: BIT 142:Programming & Data Structures in C#

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();

– }

Page 10: BIT 142:Programming & Data Structures in C#

BIT 142: Intermediate Programming 10

Next.... The Quiz!