Difference between revisions of "COMP1010"

From CompSciWiki
Jump to: navigation, search
(improved link to authors)
 
(73 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
__NOEDITSECTION__
 
__NOEDITSECTION__
<!--table for Header begins-->
 
<table border=0 cellpadding=0 cellspacing=0 width="100%">
 
<tr>
 
  <td colspan =2 bgcolor = #000><h1><font color = "white">&nbsp;  COMP 1260 Wiki</font></h1></td>
 
  <td rowspan=2 width="300px" height="200px" align=center bgcolor = #000>[[Image:1260authors.jpg|right]]‎</td>
 
</tr>
 
<tr>
 
  <td bgcolor = #000><font color = "white">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.
 
 
P.S. Interested in learning more about a wiki? Or about how this wiki-based text came to be? [[Wiki Background|Click here]].</FONT></left></td>
 
</tr>
 
 
 
<!--Table of Contents cells begin here-->
 
 
 
<tr>
 
  <td colspan=2 color=#222222><h2> Chapter 1: [[What is Programming?]]</h2></td>
 
  <td colspan=1> Program-A-Day</td>
 
<tr>
 
  <td colspan=3> Students will become familiar with application software. Core component of the course is Office software, which is used in many business environments.</td>
 
</tr>
 
 
 
 
<!--Table of Contents continues...Chapter 2-->
 
 
 
<tr>
 
  <td colspan=3 color=#222222><h2> Chapter 2: [[Java Fundamentals]] </h2></td>
 
</tr>
 
<tr>
 
  <td colspan=3>This chapter covers system software, students will become familiar with operating systems concepts and the role they play in your computer.</td>
 
</tr>
 
 
<!--Chapter 3-->
 
 
<tr>
 
  <td colspan=3 color=#222222><h2> Chapter 3: [[Calling_Methods|Calling Methods]] </h2></td>
 
</tr>
 
 
<tr>
 
  <td colspan=3 >This chapter will discuss hardware concepts, and allow students to become more familiar with components of a computer and how they work. </td>
 
</tr>
 
 
<!--Chapter 4-->
 
 
<tr>
 
  <td colspan=3 color=#222222><h2> Chapter 4: [[Control_Structures|Control Structures]] </h2></td>
 
</tr>
 
 
<tr>
 
  <td colspan=3 >This chapter will introduce computer networks and give examples of computer networks.  </td>
 
</tr>
 
 
 
<!--Chapter 5-->
 
 
<tr>
 
  <td colspan=3 color=#222222><h2> Chapter 5: [[Loops]] </h2></td>
 
</tr>
 
 
<tr>
 
  <td colspan=3 >This chapter describes the components of the Internet and explains how they work together. </td>
 
</tr>
 
 
 
<!--Chapter 6-->
 
 
<tr>
 
  <td colspan=3 color=#222222><h2> Chapter 6: [[User-Defined_Methods|User Defined Methods]] </h2></td>
 
</tr>
 
<tr>
 
  <td colspan=3 color=#222222><h2> Chapter 7: [[Arrays]] </h2></td>
 
</tr>
 
<tr>
 
  <td colspan=3 color=#222222><h2> Chapter 8: [[More_With_Arrays|More With Arrays]] </h2></td>
 
</tr>
 
<tr>
 
  <td colspan=3 color=#222222><h2> Chapter 9: [[Java In-depth]] </h2></td>
 
</tr>
 
<tr>
 
  <td colspan=3 color=#222222><h2> Chapter 10: [[More_About_Computer_Science|More About Computer Science]] </h2></td>
 
</tr>
 
<tr>
 
  <td colspan=3 color=#222222><h2> Chapter 11: [[User-Defined_Methods|User Defined Methods]] </h2></td>
 
</tr>
 
<tr>
 
  <td colspan=3 color=#222222><h2> Chapter 12: [[User-Defined_Methods|User Defined Methods]] </h2></td>
 
</tr>
 
 
 
</table>
 
 
 
  
<!--****************************************************************************
 
test
 
__NOTOC__
 
__NOEDITSECTION__
 
 
<!--table for Header begins-->
 
<!--table for Header begins-->
{|border="0" cellpadding="0" cellspacing="0" width="100%"
 
|-
 
|bgcolor=#8B4513 width="70%"|
 
      <h1><font color = "white">&nbsp; Welcome to the Wiki-Based Text for COMP 1010</font>
 
      </h1>
 
|rowspan=2 bgcolor=#8B4513 width="5%"|&nbsp;
 
|rowspan=2 align=center width="25%"|[[Image:CoffeeCup.jpg|'center']]
 
|-
 
|bgcolor=#8B4513 align=center|<FONT SIZE="+2" COLOR = "white"> ''Written For U of M Students By U of M Students''</FONT>
 
  
 +
{|style="width=100%" cellpadding="5" cellspacing="0"
 +
|- style="background-color:#E1E7EE;"
 +
|colspan=5  width="100%" style="border: 1px solid #7098C4;border-bottom: 0 none;" | [[Image:stairs3.jpg|right|400px|Photo credit: original photo from Flickr user ooh_food at http://www.flickr.com/photos/ooh_food/2506055943]]<h1 style="font-size:32px;line-height: normal;">Welcome to the Wiki-Based Text for COMP 1010</h1>
 +
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.<br>
 +
P.S. Interested in learning more about wikis or about the third-year Computer Science students who wrote this wiki-based text? Here's a [[Wiki Background|list of authors and a brief history]] of the wiki.
  
<!--Table of Contents cells begin here-->
+
|-style="background-color:#C4D0DD; height:50px; border: 1px solid #7098C4; border-top: none;" align=center
 
+
| width="20%"|<h1><font color = gray>1010 Backup Website</font> </h1>
 +
| width="20%"|<h1>[[Getting Started]]</h1>
 +
| width="20%"|<h1>[[Program_a_day|Program a Day]]</h1>
 +
| width="20%"|<h1>[[Case Studies]]</h1>
 +
| width="20%"|<h1>[[Comp Sci and U]]</h1>
 +
|-style="height:10px"
 +
| colspan=5; height:5px|<h2>Chapter 1: [[What_is_Programming%3F|What is Programming?]]</h2>
 +
Learn about the steps to write a program, and read a short overview of the history of programming.
 +
|-style="height:10px"
 +
| colspan=5|<h2> Chapter 2: [[Java Fundamentals]] </h2>
 +
Write your first program in Java. Then learn how to add input, declare and use variables, and do basic math. Also learn about relative and logical operators, casting, ++, --, and named constants.
 
|-
 
|-
 
+
| colspan=5|<h2> Chapter 3: [[Calling_Methods|Calling Methods]]</h2>
 
+
Learn to use methods--ones written by Java programmers--to manipulate numbers and strings. Also customize your dialog boxes with methods from JOptionPane.
|width="70%" color=#8B4513|<h3> Chapter 1: [[Getting_Started|Getting Started]]</h3>
+
|rowspan=12 width="5%"|&nbsp;
+
|rowspan= 12 align=center width="25%" bgcolor="#FFD700"|
+
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.
+
 
+
P.S. Interested in learning more about a wiki? Or about how this wiki-based text came to be? [[Wiki Background|Click here]].
+
 
+
 
|-
 
|-
|color=#222222|<h3> Chapter 2: [[What_is_Programming%3F|What is Programming?]] </h3>
+
| colspan=5|<h2> Chapter 4: [[Control_Structures|Control Structures]]</h2>
 +
Finally! Write programs that can make decisions using if and if else statements. Also learn how to nest if else statements.
 
|-
 
|-
|bgcolor="#FFD700" align="center"|<h1>[[program_a_day|WRITE A PROGRAM-A-DAY]]</h1>
+
| colspan=5|<h2> Chapter 5: [[Loops]]</h2>
 +
Learn to repeat blocks of code using loops. This chapter focuses on while and for loops, but also introduces do-while loops. Also, learn to nest loops.
 
|-
 
|-
|color=#222222|<h3> Chapter 3: [[Java Fundamentals]] </h3>
+
| colspan=5|<h2> Chapter 6: [[User-Defined_Methods|User Defined Methods]]</h2>
 +
In Chapter 3 you learned to call methods that were already written. Now learn to write your own methods so you don't have to repeat common code. 
 
|-
 
|-
|bgcolor=#eee8aa|<h3> Case Study I: [[Case_Study_I|Day One at Funky Books Inc.]]</h3>
+
| colspan=5|<h2> Chapter 7: [[Arrays]]</h2>
 +
If you want to store a grade for everyone in a class of 100 students do you need to have 100 variables? Fortunately, no. Instead, learn to use an array to store the data. Then learn to process arrays using loops.
 
|-
 
|-
|color=#222222|<h3> Chapter 4: [[Calling_Methods|Calling Methods]]</h3>
+
| colspan=5|<h2> Chapter 8: [[More_With_Arrays|More With Arrays]]</h2>
 +
Learn to pass arrays using methods. Also use partially-filled arrays. Next learn to sort and search arrays. Finally, use parallel arrays.
 
|-
 
|-
|color=#222222|<h3> Chapter 5: [[Control_Structures|Control Structures]]</h3>
+
| colspan=5|<h2> Chapter 9: [[Java In-depth]]</h2>
 +
By now you've written, compiled and run many Java programs. This chapter explains what goes on behind the scenes when you are compiling and running Java programs.
 
|-
 
|-
|color=#222222|<h3> Chapter 6: [[Loops]]</h3>
+
| colspan=5|<h2> Chapter 10: [[More_About_Computer_Science|More About Computer Science]]</h2>
|-
+
Computer Science is not just about programming! Even though this course focused on programming there are many other areas of computer science. Read about them here.
|bgcolor=#eee8aa|<h3> Case Study II: [[Case_Study_II|Day Two at Funky Books Inc.]]</h3>
+
|-
+
|color=#222222|<h3> Chapter 7: [[User-Defined_Methods|User Defined Methods]]</h3>
+
|-
+
|bgcolor=#eee8aa|<h3> Case Study III: [[Case_Study_III|Day Three at Funky Books Inc.]]</h3>
+
|-
+
|color=#222222|<h3> Chapter 8: [[Arrays]]</h3>
+
|-
+
|bgcolor=#eee8aa|<h3> Case Study IV: [[Case_Study_IV|Day Four at Funky Books Inc.]]</h3>
+
|-
+
|color=#222222|<h3> Chapter 9: [[More_With_Arrays|More With Arrays]]</h3>
+
|-
+
|color=#222222|<h3> Chapter 10: [[Java In-depth]]</h3>
+
|-
+
|color=#222222|<h3> Chapter 11: [[More_About_Computer_Science|More About Computer Science]]</h3>
+
 
|-
 
|-
 
|bgcolor="#eee8aa"|<h3> Appendix A: [[Researching_Comp_Sci_Topics|Researching Comp Sci Topics]]</h3>
 
|bgcolor="#eee8aa"|<h3> Appendix A: [[Researching_Comp_Sci_Topics|Researching Comp Sci Topics]]</h3>
Line 160: Line 51:
 
|bgcolor="#eee8aa"|<h3> Appendix B: [[Tips_For_ESL_Students|Tips for ESL Students]]</h3>
 
|bgcolor="#eee8aa"|<h3> Appendix B: [[Tips_For_ESL_Students|Tips for ESL Students]]</h3>
 
|-
 
|-
|bgcolor="#eee8aa"|<h3> Appendix C: [[Scanner_Class|Scanner Class]]</h3>
+
|bgcolor="#eee8aa"|<h3> Appendix C: [[Help on Debugging]]</h3>
|-
+
|bgcolor="#eee8aa"|<h3> Appendix D: [[Help on Debugging]]</h3>
+
 
|-
 
|-
|bgcolor="#eee8aa"|<h3> Appendix E: [[Creating a Screensaver]]</h3>
+
|bgcolor="#eee8aa"|<h3> Appendix D: [[Extra_Labs|Extra Labs]]</h3>
 
|-
 
|-
 
|bgcolor="#eee8aa"|<h3> Glossary: [[Glossary|Glossary of Comp Sci Terms]]</h3>
 
|bgcolor="#eee8aa"|<h3> Glossary: [[Glossary|Glossary of Comp Sci Terms]]</h3>
 
|}
 
|}
-->
 
-->
 

Latest revision as of 13:13, 5 April 2012



Photo credit: original photo from Flickr user ooh_food at http://www.flickr.com/photos/ooh_food/2506055943

Welcome to the Wiki-Based Text for COMP 1010

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 wikis or about the third-year Computer Science students who wrote this wiki-based text? Here's a list of authors and a brief history of the wiki.

1010 Backup Website

Getting Started

Program a Day

Case Studies

Comp Sci and U

Chapter 1: What is Programming?

Learn about the steps to write a program, and read a short overview of the history of programming.

Chapter 2: Java Fundamentals

Write your first program in Java. Then learn how to add input, declare and use variables, and do basic math. Also learn about relative and logical operators, casting, ++, --, and named constants.

Chapter 3: Calling Methods

Learn to use methods--ones written by Java programmers--to manipulate numbers and strings. Also customize your dialog boxes with methods from JOptionPane.

Chapter 4: Control Structures

Finally! Write programs that can make decisions using if and if else statements. Also learn how to nest if else statements.

Chapter 5: Loops

Learn to repeat blocks of code using loops. This chapter focuses on while and for loops, but also introduces do-while loops. Also, learn to nest loops.

Chapter 6: User Defined Methods

In Chapter 3 you learned to call methods that were already written. Now learn to write your own methods so you don't have to repeat common code.

Chapter 7: Arrays

If you want to store a grade for everyone in a class of 100 students do you need to have 100 variables? Fortunately, no. Instead, learn to use an array to store the data. Then learn to process arrays using loops.

Chapter 8: More With Arrays

Learn to pass arrays using methods. Also use partially-filled arrays. Next learn to sort and search arrays. Finally, use parallel arrays.

Chapter 9: Java In-depth

By now you've written, compiled and run many Java programs. This chapter explains what goes on behind the scenes when you are compiling and running Java programs.

Chapter 10: More About Computer Science

Computer Science is not just about programming! Even though this course focused on programming there are many other areas of computer science. Read about them here.

Appendix A: Researching Comp Sci Topics

Appendix B: Tips for ESL Students

Appendix C: Help on Debugging

Appendix D: Extra Labs

Glossary: Glossary of Comp Sci Terms