Visualizing C#.NET in a Grid Environment Getting young girls interested in Computer Science and other mathematical based fields Melea Lann Williams University.

Slides:



Advertisements
Similar presentations
MS Access.
Advertisements

Introduction To Java Objectives For Today â Introduction To Java â The Java Platform & The (JVM) Java Virtual Machine â Core Java (API) Application Programming.
Dinko Jakovljević Microsoft Student Partner | BambooLab
Inheritance Inheritance Reserved word protected Reserved word super
Windows Presetation Foundation (WPF) 1. Introduction.
Microsoft Visual Studio and C# Programming
George Blank University Lecturer. CS 602 Java and the Web Object Oriented Software Development Using Java Chapter 4.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Aalborg Media Lab 23-Jun-15 Inheritance Lecture 10 Chapter 8.
Trey Mack James Moore Osa Osar-Emokpae
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Peter Juszczyk CS 492/493 - ISGS. // Is this C# or Java? class TestApp { static void Main() { int counter = 0; counter++; } } The answer is C# - In C#
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Software Development. Chapter 4 – Windows application interfaces.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Computer for Health Sciences
Creating and Running Your First C# Program Telerik Software Academy Telerik School Academy.
Platforms for Learning in Computer Science July 28, 2005.
Week 4-5 Java Programming. Loops What is a loop? Loop is code that repeats itself a certain number of times There are two types of loops: For loop Used.
A First Program Using C#
11 Getting Started with C# Chapter Objectives You will be able to: 1. Say in general terms how C# differs from C. 2. Create, compile, and run a.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
Computer Programming and Basic Software Engineering 9 Building Graphical User Interface Working with Unmanaged Code.
Presented by Team D Compare Windows 2000, XP, and.NET By John Leonard, Brian North, Jeffrey Reynolds, Todd Saylor.
C# B 1 CSC 298 Writing a C# application. C# B 2 A first C# application // Display Hello, world on the screen public class HelloWorld { public static void.
Chapter 1: A First Program Using C#. Programming Computer program – A set of instructions that tells a computer what to do – Also called software Software.
Chapter 8 Script-free pages. Problem with scripting in JSP When you use scripting (declaration, scriplet, expressions) in your JSP, you actually put Java.
CSC 142 B 1 CSC 142 Java objects: a first view [Reading: chapters 1 & 2]
Distributed Systems (236351) Tutorial 1 - Getting Started with Visual Studio C#.NET.
Computer Programming 12 Mr. Jean March 19 th, 2013.
REVIEW On Friday we explored Client-Server Applications with Sockets. Servers must create a ServerSocket object on a specific Port #. They then can wait.
Java Applets. 2 Introduction to Java Applet Programs  Applications are stand alone programs executed with Java interpreter executed with Java interpreter.
Method Overriding Remember inheritance: when a child class inherits methods, variables, etc from a parent class. Example: public class Dictionary extends.
POS 406 Java Technology And Beginning Java Code
CS 3131 Introduction to Programming in Java Rich Maclin Computer Science Department.
PART 3. You have been using static methods in your programs before and methods are the building blocks of procedural programming. In this part of the.
Relational Databases. Database Large collection of data in an organised format to allow access and control DBMS Database Management System - Special software.
Applied Computing Technology Laboratory QuickStart C# Learning to Program in C# Amy Roberge & John Linehan November 7, 2005.
Lecture 1 Introduction Figures from Lewis, “C# Software Solutions”, Addison Wesley Richard Gesick.
Java Applets. 2 Introduction to Java Applet Programs Applications are ___________________ programs –executed with Java interpreter Applet is a small program.
Jasmine sells. Hardware are physical components that make up your computer. a Software are programs or applications that run on your computer. Computer.
CHAPTER 15 WPF Windows Presentation Foundation Dr. John Abraham Professor, UTPA.
Windows Presentation Foundation (WPF). Introduction Separates appearance of user interface from behavior Appearance usually specified by XAML Behavior.
More exercises with C# Fateme Rajabi #W6. Add an image to your project Right click on your project name in solution explorer Add -> Existing item -> browse.
CSC 142 B 1 CSC 142 Java objects: a first view [Reading: chapters 1 & 2]
CS305j Introduction to Computing Classes 1 Topic 23 Classes – Part I "A 'class' is where we teach an 'object' to behave." -Rich Pattis Based on slides.
Application development with Java Lecture 21. Inheritance Subclasses Overriding Object class.
Module 1 Introducing C# and the.NET Framework. Module Overview Introduction to the.NET Framework 4 Creating Projects Within Visual Studio 2010 Writing.
WPF file relationships. Your Form The major files MainWindow.xaml MainWindow.xaml.cs namespace Listview1 public partial class App : Application
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Basic Syntax อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา Chapter 2.
OOP Basics Classes & Methods (c) IDMS/SQL News
Today Review passing by reference and pointers. null pointers. What is an Object? Winter 2016CMPE212 - Prof. McLeod1.
Software Engineering Algorithms, Compilers, & Lifecycle.
Lesson 2: First Java Programs. 2.1 Why Java? Java is one of the most popular programming languages in the world. Java is a modern object-oriented programming.
Java and C# - Some Commonalities Compile into machine-independent, language- independent code which runs in a managed execution environment Garbage Collection.
M&CML: A Monitoring & Control Specification Modeling Language
Data Virtualization Tutorial: Custom Functions
Inquiring and analyzing options for creating a website
.NET Framework 2.0 .NET Framework 3.0 .NET Framework 3.5
Text by: Lambert and Osborne
Principles of report writing
WPF AKEEL AHMED.
.NET and .NET Core 7. XAML Pan Wuming 2017.
Polymorphism and access control
Java Applets.
Tutorial 7 – Integrating Access With the Web and With Other Programs
Presentation transcript:

