Difference between revisions of "Program a day"
From CompSciWiki
(Beefed up the intro) |
|||
(177 intermediate revisions by 31 users not shown) | |||
Line 1: | Line 1: | ||
− | {{1010Chapter|Introduction= | + | {{1010Chapter|ChapterNum= Program-A-Day |
+ | |Picture=Wiki_array01.jpg | ||
+ | |Introduction=As a programmer it is very important to practice your programming and problem-solving skills. Write a program for each (week) day you are in COMP 1010 by following through the list of programs below. | ||
− | + | __NOTOC__ | |
− | + | ||
− | =Week | + | |Body= |
− | ==[[ | + | =Week 1: Getting Started= |
− | ==[[ | + | ===[[Hello World]]=== |
+ | ===[[Alternate Hello World]]=== | ||
+ | ===[[Mad Lib]]=== | ||
− | =Week | + | =Week 2: Primitive Data Types= |
− | ==[[ | + | ===[[Calculating Area]]=== |
+ | ===[[Converting Temperatures]]=== | ||
+ | ===[[Tip Calculator]]=== | ||
+ | ===[[Food and Drink]]=== | ||
+ | ===[[Windchill]]=== | ||
+ | ===[[ifless Grade Calculator|Sunday Stumper WARNING: Challenging]]=== | ||
− | =Week | + | =Week 3: Math and String Methods, If Statements and Named Constants= |
+ | ===[[Dimensions of a Can of Soup]]=== | ||
+ | ===[[Pythagoras]]=== | ||
+ | ===[[Lie Detector]]=== | ||
+ | ===[[Days in a Month]]=== | ||
+ | ===[[The Labyrinth]]=== | ||
+ | ===[[Know Your Standards]]=== | ||
+ | ===[[Letter Grade Conversion]]=== | ||
− | =Week | + | =Week 4: While and For Loops= |
+ | ===[[Print Out the Alphabet]]=== | ||
+ | ===[[Guess my Number]]=== | ||
+ | ===[[Input Validation]]=== | ||
+ | ===[[Convert this While to a For]]=== | ||
+ | ===[[Print Powers of Two]]=== | ||
+ | ===[[Count the Alphabet]]=== | ||
− | =Week | + | =Week 5: String Methods and Debugging= |
+ | ===[[Vowel Counter]]=== | ||
+ | ===[[Leap Year Problem]]=== | ||
+ | ===[[Debugging Practice]]=== | ||
+ | ===[[Secret Code]]=== | ||
+ | ===[[Radar Trap]]=== | ||
+ | ===[[Currency Converter]]=== | ||
− | =Week | + | =Week 6: Problem Solving with Nested Loops= |
+ | ===[[Oh Rocket Tree]]=== | ||
+ | ===[[Clock Simulation]]=== | ||
+ | ===[[Rainfall Averaging]]=== | ||
+ | ===[[Computing Prime Numbers]]=== | ||
+ | ===[[Print a Calendar]]=== | ||
+ | ===[[Cash Register]]=== | ||
− | =Week | + | =Week 7: Midterm Review= |
+ | ===[[Personal Greeting]]=== | ||
+ | ===[[Temperature Calculator]]=== | ||
+ | ===[[Days In A Month]]=== | ||
+ | ===[[Fibonacci sequence]]=== | ||
+ | ===[[Palindromes]]=== | ||
+ | ===[[Russian Roulette]]=== | ||
− | =Week | + | =Week 8: Static Methods= |
+ | ===[[Print Numbers]]=== | ||
+ | ===[[Add Area Code]]=== | ||
+ | ===[[Fix Code Sample]]=== | ||
+ | ===[[Concatenate Strings]]=== | ||
− | =Week | + | =Week 9: Introducing Arrays= |
+ | ===[[Creating an Array]]=== | ||
+ | ===[[Printing an Array]]=== | ||
+ | ===[[Equating Two Arrays]]=== | ||
+ | ===[[Passing Arrays]]=== | ||
+ | ===[[Fibonacci Numbers]]=== | ||
− | =Week | + | =Week 10: Arrays and Methods= |
+ | ===[[printArray Method]]=== | ||
+ | ===[[fillArray Method]]=== | ||
+ | ===[[reverseArray Method]]=== | ||
+ | ===[[commissionCalculator]]=== | ||
+ | ===[[Cellphone Texting]]=== | ||
− | =Week | + | =Week 11: More with Arrays= |
+ | ===[[Summing arrays]]=== | ||
+ | ===[[Concatenating arrays]]=== | ||
+ | ===[[Sales Report]]=== | ||
+ | ===[[Creating a grocery list]]=== | ||
− | =Week 13= | + | =Week 12: Array Algorithms= |
+ | ===[[Find Element x Using Linear Search]]=== | ||
+ | ===[[Find Max Using Linear Search]]=== | ||
+ | ===[[Count Element x Using Linear Search]]=== | ||
+ | ===[[Find Element x Using Binary Search]]=== | ||
+ | |||
+ | =Week 13: Problem Solving and Programming Examples= | ||
+ | ===[[Break This Combination]]=== | ||
+ | ===[[Rock Paper Scissors]]=== | ||
+ | ===[[Student Record List With Parallel Arrays]]=== | ||
+ | ===[[Top Secret]]=== | ||
+ | ===[[String Binary Search]]=== | ||
+ | |||
+ | |PChapterNum=1 | ||
+ | |PChapterLink=[[What is Programming?]] | ||
+ | |NChapterNum=2 | ||
+ | |NChapterLink=[[Java Fundamentals]] | ||
+ | }} | ||
+ | |||
+ | |||
+ | {{Category:COMP 1010}} |
Latest revision as of 15:12, 8 December 2011
Chapter Program-A-DayAs a programmer it is very important to practice your programming and problem-solving skills. Write a program for each (week) day you are in COMP 1010 by following through the list of programs below.
| ||
---|---|---|
Write a Program a Day | Case Studies |
Week 1: Getting Started
Hello World
Alternate Hello World
Mad Lib
Week 2: Primitive Data Types
Calculating Area
Converting Temperatures
Tip Calculator
Food and Drink
Windchill
Sunday Stumper WARNING: Challenging
Week 3: Math and String Methods, If Statements and Named Constants
Dimensions of a Can of Soup
Pythagoras
Lie Detector
Days in a Month
The Labyrinth
Know Your Standards
Letter Grade Conversion
Week 4: While and For Loops
Print Out the Alphabet
Guess my Number
Input Validation
Convert this While to a For
Print Powers of Two
Count the Alphabet
Week 5: String Methods and Debugging
Vowel Counter
Leap Year Problem
Debugging Practice
Secret Code
Radar Trap
Currency Converter
Week 6: Problem Solving with Nested Loops
Oh Rocket Tree
Clock Simulation
Rainfall Averaging
Computing Prime Numbers
Print a Calendar
Cash Register
Week 7: Midterm Review
Personal Greeting
Temperature Calculator
Days In A Month
Fibonacci sequence
Palindromes
Russian Roulette
Week 8: Static Methods
Print Numbers
Add Area Code
Fix Code Sample
Concatenate Strings
Week 9: Introducing Arrays
Creating an Array
Printing an Array
Equating Two Arrays
Passing Arrays
Fibonacci Numbers
Week 10: Arrays and Methods
printArray Method
fillArray Method
reverseArray Method
commissionCalculator
Cellphone Texting
Week 11: More with Arrays
Summing arrays
Concatenating arrays
Sales Report
Creating a grocery list
Week 12: Array Algorithms
Find Element x Using Linear Search
Find Max Using Linear Search
Count Element x Using Linear Search
Find Element x Using Binary Search
Week 13: Problem Solving and Programming Examples
Break This Combination
Rock Paper Scissors
Student Record List With Parallel Arrays
Top Secret
String Binary Search
Chapter Expression error: Unrecognized word "program".: What is Programming? | Table of Contents | Chapter Expression error: Unrecognized word "program".: Java Fundamentals |
---|
Template loop detected: