Research Topics in Computational Science Lecture 02.

16

Click here to load reader

Transcript of Research Topics in Computational Science Lecture 02.

Page 1: Research Topics in Computational Science Lecture 02.

Research Topics in Computational Science

Lecture 02

Page 2: 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

Page 3: Research Topics in Computational Science Lecture 02.

Review of Survey

• Majors

• Programming/Languages

• OOP/MVC

• Databases/SQL

• Drawing/Art

• Group Work/Organization

Page 4: Research Topics in Computational Science Lecture 02.

Majors

• 3 Physics

• 3 Computer

• 1 Chem/Bio Eng

• 1 Business

Programming Languages

• C/C++/C#/Java

– 3 have never used

• 1 – No Experience

Page 5: Research Topics in Computational Science Lecture 02.

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

Page 6: Research Topics in Computational Science Lecture 02.

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

Page 7: Research Topics in Computational Science Lecture 02.

Programming Basics

• Objects

• Classes

• Variables

• Properties

• Events

Page 8: Research Topics in Computational Science Lecture 02.

What does Object mean?

• In plain English what does the word

“Object” mean?

Page 9: Research Topics in Computational Science Lecture 02.

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

Page 10: Research Topics in Computational Science Lecture 02.

Properties

• Properties are the data that “make

up” the object

• Some properties can be changed

Page 11: Research Topics in Computational Science Lecture 02.

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!

Page 12: Research Topics in Computational Science Lecture 02.

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

Page 13: Research Topics in Computational Science Lecture 02.

Variable Types

• int

• float

• double

• string

• bool

• decimal

• char

• object

Page 14: Research Topics in Computational Science Lecture 02.

Resources

• The New Boston

http://thenewboston.org/list.php?

cat=15

• Head First C# Programming

– Book available at library

Page 15: Research Topics in Computational Science Lecture 02.

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.

Page 16: Research Topics in Computational Science Lecture 02.

Let’s Play

• Open Visual Studio C#

– Today we will play