Difference between revisions of "Main Page"
From CompSciWiki
(→Table of Contents) |
|||
Line 9: | Line 9: | ||
*[[Installing TextPad and Java SDK]] | *[[Installing TextPad and Java SDK]] | ||
**[[Installing TextPad and Java SDK#How to Install|How to Install]] - Chris M | **[[Installing TextPad and Java SDK#How to Install|How to Install]] - Chris M | ||
− | **[[Installing TextPad and Java SDK#Helpful TextPad Options|Helpful Textpad Options]] | + | **[[Installing TextPad and Java SDK#Helpful TextPad Options|Helpful Textpad Options]] - Eli |
**[[Installing TextPad and Java SDK#Common Problems|Common Problems]] - Chris M | **[[Installing TextPad and Java SDK#Common Problems|Common Problems]] - Chris M | ||
*[[Getting Started#Review Questions and Exercises|Review Questions and Exercises]] | *[[Getting Started#Review Questions and Exercises|Review Questions and Exercises]] | ||
Line 38: | Line 38: | ||
===[[Calling Methods]]=== | ===[[Calling Methods]]=== | ||
− | *[[Calling Methods#String Methods|String Methods (just mention compare methods--more on these methods later)]] | + | *[[Calling Methods#Introduction|Introduction]] - Eli |
+ | *[[Calling Methods#String Methods|String Methods (just mention compare methods--more on these methods later)]] - Eli | ||
*[[Calling Methods#Math Methods|Math Methods]] - Basel | *[[Calling Methods#Math Methods|Math Methods]] - Basel | ||
− | *[[Calling Methods#JOption Pane Methods|JOptionPane Methods (for various dialog boxes)]] | + | *[[Calling Methods#JOption Pane Methods|JOptionPane Methods (for various dialog boxes)]] - Eli |
*[[Calling Methods#Review Questions and Exercises|Review Questions and Exercises]] | *[[Calling Methods#Review Questions and Exercises|Review Questions and Exercises]] | ||
Revision as of 16:21, 6 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?
- Programming Languages
- Anatomy of a Program Adam D
- The Programming Process Adam D
Your First Java Program
- Anatomy of a Java Program - Kelly
- Comments - Kelly
- Output using System.out. - Kelly
- Input using JOptionPane - Kelly
- Variables and Literals
- Common Primitive Variables
- ints
- chars
- double
- boolean
- Arithmetic Operators
- 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
Control Structures
- if-else
- Nested if-else
- Logical and Relative Operators
- Comparing Strings
- Review Questions and Exercises
Loops
User-Defined Methods
- Overview
- Writing a Method
- Calling a User-Defined Method
- Methods and Scoping
- Commenting Methods
- Passing Arguments using Methods
- Review Questions and Exercises
Arrays
- Overview
- Creating Arrays
- Entering and Using Array Elements
- Out of Bounds and One off Errors
- Processing Arrays (using for loops)
- length attribute
- print content of array
- copying arrays
- comparing arrays
- summing values
- finding average of values
- find highest and lowest values
- 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