Difference between revisions of "Main Page"
From CompSciWiki
Line 79: | Line 79: | ||
===[[Arrays]]=== | ===[[Arrays]]=== | ||
*[[Overview of Arrays|Overview]] | *[[Overview of Arrays|Overview]] | ||
− | *[[Creating Arrays]] | + | *[[Creating Arrays]] -Abu |
*[[Entering and Using Array Elements]] | *[[Entering and Using Array Elements]] | ||
*[[Out of Bounds and One off Errors]] - Andrew | *[[Out of Bounds and One off Errors]] - Andrew | ||
Line 85: | Line 85: | ||
**length attribute | **length attribute | ||
**print content of array | **print content of array | ||
− | **copying arrays | + | **copying arrays -Abu |
− | **comparing arrays | + | **comparing arrays -Abu |
**summing values - Andrew | **summing values - Andrew | ||
**finding average of values - Andrew | **finding average of values - Andrew |
Revision as of 14:44, 20 March 2007
Contents
Welcome to the Wiki-Based Text for COMP 1010: Intro Computer Science 1
This text is written for students in the first year course COMP 1010 at the University of Manitoba. This wiki was written by students in the course COMP 3040: Technical Communication for Computer Scientists.
Table of Contents
Getting Started
- Claiming IDs - Basel
- Installing TextPad and Java SDK
- How to Install - Chris M
- Helpful Textpad Options - Eli
- Common Problems - Chris M
- Review Questions and Exercises
What is Programming?
- The Programming Process Adam D - Travis (edit one pass)
- Anatomy of a Program Adam D - Travis (edit one pass)
- Review Questions and Exercises Adam D
- Further Reading non-examinable Chris I-B
Your First Java Program
- Anatomy of a Java Program - Kelly
- Comments - Kelly
- Output Using System.out. - Kelly
- Input Using JOptionPane - Kelly
- Variables and Literals - John
- Common Primitive Variables - John
- Arithmetic Operators - John
- Strings - Doug
- Increment and Decrement Operators - Doug
- Casting - Doug
- Named Constants - Doug
- Review Questions and Exercises
Calling Methods
- Introduction - Eli
- String Methods (just mention compare methods--more on these methods later) - Eli
- Math Methods - Basel
- JOptionPane Methods (for various dialog boxes) - Chris M
- Review Questions and Exercises - Chris M
Control Structures
- If statements Chris I-B
- If-else statements Chris I-B
- Nested if-else Chris I-B
- Logical and Relative Operators Adam H
- Comparing Strings Adam H
- Review Questions and Exercises Adam H
Loops
- Types of Loops - Roger and Vic (check inside)
- Additional Information - David
User-Defined Methods
- Overview - Mark
- Writing a Method - Willson
- Calling a User-Defined Method - Jenny-Lynn
- Methods and Scoping - Jenny-Lynn
- Commenting Methods - Mark
- Passing Arguments using Methods - Mark
- Review Questions and Exercises
Arrays
- Overview
- Creating Arrays -Abu
- Entering and Using Array Elements
- Out of Bounds and One off Errors - Andrew
- Processing Arrays (using for loops)
- length attribute
- print content of array
- copying arrays -Abu
- comparing arrays -Abu
- summing values - Andrew
- finding average of values - Andrew
- find highest and lowest values - Andrew
- Review Questions and Exercises
More with Arrays
- Passing Arrays using Methods
- Working with Partially Filled Arrays
- Arrays of Strings
- Searching Arrays
- Sorting Arrays
- Selection Sort
- Binary Sort
- Review Questions and Exercises