Download presentation
Presentation is loading. Please wait.
1
Welcome back to Software Development!
2
The “Quiz” – A Postmortem
3
The “Quiz” – A Postmortem
Take 5 minutes…
4
The “Quiz” – A Postmortem
Take 5 minutes… Together with your team…
5
The “Quiz” – A Postmortem
Take 5 minutes… Together with your team… Discuss the project yesterday:
6
The “Quiz” – A Postmortem
Take 5 minutes… Together with your team… Discuss the project yesterday: Focus on how well you worked together, the process
7
The “Quiz” – A Postmortem
Take 5 minutes… Together with your team… Discuss the project yesterday: Focus on how well you worked together, the process What worked well
8
The “Quiz” – A Postmortem
Take 5 minutes… Together with your team… Discuss the project yesterday: Focus on how well you worked together, the process What worked well What didn’t work well and needs to be improved
9
The “Quiz” – A Postmortem
Take 5 minutes… Together with your team… Discuss the project yesterday: Focus on how well you worked together, the process What worked well What didn’t work well and needs to be improved What was difficult / frustrating?
10
Clear and Unclear Windows on Reading
11
The “Quiz” – A Postmortem
12
The “Quiz” – A Postmortem
Overall, very impressed … focused and on-task
13
The “Quiz” – A Postmortem
Overall, very impressed … focused and on-task Good job doing some testing
14
The “Quiz” – A Postmortem
Overall, very impressed … focused and on-task Good job doing some testing Good job noting boundary conditions
15
The “Quiz” – A Postmortem
Overall, very impressed … focused and on-task Good job doing some testing Good job noting boundary conditions Strategy statement – was a bit rougher…
16
The “Quiz” – A Postmortem
Overall, very impressed … focused and on-task Good job doing some testing Good job noting boundary conditions Strategy statement – was a bit rougher… Main problems I saw:
17
The “Quiz” – A Postmortem
Overall, very impressed … focused and on-task Good job doing some testing Good job noting boundary conditions Strategy statement – was a bit rougher… Main problems I saw: Flowcharts did not match algorithms
18
The “Quiz” – A Postmortem
Overall, very impressed … focused and on-task Good job doing some testing Good job noting boundary conditions Strategy statement – was a bit rougher… Main problems I saw: Flowcharts did not match algorithms Only have 1 exit from the flowchart
19
The “Quiz” – A Postmortem
Overall, very impressed … focused and on-task Good job doing some testing Good job noting boundary conditions Strategy statement – was a bit rougher… Main problems I saw: Flowcharts did not match algorithms Only have 1 exit from the flowchart Packet organization … Strategy? Algo?
20
The “Quiz” – A Postmortem
21
The “Quiz” – A Postmortem
What made this hard?
22
The “Quiz” – A Postmortem
What made this hard? I didn’t include all requirements did I?
23
The “Quiz” – A Postmortem
What made this hard? I didn’t include all requirements did I? I expect you to make intelligent design decisions
24
The “Quiz” – A Postmortem
What made this hard? I didn’t include all requirements did I? I expect you to make intelligent design decisions Be ready to sell me on your ideas
25
The “Quiz” – A Postmortem
What made this hard? I didn’t include all requirements did I? I expect you to make intelligent design decisions Be ready to sell me on your ideas Don’t be frustrated by frustration
26
The “Quiz” – A Postmortem
What made this hard? I didn’t include all requirements did I? I expect you to make intelligent design decisions Be ready to sell me on your ideas Don’t be frustrated by frustration Work through it, push through it, use it to make you fight harder!
27
The “Quiz” – A Postmortem
What made this hard? I didn’t include all requirements did I? I expect you to make intelligent design decisions Be ready to sell me on your ideas Don’t be frustrated by frustration Work through it, push through it, use it to make you fight harder! Not enough time was there?
28
The “Quiz” – A Postmortem
What made this hard? I didn’t include all requirements did I? I expect you to make intelligent design decisions Be ready to sell me on your ideas Don’t be frustrated by frustration Work through it, push through it, use it to make you fight harder! Not enough time was there? Time pressure made it harder
29
The “Quiz” – A Postmortem
What made this hard? I didn’t include all requirements did I? I expect you to make intelligent design decisions Be ready to sell me on your ideas Don’t be frustrated by frustration Work through it, push through it, use it to make you fight harder! Not enough time was there? Time pressure made it harder All this put pressure on the team
30
The “Quiz” – A Postmortem
What made this hard? I didn’t include all requirements did I? I expect you to make intelligent design decisions Be ready to sell me on your ideas Don’t be frustrated by frustration Work through it, push through it, use it to make you fight harder! Not enough time was there? Time pressure made it harder All this put pressure on the team Team work, agreement, cooperation…
31
The “Quiz” – A Postmortem
32
The “Quiz” – A Postmortem
The time pressure you felt …
33
The “Quiz” – A Postmortem
The time pressure you felt … get used to it
34
The “Quiz” – A Postmortem
The time pressure you felt … get used to it I threw some ambiguous requirements (tasks) at you …
35
The “Quiz” – A Postmortem
The time pressure you felt … get used to it I threw some ambiguous requirements (tasks) at you … get used to it
36
The “Quiz” – A Postmortem
The time pressure you felt … get used to it I threw some ambiguous requirements (tasks) at you … get used to it You will need to learn to function
37
The “Quiz” – A Postmortem
The time pressure you felt … get used to it I threw some ambiguous requirements (tasks) at you … get used to it You will need to learn to function Under time constraints
38
The “Quiz” – A Postmortem
The time pressure you felt … get used to it I threw some ambiguous requirements (tasks) at you … get used to it You will need to learn to function Under time constraints With new and changing requirements
39
The “Quiz” – A Postmortem
The time pressure you felt … get used to it I threw some ambiguous requirements (tasks) at you … get used to it You will need to learn to function Under time constraints With new and changing requirements Most important thing is to be flexible
40
The “Quiz” – A Postmortem
41
The “Quiz” – A Postmortem
I want everyone to succeed at this … everyone to get an A
42
The “Quiz” – A Postmortem
I want everyone to succeed at this … everyone to get an A If you want, you may complete the project over the weekend
43
The “Quiz” – A Postmortem
I want everyone to succeed at this … everyone to get an A If you want, you may complete the project over the weekend I will not enter the grades until Monday
44
The “Quiz” – A Postmortem
I want everyone to succeed at this … everyone to get an A If you want, you may complete the project over the weekend I will not enter the grades until Monday Every team should be able to get MAX points … 30/30
45
The “Quiz” – A Postmortem
I want everyone to succeed at this … everyone to get an A If you want, you may complete the project over the weekend I will not enter the grades until Monday Every team should be able to get MAX points … 30/30 A L W A Y S S T R I V E F O R E X C E L L E N C E !
46
The “Quiz” – A Postmortem
I want everyone to succeed at this … everyone to get an A If you want, you may complete the project over the weekend I will not enter the grades until Monday Every team should be able to get MAX points … 30/30 A L W A Y S S T R I V E F O R E X C E L L E N C E ! Never accept second best out of yourself
47
The “Quiz” – A Postmortem
I want everyone to succeed at this … everyone to get an A If you want, you may complete the project over the weekend. I will not enter the grades until Monday. Every team should be able to get MAX points … 30/30 A L W A Y S S T R I V E F O R E X C E L L E N C E ! Never accept second best out of yourself Never.
48
The C# Programming Language - Overview
49
The C# Programming Language - Overview
How do I get from the flowchart to code????
50
The C# Programming Language - Overview
How do I get from the flowchart to code???? An example…
51
“Sorting a list of numbers” Algo Example
Strategy statement
52
“Sorting a list of numbers” Algo Example
Strategy statement Use my “smallest number” algorithm to find the smallest number in the list. When found, swap it with the first item in the list and then consider the remaining list (from the 2nd item on) as the new list. Repeat this until only have one number left in the list.
53
“Sorting a list of numbers” Algo Example
Start with full list Remember where start of list is Do Run “smallest number” algorithm on list – get smallest number Swap smallest number with first number in list New list starts with 2nd item Until at last number Original list is now sorted
54
New list starts w/2nd item
Start w/full list Remember start of list Sorting Algorithm Flowchart Get smallest # Swap w/1st New list starts w/2nd item Last #? No Yes Orig list is sorted
55
// The list is in “myList” // Figure out where the last item in the list is. lastItem = myList.length - 1; // Point to the first item in the list. currItem = 0; do { // my algorithm returns the location of the smallest number locationOfSmallest = GetSmallestNumber( myList ); // Swap the smallest item with the first item temp = myList[currItem ]; myList[currItem ] = myList[ locationOfSmallest ]; myList[ locationOfSmallest ] = temp; // Point to the next item…”new” list is one smaller currItem += 1; } while ( currItem < lastItem );
56
The C# Programming Language
57
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
58
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
59
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
60
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
61
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
62
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
63
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
64
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
65
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
66
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
67
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
68
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
69
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
70
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
71
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
72
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
73
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
74
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
75
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
76
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
77
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
78
The C# Programming Language
Branching Looping Numeric Data Types if / else do / while bool switch / case / default while int / long break for float / double return foreach char / string try / catch / throw continue
79
.NET
80
.NET C# is a programming language
81
.NET C# is a programming language
.NET is a “framework” or a “platform” that C# operates in
82
.NET C# is a programming language
.NET is a “framework” or a “platform” that C# operates in .NET provides a very rich universe of algorithms for you to use
83
.NET C# is a programming language
.NET is a “framework” or a “platform” that C# operates in .NET provides a very rich universe of algorithms for you to use It “abstracts” the computer
84
.NET C# is a programming language
.NET is a “framework” or a “platform” that C# operates in .NET provides a very rich universe of algorithms for you to use It “abstracts” the computer Gives you a general way to:
85
.NET C# is a programming language
.NET is a “framework” or a “platform” that C# operates in .NET provides a very rich universe of algorithms for you to use It “abstracts” the computer Gives you a general way to: Do I/O (display information, get keyboard and mouse clicks, etc)
86
.NET C# is a programming language
.NET is a “framework” or a “platform” that C# operates in .NET provides a very rich universe of algorithms for you to use It “abstracts” the computer Gives you a general way to: Do I/O (display information, get keyboard and mouse clicks, etc) Read/write (R/W) data to/from the HDD (hard disk)
87
.NET C# is a programming language
.NET is a “framework” or a “platform” that C# operates in .NET provides a very rich universe of algorithms for you to use It “abstracts” the computer Gives you a general way to: Do I/O (display information, get keyboard and mouse clicks, etc) Read/write (R/W) data to/from the HDD (hard disk) Gives you the ability to manipulate/use complicated objects:
88
.NET C# is a programming language
.NET is a “framework” or a “platform” that C# operates in .NET provides a very rich universe of algorithms for you to use It “abstracts” the computer Gives you a general way to: Do I/O (display information, get keyboard and mouse clicks, etc) Read/write (R/W) data to/from the HDD (hard disk) Gives you the ability to manipulate/use complicated objects: “Strings” – sentences, words, etc (alphanumeric)
89
.NET C# is a programming language
.NET is a “framework” or a “platform” that C# operates in .NET provides a very rich universe of algorithms for you to use It “abstracts” the computer Gives you a general way to: Do I/O (display information, get keyboard and mouse clicks, etc) Read/write (R/W) data to/from the HDD (hard disk) Gives you the ability to manipulate/use complicated objects: “Strings” – sentences, words, etc (alphanumeric) Lists
90
.NET C# is a programming language
.NET is a “framework” or a “platform” that C# operates in .NET provides a very rich universe of algorithms for you to use It “abstracts” the computer Gives you a general way to: Do I/O (display information, get keyboard and mouse clicks, etc) Read/write (R/W) data to/from the HDD (hard disk) Gives you the ability to manipulate/use complicated objects: “Strings” – sentences, words, etc (alphanumeric) Lists and a billion more…
91
.NET
92
.NET .NET is like an onion
93
.NET .NET is like an onion … it has layers
94
.NET .NET is like an onion … it has layers
Outermost layer is the most general
95
.NET .NET is like an onion … it has layers
Outermost layer is the most general Innermost is the most specific
96
The .NET Onion
97
Outer layer The .NET Onion
98
Outer layer - namespace
The .NET Onion
99
The .NET Onion Outer layer - namespace
Grouping of algorithms and capabilities The .NET Onion
100
The .NET Onion Outer layer - namespace
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … The .NET Onion
101
The .NET Onion Outer layer - namespace Next layer
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer The .NET Onion
102
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) The .NET Onion
103
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) These are the algorithms and “abstracted” objects The .NET Onion
104
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) These are the algorithms and “abstracted” objects This is the outer most layer of code … you will create classes The .NET Onion
105
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) These are the algorithms and “abstracted” objects This is the outer most layer of code … you will create classes Next layer The .NET Onion
106
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) These are the algorithms and “abstracted” objects This is the outer most layer of code … you will create classes Next layer – methods and properties The .NET Onion
107
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) These are the algorithms and “abstracted” objects This is the outer most layer of code … you will create classes Next layer – methods and properties Inside a class The .NET Onion
108
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) These are the algorithms and “abstracted” objects This is the outer most layer of code … you will create classes Next layer – methods and properties Inside a class Methods - the action part of the class - the actual algorithm The .NET Onion
109
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) These are the algorithms and “abstracted” objects This is the outer most layer of code … you will create classes Next layer – methods and properties Inside a class Methods - the action part of the class - the actual algorithm Properties – how you use (talk to) the algorithm (interface) The .NET Onion
110
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) These are the algorithms and “abstracted” objects This is the outer most layer of code … you will create classes Next layer – methods and properties Inside a class Methods - the action part of the class - the actual algorithm Properties – how you use (talk to) the algorithm (interface) Innermost layer The .NET Onion
111
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) These are the algorithms and “abstracted” objects This is the outer most layer of code … you will create classes Next layer – methods and properties Inside a class Methods - the action part of the class - the actual algorithm Properties – how you use (talk to) the algorithm (interface) Innermost layer – statements The .NET Onion
112
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) These are the algorithms and “abstracted” objects This is the outer most layer of code … you will create classes Next layer – methods and properties Inside a class Methods - the action part of the class - the actual algorithm Properties – how you use (talk to) the algorithm (interface) Innermost layer – statements Inside methods The .NET Onion
113
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) These are the algorithms and “abstracted” objects This is the outer most layer of code … you will create classes Next layer – methods and properties Inside a class Methods - the action part of the class - the actual algorithm Properties – how you use (talk to) the algorithm (interface) Innermost layer – statements Inside methods This is the actual C# code The .NET Onion
114
The .NET Onion Outer layer - namespace Next layer – classes (objects)
Grouping of algorithms and capabilities One of the biggest is “System” … think of it as Windows … Next layer – classes (objects) These are the algorithms and “abstracted” objects This is the outer most layer of code … you will create classes Next layer – methods and properties Inside a class Methods - the action part of the class - the actual algorithm Properties – how you use (talk to) the algorithm (interface) Innermost layer – statements Inside methods This is the actual C# code The .NET Onion
115
The Console Object (Class)
116
The Console Object (Class)
One way to talk with the user
117
The Console Object (Class)
One way to talk with the user The “console” is basically a DOS window
118
The Console Object (Class)
One way to talk with the user The “console” is basically a DOS window Start
119
The Console Object (Class)
One way to talk with the user The “console” is basically a DOS window Start > Run
120
The Console Object (Class)
One way to talk with the user The “console” is basically a DOS window Start > Run > cmd
121
The Console Object (Class)
One way to talk with the user The “console” is basically a DOS window Start > Run > cmd The command window is an example of a “console”
122
The Console Object (Class)
One way to talk with the user The “console” is basically a DOS window Start > Run > cmd The command window is an example of a “console” You can display messages to the user
123
The Console Object (Class)
One way to talk with the user The “console” is basically a DOS window Start > Run > cmd The command window is an example of a “console” You can display messages to the user Console.Write and Console.WriteLine
124
The Console Object (Class)
One way to talk with the user The “console” is basically a DOS window Start > Run > cmd The command window is an example of a “console” You can display messages to the user Console.Write and Console.WriteLine You can get input from the user (typing)
125
The Console Object (Class)
One way to talk with the user The “console” is basically a DOS window Start > Run > cmd The command window is an example of a “console” You can display messages to the user Console.Write and Console.WriteLine You can get input from the user (typing) Console.Read and Console.ReadLine
126
Assignment due Friday
127
Assignment due Friday Read pages of your text (most of chapter 1)
128
Assignment due Friday Read pages of your text (most of chapter 1) Take notes
129
Assignment due Friday Read pages of your text (most of chapter 1) Take notes Very important!
130
Assignment due Friday Read pages of your text (most of chapter 1) Take notes Very important! Write down questions you have!!!
131
Assignment due Friday Read pages of your text (most of chapter 1) Take notes Very important! Write down questions you have!!! Bring them to class Friday
132
Assignment due Friday Read pages of your text (most of chapter 1) Take notes Very important! Write down questions you have!!! Bring them to class Friday If you choose, go for excellence on your quiz project.
133
Clear and Unclear Windows
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.