Visualizing C#.NET in a Grid Environment Getting young girls interested in Computer Science and other mathematical based fields Melea Lann Williams University of North Carolina Wilmington

Table of Contents Background Info “The Real World” … Incorporating Internships into the learning environment Master’s Thesis … “The Doll Idea” … getting young girls interested Beginning C# … Code and Samples WPF … Windows Presentation Foundation.NET

Background Information

Mayan Math Three symbols Shell = “Complete” or “zero” Stick = 5 Bean = 1

Mayan Math Example 20 2 (400) * (20) * (1) * Total: 1108

Internships “Life in the Real World”

Reasons to do an Internship Applying general computer science concepts, learned in classroom, in the real world. Gain experience Experience = better pay Get ideas for masters thesis More exposure = better ideas Learn what type of work environment suits your needs and personality type.

Things Learned C#, Visual Basic, Team Foundation Server Documentation Procedures … which is a lot, for the Nuclear Industry. Help File System Implementation Software Testing Implementation Learn / re-learn Chemistry Concepts and Nuclear Engineering Concepts

Thank God for VPN!

The “Baby Doll” Idea Getting young girls interested in Computer Science and other related fields.

Current Problem Most current dolls have everything already done. Most other programming related toys do not include the younger girl audience. –Including more familiar role playing games. Most current toys for younger girls do not include many building concepts More needed research about women in Computer Engineering

Solution Build a physical doll that interfaces with a computer through USB port. The doll will be able to imitate human behavior The gui interface will be designed with the intention of “ease of use” for girls between the ages of 5 – 11. Multiple dolls will be able to interact with each other through grid computing

Problems In Solution Security issues --- three to four levels of security issues It takes a ton of motors and controls to simulate human behavior. The weight of the doll. Child choosing what the doll would look like. The amount of modeling work involved.

Solutions to Problems Scale down the scope. –Doll doesn’t have to completely mimic human behavior, instead, choose just a few things. –In order to save modeling time, and for the actual doll to match what is seen on the screen, versatility of how the doll looks will have to be scratched. –Grid Security limits and boundaries.

How to Implement At first, I had decided to use NXT robots to do the initial making of the doll … this part has been scratched for now. Gather more data on women currently in the industry through polling and questionnaires, etc. Use proprietary software (Microsoft) to eliminate possible integration problems.

How to implement (con.) Use NGrid as a way to interface between.NET and grid environment. C# will be used for the code.

C # Background, Code, and Examples

Why C#? Since Java was developed first, C# has had the advantage to capitalize upon the weaknesses of Java. The ability to easily incorporate.NET components and convert to web services. Works very well with XML Ability to reference many different programs of multiple file formats.

So, why not Java? The differences: C# allows restricted use of pointers. C# permits low-level access to machine resources. C# allows for user defined value types by using keyword “struct”. Primitive types can define methods without separate wrapper class.

So, why not Java? (con.) Ex: Integer.toString(100); //java 100.ToString();// C# C# arrays correspond to an object in the Array class, whereas, in Java, each array corresponds to a direct subclass of the object class. C# supports both true multidimensional arrays, along with jagged arrays. (example next slide)

Multi-Dimensional Array Example: int[,] myArray = new int[4,2]; // makes an array of 4 rows, 2 columns Three dimensional array example: int[,,] myArray = new int [4,2,3]; Downside --- even though this has it’s benefits, it can get confusing… sometimes, it’s easier to use jagged arrays.

So, why not Java? C# allows for partial classes. Partial classes means that the class definition can be split across multiple source files. (there is nothing like this in Java, and can be confusing) (example on next 3 slides)

So, why not Java? (con.) using System; partial class XY { int x; public int X { get { return x; } set { x = value; } } }

So, why not Java? partial class XY { int y; public int Y { get { return y; } set { y = value; } } }

So, why not Java? class MainClass { public static void Main() { XY xy = new XY(); Console.WriteLine(xy.X + "," + xy.Y); } }

Orthogonal or not? There are 503 pages in Word format of language specifications! It is orthogonal in nature … just extremely complex. On a good note … tons of tutorials on the internet.

Screenshot Hello World

Source Code Hello World using System.Collections.Generic; using System.Linq; using System.Text; namespace TextHello { class Program { static void Main(string[] args) { System.Console.WriteLine("Hello World"); }

Output Hello World

Windows Presentation Foundation Graphical subsystem used within.NET applications Uses XAML mark-up language (Microsoft version of XML) Provides a consistent programming model by separating the user interface and the business logic (supposedly)

WPF Hello XAML <Window x:Class="WPFHello.Window1" xmlns=" xmlns:x=" Title="Hello" Height="130" Width="297" Loaded="Window_Loaded"> Please enter your name: OK

C# code for WPF Hello using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes;

namespace WPFHello { /// /// Interaction logic for Window1.xaml /// public partial class Window1 : Window { public Window1() { InitializeComponent(); } private void Window_Loaded(object sender, RoutedEventArgs e) { } private void ok_Click(object sender, RoutedEventArgs e) { MessageBox.Show("Hello " + userName.Text); }

Conclusion Why is it important to learn Microsoft products / C#? … because large U.S. based business uses Microsoft. There are many similarities between C# and Java syntax wise, however, there is a large difference between the structure and functionality of the language.

References _C_Sharp_and_Java#Genericshttp://en.wikipedia.org/wiki/Comparison_of _C_Sharp_and_Java#Generics 40__Class/0580__Partial-Class.htmhttp:// 40__Class/0580__Partial-Class.htm us/library/ms aspxhttp://msdn.microsoft.com/en- us/library/ms aspx Microsoft Visual C# 2008 Step by Step John Sharp