research topics in computational science lecture 02
TRANSCRIPT
Research Topics in Computational Science
Lecture 02
Today’s Agenda
• New Survey (Contact Info)
• Talk about old survey
• Building Programs in Visual Studio
2010
• Programming Basics
Review of Survey
• Majors
• Programming/Languages
• OOP/MVC
• Databases/SQL
• Drawing/Art
• Group Work/Organization
Majors
• 3 Physics
• 3 Computer
• 1 Chem/Bio Eng
• 1 Business
Programming Languages
• C/C++/C#/Java
– 3 have never used
• 1 – No Experience
OOP/MVC
• OOP
– Most have heard of
– In depth knowledge
• MVC
– 6 Have never heard of it
– 0 have used it!
Database SQL
• Excel
– Everyone Has used!
• Database
– Only 2 have worked with
• SQL
– 4 Never Heard of
– 3 Heard of (not used)
– 1 Worked with
Drawing
4 - Not Good Drawing
2 - Good on Paper only
2 - Good on Both
Design
1 - Not Interested
2 - Not Sure
5 - Interested
Group Work
3 - Like5 - When Needed
0 - Don’t Like
Programming Basics
• Objects
• Classes
• Variables
• Properties
• Events
What does Object mean?
• In plain English what does the word
“Object” mean?
Objects & Classes• Things we use are Objects
• Classes are how objects are
organized
– In English: A class is a group of similar
things
– In Programming: When we know a
bunch of things will be similar, we create
classes
Properties
• Properties are the data that “make
up” the object
• Some properties can be changed
Events
• Events are the way objects interact
with each other
• The most common event is a mouse
click
• Events are how we connect the user
to our program!
Variables
• We use Variables like in math
• Variables are the names we give to
things
• Computer Variables can also
represent things that are not
numbers
x = 5 +
2y = x +
2
Variable Types
• int
• float
• double
• string
• bool
• decimal
• char
• object
Resources
• The New Boston
http://thenewboston.org/list.php?
cat=15
• Head First C# Programming
– Book available at library
Programming Basics
• I will walk you through the basics of
creating a form that creates a
message box.
• Then I will ask you to create a form.
Let’s Play
• Open Visual Studio C#
– Today we will play