Presentation is loading. Please wait.

Presentation is loading. Please wait.

Professor Ira Fay Class 6. Mining survey feedback 2D arrays Objects Part 1 walkthrough.

Similar presentations


Presentation on theme: "Professor Ira Fay Class 6. Mining survey feedback 2D arrays Objects Part 1 walkthrough."— Presentation transcript:

1 Professor Ira Fay Class 6

2 Mining survey feedback 2D arrays Objects Part 1 walkthrough

3  Stand up  Learn the name of someone you don’t know  Sit down

4  Please post website and GitHub link to the shared Google doc https://docs.google.com/spreadsheets/d/1mLW BSuBEUG6xb08D3WJqiw0eRso2Kqe37OwpDh CJAf8  Thank you to everyone who submitted it already.

5  4 Hampshire students haven’t completed it  Five College students can email me

6  Walkthroughs  In-class lab time  TAs and TA hours  Guest speakers

7  In-class discussion on project-specific topics  Internet searching is hard  Want more lab time

8  Mining  7 just right, 1 too easy, 2 too hard, 1 variable  Class overall  7 just right, 2 too slow, 1 too fast, 1 variable

9  Average: 14 hours  Min: 4  Max: 45  Ira’s design goal: ~6 hours per week = 24 total

10  Resourcefulness  Learning Unity  Learning C# programming concepts  Some advanced concepts missing

11 ResourceUsed (out of 12) Walkthroughs11 Jen11 Internet10 Isaiah9 Other students6 Ira3

12  Balance of:  Ira lecture/guest speaker  Code demo specific to the project  Lab time (majority here)

13 int[] temperatures = new int[5]; 01234

14 temperatures[0] = 58; 01234 key or index 58 value

15 int[] temperatures = new int[5]; temperatures[0] = 58; temperatures[1] = 60; temperatures[2] = 70; temperatures[3] = 68; temperatures[4] = 62; 01234 5860706862

16 int[,] birds = new int[5,4]; 01234 0 1 2 3

17 birds[0,0] = 3; 01234 0 1 2 3 3

18 birds[4,3] = 2; 01234 3 6794 01558 22810 12112 0 1 2 3

19 int[,] birds = new int[5,4]; // Watch for a random number of birds // over 5 days for 4 weeks. for (int week = 0; week < 4; week++) { for (int day = 0; day < 5; day++) { birds[day,week] = Random.Range(0,10); }

20 day == 0 week == 0 birds[day,week] 01234 0 1 2 3

21 day == 1 week == 0 birds[day,week] 01234 0 1 2 3

22 day == 2 week == 0 birds[day,week] 01234 0 1 2 3

23 day == 3 week == 0 birds[day,week] 01234 0 1 2 3

24 day == 4 week == 0 birds[day,week] 01234 0 1 2 3

25 day == 5 week == 0 birds[day,week] 01234 0 1 2 3

26 int[,] birds = new int[5,4]; // Watch for a random number of birds // over 5 days for 4 weeks. for (int week = 0; week < 4; week++) { for (int day = 0; day < 5; day++) { birds[day,week] = Random.Range(0,10); }

27 day == 0 week == 1 birds[day,week] 01234 0 1 2 3

28 int[,] birds = new int[5,4]; // Watch for a random number of birds // over 5 days for 4 weeks. for (int week = 0; week < 4; week++) { for (int day = 0; day < 5; day++) { birds[day,week] = Random.Range(0,10); }

29 int[,] birds = new int[5,4]; // Watch for a random number of birds // over 5 days for 4 weeks. for (int day = 0; day < 5; day++) { for (int week = 0; week < 4; week++) { birds[day,week] = Random.Range(0,10); }

30 day == 0 week == 0 birds[day,week] 01234 0 1 2 3

31 day == 0 week == 1 birds[day,week] 01234 0 1 2 3

32 day == 0 week == 2 birds[day,week] 01234 0 1 2 3

33 day == 0 week == 3 birds[day,week] 01234 0 1 2 3

34 day == 0 week == 4 birds[day,week] 01234 0 1 2 3

35 int[,] birds = new int[5,4]; // Watch for a random number of birds // over 5 days for 4 weeks. for (int day = 0; day < 5; day++) { for (int week = 0; week < 4; week++) { birds[day,week] = Random.Range(0,10); }

36 day == 1 week == 0 birds[day,week] 01234 0 1 2 3

37 int[,] birds = new int[5,4]; // Watch for a random number of birds // over 5 days for 4 weeks. for (int week = 0; week < 4; week++) { for (int day = 0; day < 5; day++) { birds[day,week] = Random.Range(0,10); }

38 int maxDays = 5; int maxWeeks = 4; int[,] birds = new int[maxDays,maxWeeks]; // Watch for a random number of birds // over maxDays for maxWeeks. for (int week = 0; week < maxWeeks; week++) { for (int day = 0; day < maxDays; day++) { birds[day,week] = Random.Range(0,10); }

39  Questions?

40  An approach to programming, a way of thinking about code  Objects contain data (often called attributes) and can do things (often called methods)

41  Human  Age  Eye Color  Preferred Pronoun  etc.  Methods  Eat()  Sleep()

42  Professor  College name  Title  Office hours  etc.  Methods  Teach()

43  Unity is built using this approach  http://docs.unity3d.com/ScriptReference/Mono Behaviour.html

44  Transportation Part 2: Create a new class for the airplane

45  Creating an airplane class  Transportation Part 1 walkthrough

46  Submit Transportation Part 1 via Google Doc  Transportation Part 2 starts today  Walkthrough appears 48 hours from now  Complete Mining Survey if you haven’t already  Jess Loeb interview on Wednesday

47 // Count from 1 to 9 for (int i = 1; i < 10; i++) { print (i); } // We could also use a while() loop int i = 1; while (i < 10) { print (i); i += 1; }

48  With a growth mindset, we can improve our skills through practicing.  Learning happens over time, not instantly.  The process of learning is uncomfortable when we’re not competent yet.

49  What files Unity creates  What files are most important

50  Isaiah + team made a game over the summer! http://stout.hampshire.edu/~ibm13/CraftingLife


Download ppt "Professor Ira Fay Class 6. Mining survey feedback 2D arrays Objects Part 1 walkthrough."

Similar presentations


Ads by Google