Difference between revisions of "Main Page"
From CompSciWiki
Line 14: | Line 14: | ||
===[[What is Programming?]]=== | ===[[What is Programming?]]=== | ||
− | *[[Programming Languages]] | + | *[[What is Programming?#Programming Languages]] |
*Anatomy of a Program | *Anatomy of a Program | ||
*The Programming Process | *The Programming Process |
Revision as of 16:02, 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
- Installing TextPad and Java SDK
- How to Install
- Helpful TextPad Options
- Common Problems
- Review Questions and Exercises
What is Programming?
- What is Programming?#Programming Languages
- Anatomy of a Program
- The Programming Process
- Review Questions and Exercises
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
- String Methods (just mention compare methods--more on these methods later)
- Math Methods
- JOptionPane Methods (for various dialog boxes)
- 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