Introduction to Visual Basic.NET

advertisement
COP1332
Introduction to
Programming Using Visual
Basic.NET
A journey into thinking
Professor Walton
Opportunity
to Learn
M J Walton
1/4/2004
2
Introduction
 Full Name
 Major, semester
 Level of computer
programming expertise
 Something about
yourself that would not
be found in your resume
M J Walton
1/4/2004
3
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?
M J Walton
1/4/2004
4
What do you
want from this
course?
M J Walton
1/4/2004
5
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?
M J Walton
1/4/2004
6
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.edu
o Your MDC user name and password
M J Walton
1/4/2004
7
Course Information
 Web Site –
 http://mycourses.mdc.edu
 Computer Courtyard/3109
o MyMDC account
M J Walton
1/4/2004
8
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
M J Walton
1/4/2004
9
Problem Solving
You 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.
M J Walton
1/4/2004
10
Why are you taking this course?
http://www.computerworld.com/s/article/9139190/Salary_Survey_2009
M J Walton
1/4/2004
11
Summary
M J Walton
1/4/2004
12
Read and Do
M J Walton
1/4/2004
13
What is your Vision?
M J Walton
1/4/2004
14
The outcome of
the course depends
on your
Commitment!
M J Walton
1/4/2004
15
Let the Journey Begin
M J Walton
1/4/2004
16
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.
M J Walton
1/4/2004
17
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.
M J Walton
1/4/2004
18
What Programs Do
Input Data (Values)
Process
(Calculations)
Output Results
(Information)
M J Walton
1/4/2004
19
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.
M J Walton
1/4/2004
20
Two Hats
21
Collaboration Exercise
This exercise is has been developed
by Michael J. Walton at Miami Dade
College.
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!
Integration
 Compare each solution
 Develop a composite solution
 Integrate!!
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.
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. . .
Problem Solving
You are at the river again with a 5-gallon and a 3gallon 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?
M J Walton
1/4/2004
27
Download