Difference between revisions of "Main Page"
From CompSciWiki
Line 41: | Line 41: | ||
===[[Control Structures]]=== | ===[[Control Structures]]=== | ||
− | * | + | *[[Control Structures#The If Statement|If statements]] |
− | *Nested if-else | + | *[[Control Structures#The If-Else Statement|If-else statements]] |
− | *Logical and Relative Operators | + | *[[Control Structures#Nesting|Nested if-else]] |
− | *Comparing Strings | + | *[[Control Structures#Conditions|Logical and Relative Operators]] |
− | *Review Questions and Exercises | + | *[[Control Structures#Comparing Strings|Comparing Strings]] |
+ | *[[Control Structures#Review Questions and Exercises|Review Questions and Exercises]] | ||
===[[Loops]]=== | ===[[Loops]]=== |
Revision as of 16:43, 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
- 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 - Chris M
Control Structures
- If statements
- If-else statements
- 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