Research Topics in Computational Science Lecture 02.
Click here to load reader
-
Upload
brice-melton -
Category
Documents
-
view
218 -
download
1
Transcript of Research Topics in Computational Science Lecture 02.
![Page 1: Research Topics in Computational Science Lecture 02.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/1.jpg)
Research Topics in Computational Science
Lecture 02
![Page 2: Research Topics in Computational Science Lecture 02.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/2.jpg)
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.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/3.jpg)
Review of Survey
• Majors
• Programming/Languages
• OOP/MVC
• Databases/SQL
• Drawing/Art
• Group Work/Organization
![Page 4: Research Topics in Computational Science Lecture 02.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/4.jpg)
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.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/5.jpg)
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.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/6.jpg)
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.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/7.jpg)
Programming Basics
• Objects
• Classes
• Variables
• Properties
• Events
![Page 8: Research Topics in Computational Science Lecture 02.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/8.jpg)
What does Object mean?
• In plain English what does the word
“Object” mean?
![Page 9: Research Topics in Computational Science Lecture 02.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/9.jpg)
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.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/10.jpg)
Properties
• Properties are the data that “make
up” the object
• Some properties can be changed
![Page 11: Research Topics in Computational Science Lecture 02.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/11.jpg)
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.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/12.jpg)
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.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/13.jpg)
Variable Types
• int
• float
• double
• string
• bool
• decimal
• char
• object
![Page 14: Research Topics in Computational Science Lecture 02.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/14.jpg)
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.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/15.jpg)
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.](https://reader038.fdocuments.net/reader038/viewer/2022100519/56649f1c5503460f94c32ae6/html5/thumbnails/16.jpg)
Let’s Play
• Open Visual Studio C#
– Today we will play