Difference between revisions of "Main Page"

From CompSciWiki
Jump to: navigation, search
(Arrays)
Line 1: Line 1:
==Welcome to the Wiki-Based Text for COMP 1010: Intro Computer Science 1==
+
__NOTOC__
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 for Header begins-->
 +
<table border=0 cellpadding=0 cellspacing=0 width="100%">
 +
<tr>
 +
  <td bgcolor=#222222 width="70%"> <h1><font color = "white">Welcome to the Wiki-Based Text for COMP 1010 at the UofM</font></h1></td>
 +
  <td rowspan=2 bgcolor=#222222 width="5%"> </td>
 +
  <td rowspan=2 align=center width="25%">[[Image:CoffeeCup.jpg|'center']] </td>
 +
</tr>
 +
<tr>
 +
  <td bgcolor=#222222><center><FONT SIZE="+1" COLOR = "white"> <em>Written For Students By Students</em></FONT></center></td>
 +
</tr>
 +
</table>
 +
<!--Table of Contents cells begin here-->
 +
<table border=0 cellpadding=0 cellspacing=0 width="100%">
 +
<tr>
 +
  <td width="70%" color=#222222><h3> Chapter 1: [[Getting_Started|Getting Started]]</h3></td>
 +
  <td rowspan = 12 width="5%"> </td>
 +
  <td rowspan= 12 align=center width="25%" bgcolor="#CC9933">
 +
Welcome to COMP 1010 at the University of Manitoba. This text will show you how to <b>set up</b> your own computer so you can do your assignments at home. Confused about <b>logging in </b>to the website or the lab computers? Read on. Then you will learn how to <b>write your first program in Java</b>. And from here you'll learn how to write programs that do more than output <b>"Hello World!"</b>. We'll show you how to use loops, call methods, write methods, and understand arrays. Just as importantly, we'll talk about the importance of solving problems and thinking like a programmer. Finally there's a chapter that's meant to show you that computer science is about much more than programming.  
  
[[Image:CoffeeCup.jpg|frame|]]
+
P.S. Interested in learning more about a wiki? Or about how this wiki-based text came to be? Click here.
  
==Table of Contents==
 
===[[Getting Started]]===
 
*[[Claiming IDs]] - Basel
 
