Navigation
index
next
|
COMP 170
»
Introduction to Computer Science in C#
¶
1. Context
1.1. Introduction to the Notes
1.2. Comments on Miles Chapter 1
2. C# Data and Operations
2.1. Development Tools
2.2. Lab Exercise: Editing, Compiling, and Running
2.3. Comments on Miles Simple Data
2.4. Division and Remainders
2.5. Substitutions in Console.WriteLine
2.6. Learning to Solve Problems
2.7. Lab: Division Sentences
2.8. Homework: Grade Calculation
3. Defining Functions of your Own
3.1. Syntax Template Typography
3.2. A First Function Definition
3.3. Multiple Function Definitions
3.4. Function Parameters
3.5. Multiple Function Parameters
3.6. Returned Function Values
3.7. Two Roles: Writer and Consumer of Functions
3.8. Local Scope
3.9. Static Variables
3.10. Not using Return Values
4. Basic String Operations
4.1. String Indexing
4.2. Some Instance Methods and the Length Property
4.3. A Creative Problem Solution
4.4. Lab: String Operations
5. Decisions
5.1. Conditions I
5.2. Simple
if
Statements
5.3.
if
-
else
Statements
5.4. More Conditional Expressions
5.5. Multiple Tests and
if
-
else
Statements
5.6. If-statement Pitfalls
5.7. Compound Boolean Expressions
6. While Loops
6.1. While-Statements
6.2. While-Statements with Sequences
6.3. Interactive
while
Loops
6.4. Short-Circuiting && and ||
6.5. While Examples
6.6. More String Methods
6.7. Algorithms using While
6.8. Do-While Loops
6.9. Number Guessing Game Lab
6.10. Homework: Grade Calculation from Individual Scores
6.11. Lab: Using MonoDevelop
6.12. Lab: Version Control
7. Foreach Loops
7.1.
foreach
Syntax
7.2. foreach Examples
8. For Loops
8.1. For-Statement Syntax
8.2. Examples With
for
Statements
9. Files
9.1. File Syntax
9.2. Grade File Homework
10. Arrays
10.1. One Dimensional Arrays
10.2. Musical Scales and Arrays
10.3. Linear Searching
10.4. Sorting Algorithms
10.5. Binary Searching
10.6. Lab: Arrays
10.7. Lab: Performance
10.8. Multi-dimensional Arrays
11. Lists
11.1. List Syntax
11.2. .Net Library (API)
12. Dictionaries
12.1. Dictionary Syntax
12.2. Dictionary Efficiency
12.3. Dictionary Examples
12.4. Lab: File Data and Collections
13. Classes
13.1. A First Class Example: Rational
13.2. Classes And Structs
13.3. Class Examples
13.4. Book List Assignment
13.5. Mercurial and Teamwork
14. Interfaces
14.1. Fractions Revisited
14.2. CSProj Revisited
14.3. Group Game Project
15. Testing
15.1. Assertions
15.2. Attributes
15.3. Testing the Constructor
15.4. Testing Rational Comparisons
15.5. Testing Rational Arithmetic
15.6. Testing Rational Conversions (to other types)
15.7. Testing the Parsing Feature
15.8. Running the Tests
16. Acknowledgements
17. Change Log
18. TODO’s
Index and search
¶
Index
Search Page
Table Of Contents
Introduction to Computer Science in C#
Index and search
Next topic
1. Context
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Navigation
index
next
|
COMP 170
»