Daily Homework Finish below by end of Feb 8, 2011 ================================== 12.1) Review first five questions on Practice Test 2. 12.2) Finish Homework Two, Parts a and b. 12.3) Commence Homework Two Part c. Finish below by end of Feb 7, 2011 ================================== 11.1) For practice test 2, finish working on programs for Q3, Q4, Q5 and Q6. 11.2) Finish Homework Assignment Two Part a. 11.3) Try to finish Homework Assignment Two Part b. 11.4) Read and understand all programs about arrays. Finish below by end of Feb 3, 2011 ================================== 10.1) Finish guaranteeing that you can get 50 on your actual Test 1. 10.2) Review your trace of practice test 2 questions 1 and 2. 10.3) Re-run Homework assignment 1 part C with the inputs 2000 and 49. The outputs should be "7 surplus" and "220 total persons". If the numbers are wrong, please re-write the program, and re-submit it at webcourses a3cnew link. You have a few days to fix your errors. 10.4) Try to finish Homework Assignment Two Part a. 10.5) For practice test 2, finish working on programs for Q3 and Q4. Finish below by end of Feb 2, 2011 ================================== 9.1) Trace practice test 2 questions 1 and 2 carefully. Ensure you are getting the trace correct, and are beginning to be able to understand how groups of statements accomplish single-sentence tasks. 9.2) Write programs for the practice test 2 questions that follow the first two tracing programs. 9.3) Read and understand all programs about arrays. 9.4) Commence implementing Homework Assignment Two (Parts a and b). Finish below by end of Jan 30, 2011 =================================== 8.1) Do all practice test 2 programming questions. 8.2) Read notes on Arrays in Chapter 11. 8.3) Download and run array programs from Chapter 11. 8.4) Commence Homework Assignment Two (Parts a, b, c, and d). Finish below by end of Jan 25, 2011 =================================== 7.1) Ensure you are running and understanding all programs in Chapter 7 and Chapter 8. You really, really need to erase and try to re-write them. 7.2) Finish all review of Practice Test 1. 7.3) Finish all parts (including the additional requirements for Part C) of Assignment 1, and turn the three programs in carefully on Webcourses. 7.4) Start to work on writing all the programs (beginning at Question 3, and onwards) listed in Practice Test 2. 7.5) To prepare for the lecture on Jan 26, you can read ahead Chapter 11 (we are skipping chapters 9 and 10 for now). Finish below by end of Jan 23, 2011 =================================== 6.1) Ensure you have read and understood Update 5 (ForLoop.pdf) on our Section 2 website. 6.2) Download forloop.c and stars.c, run, erase/re-create. 6.3) Edit stars.c to produce a) longer half-pyramids, b) right half of a diamond. 6.4) Assuming you finished 5.9 (by Jan 20), now complete the second added requirement for Homework's Part C. 6.5) Read Chapter 7, Sections While Loop, and Menu-driven..., How-to- choose-between... 6.6) Finish Practice Test 1's question 3. 6.7) Write Practice Test 1's question 4. 6.8) If you can, download/run all the rest of the programs in Chapter 7. Finish below by end of Jan 20, 2011 =================================== 5.1) Read Chapter 5's sections Use of Else if, Couple Other Notes ..., Determining the slope of a line. 5.2) Download quadratic2.c, tempconvert.c, tempconvert2.c, priceisright.c, ltrgrade.c, wage.c, slope.c. Run them, examine the programs carefully, try to re-create them one at a time from a blank canvas. 5.3) For priceisright.c, ensure that you understand how to call the functions needed to produce random numbers. 5.4) Download tax.c, age.c, irs.c. Examine, study, erase, re-create. 5.5) All of the ifs in 5.2, 5.3, and 5.4 are meant to give you familiarity with the use of the if statement. Ensure you get familiar. 5.6) In Chapter 6, read the 3 sections titled Couple Notes ..., Compound-and-Empty Statements and Switch Statement (can skip the rest). 5.7) Read Chapter 7, sections For Loop, and Some Examples Using a For Loop. 5.8) Start solving Homework's Part C without the added requirements. 5.9) Finish the first added requirement for Homework's Part C. Finish below by end of Jan 18, 2011 =================================== 4.1) Read Chapter 5's sections How to use Prew...., How to use C Math ... 4.2) Read Chapter 5's sections Conditional Expressions, if-else Construct 4.3) Finish Part B of Required Homework Assignment 1. 4.4) Download quadratic.c run it, and erase and re-create. 4.5) Start reading and solving Part C of Required Homework Assignment 1. 4.6) Do Practice Test 1's question 2. Finish below by end of Jan 16, 2011 =================================== 3.1) Read Parts A and B of Required Homework Assignment 1. Finish Part A. 3.2) Download sphere.c, easytax.c, tall.c, sleep.c, digits.c and run all. 3.3) Try to re-create easytax.c, tall.c, sleep.c, and digits.c from a blank canvas. It is very important that you begin to learn how to manipulate data to get the kind of desired effect of digits.c 3.4) Think up and create new versions of the programs in 3.3 3.5) Think and create totally new math applications using skills in 3.4 3.6) Do Practice Test 1's question 1. 3.7) Read Chapter 4's sections Use of Printf, and Formatting Output Spacing Finish below by end of Jan 13, 2011 =================================== 2.1) Understand all the four types of variables in Chap 2. Try writing feettomile.c as floats. Make up additional calculations, such as as computing the amount of tax from a six percent sales tax on a ten dollar purchase. Do these (new) programs with ints and floats. 2.2) Make sure you write programs that have statements such as a++; or a += 10; ensure you understand the meanings of these statements. 2.3) Download feettomile2.c, and learn about the use of scanf. For additional programs that you might have written for 2.1 (such as a sales tax program), modify them to read in most of the quantities, and get expertise using the scanf in a variety of situations. 2.4) Read the Notes for Chapter 3. 2.5) Download arithmetic.c and grade.c. Run both of them and study them carefully. Ensure you can explain why the outputs turn out to be what they are. 2.6) Ensure that you understand the percent operator used to get the remainder of a calculation. 2.7) Read the Notes for Chapter 4. Finish the steps below by end of Jan 11, 2011 ============================================= 1.1) Install the compiler DevCpp, or equivalent, on your computer (if you do not have a computer, contact me immediately). 1.2) Download from class website the programs: hello.c, feettomile.c Remember to add the line #include as the first line, and to add the line system("pause"); just before the return statement. Make sure both programs run on your computer. When you run each one, it should produce output on the screen. 1.3) After you have verified that you can run both programs in 1.2, erase each one, and try to write it yourself without looking at any notes. Get help from the notes to finish each program. Finally, keep repeating 1.3 until you are able to write each program by starting from an empty page and without any help from notes. 1.4) Read Lecture notes, Chapter 2, skipping the Brief Intro to Pointers.