**[[Claiming IDs#U of M ID|U of M ID]]
 
**[[Claiming IDs#nTP ID|nTP ID]]
 
*[[Installing TextPad and Java SDK]]
 
**[[Installing TextPad and Java SDK#How to Install|How to Install]] - Chris M
 
**[[Installing TextPad and Java SDK#Helpful TextPad Options|Helpful Textpad Options]] - Eli
 
**[[Installing TextPad and Java SDK#Common Problems|Common Problems]] - Chris M
 
*[[Getting Started#Review Questions and Exercises|Review Questions and Exercises]]
 
  
===[[What is Programming?]]===
 
*[[What is Programming?#The Programming Process|The Programming Process]] Adam D - Travis (edit one pass)
 
*[[What is Programming?#Anatomy of a Program|Anatomy of a Program]] Adam D - Travis (edit one pass)
 
*[[What is Programming?#Review Questions and Exercises|Review Questions and Exercises]] Adam D
 
*[[What Is Programming Part II|Further Reading]] ''non-examinable''  Chris I-B
 
  
===[[Your First Java Program]]===
+
  </td>
*[[Your First Java Program#Anatomy of a Java Program|Anatomy of a Java Program]] - Kelly
+
</tr>
*[[Your First Java Program#Comments|Comments]] - Kelly
+
<tr>
*[[Your First Java Program#Output Using System.out.|Output Using System.out.]] - Kelly
+
  <td color=#222222><h3> Chapter 2: [[What_is_Programming%3F|What is Programming]] </h3></td>
*[[Your First Java Program#Input Using JOptionPane|Input Using JOptionPane]] - Kelly
+
</tr>
*[[Your First Java Program#Variables and Literals|Variables and Literals]] - John
+
<tr>
*[[Your First Java Program#Common Primitive Variables|Common Primitive Variables]] - John
+
  <td color=#222222><h3> Chapter 3: [[Your_First_Java_Program]] </h3></td>
*[[Your First Java Program#Arithmetic Operators|Arithmetic Operators]] - John
+
</tr>
*[[Your First Java Program#Strings|Strings]] - Doug
+
<tr>
*[[Your First Java Program#Increment and Decrement Operators|Increment and Decrement Operators]] - Doug
+
  <td color=#222222><h3> Chapter 4: [[Calling_Methods]]</h3></td>
*[[Your First Java Program#Casting|Casting]] - Doug
+
</tr>
*[[Your First Java Program#Named Constants|Named Constants]] - Doug
+
<tr>
*[[Your First Java Program Review Questions and Exercises|Review Questions and Exercises]]
+
  <td color=#222222><h3> Chapter 5: [[Control_Structures]]</h3></td>
 
+
</tr>
===[[Calling Methods]]===
+
<tr>
*[[Calling Methods#Introduction|Introduction]] - Eli
+
  <td color=#222222><h3> Chapter 6: [[Loops]]</h3></td>
*[[Calling Methods#String Methods|String Methods (just mention compare methods--more on these methods later)]] - Eli
+
</tr>
*[[Calling Methods#Math Methods|Math Methods]] - Basel
+
<tr>
*[[Calling Methods#JOption Pane Methods|JOptionPane Methods (for various dialog boxes)]] - Chris M
+
  <td color=#222222><h3> Chapter 7: [[User_Defined_Methods]]</h3></td>
*[[Calling Methods#Review Questions and Exercises|Review Questions and Exercises]] - Chris M
+
</tr>
 
+
<tr>
===[[Control Structures]]===
+
  <td color=#222222><h3> Chapter 8: [[Arrays]]</h3></td>
*[[Control Structures#The If Statement|If statements]]  Chris I-B
+
</tr>
*[[Control Structures#The If-Else Statement|If-else statements]] Chris I-B
+
<tr>
*[[Control Structures#Nesting|Nested if-else]]  Chris I-B
+
  <td color=#222222><h3> Chapter 9: [[More_With_Arrays]]</h3></td>
*[[Control Structures#Conditions|Logical and Relative Operators]]  Adam H
+
</tr>
*[[Control Structures#Comparing Strings|Comparing Strings]]  Adam H
+
<tr>
*[[Control Structures#Review Questions and Exercises|Review Questions and Exercises]]  Adam H
+
  <td color=#222222><h3> Chapter 10: [[Problem_Solving]]</h3></td>
 
+
</tr>
===[[Loops]]===
+
<tr>
 
+
  <td color=#222222><h3> Chapter 11: [[More_About_Computer_Science]]</h3></td>
*[[Loops#An Introduction|An Introduction]]
+
</tr>
 
+
<tr>
*[[Loops#Types of Loops|Types of Loops]] - Roger and Vic (check inside)
+
  <td color=#222222><h3> [[Glossary]]</h3></td>
 
+
</tr>
*[[Loops#Scope|Scope]]
+
</table>
 
+
*[[Loops#Infinite Loops|Infinite Loops]]
+
 
+
*[[Loops#Test Conditions|Test Conditions]]
+
 
+
*[[Loops#Additional Information|Additional Information]] - David
+
 
+
*[[Loop Review Questions and Exercises|Review Questions and Exercises]]
+
 
+
===[[User-Defined Methods]]===
+
*[[Overview]] - Mark
+
*[[Writing a Method]] - Willson
+
**[[Writing a Method#Method Header|Method Header]]
+
**[[Writing a Method#Method Body|Method Body]]
+
*[[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 of 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 -Abu
+
**copying arrays -Abu
+
**comparing arrays -Abu
+
**summing values - Andrew
+
**finding average of values - Andrew
+
**find highest and lowest values - Andrew
+
*[[Chapter 8 Review Questions and Exercises|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
+
===Problem-Solving===
+
===More about Computer Science===
+
===[[Glossary]]===
+

Revision as of 15:12, 20 March 2007

Welcome to the Wiki-Based Text for COMP 1010 at the UofM

'center'
Written For Students By Students

Chapter 1: Getting Started

Welcome to COMP 1010 at the University of Manitoba. This text will show you how to set up your own computer so you can do your assignments at home. Confused about logging in to the website or the lab computers? Read on. Then you will learn how to write your first program in Java. And from here you'll learn how to write programs that do more than output "Hello World!". We'll show you how to use loops, call methods, write methods, and understand arrays. Just as importantly, we'll talk about the importance of solving problems and thinking like a programmer. Finally there's a chapter that's meant to show you that computer science is about much more than programming.

P.S. Interested in learning more about a wiki? Or about how this wiki-based text came to be? Click here.


Chapter 2: What is Programming

Chapter 3: Your_First_Java_Program

Chapter 4: Calling_Methods

Chapter 5: Control_Structures

Chapter 6: Loops

Chapter 7: User_Defined_Methods

Chapter 8: Arrays

Chapter 9: More_With_Arrays

Chapter 10: Problem_Solving

Chapter 11: More_About_Computer_Science

Glossary