Some Example files to look at: Simple Array, Bubble Sort.cpp,
Insert Sort.cpp, StrCmp
function, and
Loop Examples. We also talked about File Input & Output (File_Out
and File_In).
Homework 5 - Bouncing Lines
Screen Saver project. Due Friday, Nov 11.
Start with: bouncing_lines.zip
Problem #7 - Driver's License Exam - p474 - Complete the
program that we started in class, and email the source code by Wednesday,
Nov 9.
In -Class Exercise: The "Planets" version of the bouncing
ball program. Using arrays. Using trigonometry. Start with:
planets.zip.
Reading Questions Due Nov 4,
Read Chapter 7, Answer the following questions: p406: 1,2,5,6; p424 8,9,11; p433
15,18; p446, 20,23,24
Learning how to do animation: Start with
bounce.zip. Solution:
BouncingBall.zip - See source: bouncing_ball.htm
Reading Questions Due Oct 24,
Monday. Read Chapter 6. Answer the following questions: p319 #1,2,3,
p332 #6, 7, 9, p341 #12,13,14,15, p351 #16, 17, 18
Homework 4 - Primes Project
- Due Oct 26
Drawing Math Functions: Learning how to transform & scale function
output: Start with math_functions.zip
A
Blank text project: blank_text.zip (So you
don't have to create a new project every time)
Reading Questions Due Oct 5, Read Chatper
5. Answer the following questions: p262: 5.1, p275 5.2, 5.3, 5.5, 5.6,
p280 5.7, 5.8, p285 5.10, 5.12, 5.13, p295 5.16, 5.17, 5.18
Reading Questions Due Sept 28
Oct 3, Read
Chapter 4, sections 1-7, 10, 11, 16. Answer the following questions:
page 172 4.1,2,3,4; page 184 4.7,8,9; page 199 4.17, page 234 4.36.
Test 1: Monday, October 10. Chapters 1 to 5.
Example program with file input & output:
files.cpp (full project: files.zip)
The
beginnings of a draw program: draw.zip. Version 2,
with a few more things done: Draw2.zip
Homework 3 - Update Choice program - add Christmas Tree,
check values. Due Sept 23.
Details:
Start with the Choice program we looked at in class
(choice.zip).
Add a choice #4 that will allow the user to draw a Christmas tree of height
2 through 23. Add code to check to make sure the user enters a valid
number for all inputs (like the existing check for choice 0 through
3). For extra credit, let the user keep making choices until they
choose a 0 to quit. You can run this solution to see how your program
should run: choice.exe.
For Friday, Sept 16, in-class: Download the lines.zip
project
Reading Questions Due Sept 9, Read Sections 3.1-3.7, pages 83-116, answer the following questions: p89 3.1, 3.3, 3.7, 3.8, p98-100 3.10, 3.11, 3.13, p106 3.14(A-J), p111 3.17, 3.18, p116 3.21, 3.22(A-F)
Initials in Graphics Due Sept 12. Create a graphics program that displays your three initials in color in graphics. Be creative.
Reading Questions Due Aug 29, Read Chapter 1, p 2-22, answer the following questions: p6 1.3, 1.7, p11 1.10, 1.11, p17 1.20, 1.21, 1.22, p23 1.32
Find out your Net ID by logging in to the Biola Portal
site:
https://portal.biola.edu/Portal ("ID" is your student ID number, you should
know your password)
Once you log in, under the "Launch Menu", choose "Password Change". You
don't need to change your password, find your "Net ID", write that down, and
bring it to the computer labs downstairs Metzger.
Log in to the computers in Metzger with your Net ID and your same
password. Before you can save things on your account, you will need to
log in to a Macintosh at least once. This creates your personal folder.