COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

27
COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton

Transcript of COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Page 1: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

COP1332

Introduction to Programming Using

Visual Basic.NET

A journey into thinking

Professor Walton

Page 2: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Opportunityto Learn

1/4/2004M J Walton 2

Page 3: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Introduction Full Name

Major, semester

Level of computer programming expertise

Something about yourself that would not be found in your resume

1/4/2004M J Walton 3

Page 4: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Problem Solving There are 2 sons, each weighing 100

lbs., and a father, weighing 200 lbs, at a river. They have a boat and want to get to the other side of the river. The only problem is that the boat will hold only 200 lbs. without sinking. How do I get the three individuals across the river?

1/4/2004M J Walton 4

Page 5: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

What do you

want from this

course?

1/4/2004M J Walton 5

Page 6: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Problem Solving

You have a nice tall cake and you need to cut it into 8 equal size pieces. The only trouble is that you can only make three (3) cuts with the knife. What is the sequence to accomplish this task?

1/4/2004M J Walton 6

Page 7: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

ANGEL• Provides for submission of sample programs and

homework assignments• Provides access to practice exams for each

chapter• Will be used to administer the mid-term and final

exams

• mycourses.mdc.eduo Your MDC user name and password

1/4/2004M J Walton 7

Page 8: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Course InformationWeb Site –

http://mycourses.mdc.edu

Computer Courtyard/3109o MyMDC account

1/4/2004M J Walton 8

Page 9: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Things that Promote Success

• Attendance

• Reading text material before class

• Taking detail notes

• Create the examples in the textbook

• Playing around with VB.NET

• Asking questions

• Talking to Professor about confusion

1/4/2004M J Walton 9

Page 10: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Problem SolvingYou are at a river with a boat, a chicken, a fox and a sack of chicken feed. You can take yourself and only one item at a time in the boat. You want to get the three items across the river without having anything lost (eaten). Each item must accompany you in the boat to get across the river.

1/4/2004M J Walton 10

Page 11: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Why are you taking this course?

1/4/2004M J Walton 11

http://www.computerworld.com/s/article/9139190/Salary_Survey_2009

Page 12: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Summary

1/4/2004M J Walton 12

Page 13: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Read and Do

1/4/2004M J Walton 13

Page 14: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

What is your Vision?

1/4/2004M J Walton 14

Page 15: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

The outcome of

the course depends

on your

Commitment!

1/4/2004M J Walton 15

Page 16: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Let the Journey Begin

1/4/2004M J Walton 16

Page 17: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

What is a program?

A set of instructions in the proper sequence that will accomplish a given task correctly, also referred to as an application.

1/4/2004M J Walton 17

Page 18: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

What is a Computer Program?

A set of instructions that tells the computer hardware how to obtain input, what action to perform, and the output to produce.

1/4/2004M J Walton 18

Page 19: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

What Programs DoInput Data

(Values)Process

(Calculations)Output Results

(Information)

1/4/2004M J Walton 19

Page 20: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

What is a Developer?

One who develops a program (application) by writing the instructions (code) to produce a desired results, also referred to as a software engineer or computer programmer.

1/4/2004M J Walton 20

Page 21: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Two Hats

21

Page 22: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Collaboration Exercise

This exercise is has been developed

by Michael J. Walton at Miami Dade

College.

Page 23: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Make a Peanut Butter and Jelly Sandwich Each person is to write the steps needed to

make the sandwich. The following items are on the table:

A loaf of bread A jar of peanut butter A jar of jelly A knife A plate

Develop the steps. Work alone! Don’t look at your neighbor’s paper! No collaboration! No talking!

Page 24: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Integration Compare each solution Develop a composite solution

Integrate!!

Page 25: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Make a Turkey Sandwich The team is to write the steps needed to make

the sandwich. The following items are on the table:

A loaf of bread A jar of mayonnaise A jar of mustard A package of sliced turkey A knife A plate

Develop the steps. Work as a team to produce one solution.

Page 26: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Design the control panel for a robotic device for moving

items Each group is to design the control panel to operate

a Robotic device that is to move items in a warehouse environment. The robot must be able to do the following:

Move forward or backward Turn left or right Lift and set down objects

Work in pairs. Integrate as a team. . .

Page 27: COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.

Problem Solving

You are at the river again with a 5-gallon and a 3-gallon bucket. You need to get exactly 4 gallons of water give or take a few drops for spillage. You have no other containers or measuring devices and you cannot get an approximate amount. What are the steps required to complete this task?

1/4/2004M J Walton 27