Difference between revisions of "Main Page"
From CompSciWiki
(→Your First Java Program) |
|||
Line 22: | Line 22: | ||
===[[Your First Java Program]]=== | ===[[Your First Java Program]]=== | ||
− | *[[Anatomy of a Java Program]] - Kelly | + | *[[Your First Java Program#Anatomy of a Java Program|Anatomy of a Java Program]] - Kelly |
*[[Comments]] - Kelly | *[[Comments]] - Kelly | ||
*[[Output using System.out.]] - Kelly | *[[Output using System.out.]] - Kelly |
Revision as of 14:17, 12 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) - Eli
- 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
- 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
- comparing arrays
- 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