Difference between revisions of "COMP1010"
Line 13: | Line 13: | ||
|rowspan=1 align=center|[[Image:stairs3.jpg|300px|Photo credit: original photo from Flickr user ooh_food at http://www.flickr.com/photos/ooh_food/2506055943]] | |rowspan=1 align=center|[[Image:stairs3.jpg|300px|Photo credit: original photo from Flickr user ooh_food at http://www.flickr.com/photos/ooh_food/2506055943]] | ||
|-style="background-color:#458B00; color:white; height:5px" align=center | |-style="background-color:#458B00; color:white; height:5px" align=center | ||
− | | <strong>[[Getting Started]] in COMP 1010</strong> | + | | width="400"|<strong>[[Getting Started]] in COMP 1010</strong> |
− | | <strong>Write a [[Program_a_day|Program a Day]]</strong> | + | | width="400"|<strong>Write a [[Program_a_day|Program a Day]]</strong> |
− | | <strong>Case Studies</strong> | + | | width="400"|<strong>Case Studies</strong> |
|- | |- | ||
| colspan=3|<h2>Chapter 1: [[What_is_Programming%3F|What is Programming?]]</h2> | | colspan=3|<h2>Chapter 1: [[What_is_Programming%3F|What is Programming?]]</h2> |
Revision as of 16:20, 3 August 2010
Welcome to the Wiki-Based Text for COMP 1010Welcome 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. |
||
Getting Started in COMP 1010 | Write a Program a Day | Case Studies |
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 FundamentalsWrite your first program in Java. Then learn how to add input, declare and use varialbes, and do basic math. Also learn about relative and logical operators, casting, ++, --, and named constants. | ||
Chapter 3: Calling MethodsLearn 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 StructuresFinally! Write programs that can make decisions using if and if else statements. Also learn how to nest if else statements. | ||
Chapter 5: LoopsLearn to repeat blocks of code using loops. This chapter focusses on while and for loops, but also introduces do-while loops. Also, learn to nest loops. | ||
Chapter 6: User Defined MethodsIn Chapter 3 you learned to call methods that were already written. Now learn to write your own methods. This chapter uses all the same ideas but shows you how to arrange your code so you don't have to repeat common parts of the program. | ||
Chapter 7: ArraysIf 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 ArraysLearn pass arrays using methods. Also use partially-filled arrays. Next learn to sort and search arrays. Finally, use parallel arrays. | ||
Chapter 9: Java In-depthBy 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 ScienceComputer Science is not just about programming! Even though this course focussed 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: Scanner Class | ||
Appendix D: Help on Debugging | ||
Appendix E: Creating a Screensaver | ||
Glossary: Glossary of Comp Sci Terms |