Mr. Rogers AP Computer Science - Orientation |
In order to get AP Computer Science students up to speed quickly, Mr. Rogers typically holds one or more three-hour-long orientation sessions in the summer before formal classes start . To stay informed about the date of the orientation, e-mail Mr. Rogers at tkrogers@greenvill.k12.sc.us.
Introduction - View Mr. Rogers AP Computer Science Syllabus
Programming Assignment 1: Using the BluJ IDE, write a program that outputs "Hello World" to the screen.
Deliberately delete a ";" from the above program and note the error message. Deliberately alter other elements of the program to see what happens
Programming Assignment 2: Write a program that inputs (your name) and (your age) on the command line and outputs "Hello (your name) you are (your age) years old".
Deliberately cause a run time error in the above program and note what happens.
example: in pounding a nail, each time the nail is struck by the hammer is one iteration.
Programming Assignment 3: Modify Programming Assignment 2 with a "for loop" so that the message repeats itself 10 times. once the program is running, modify it so that it has an infinite loop and see what happens when you run it.
Sample code:
for (int x = 0; x < 10; x ++) {
// Lines of code
}
View the Personal Software Project Specs: All of Mr. Rogers AP Computer Science students will be required to do a personal software project starting in the 3rd quarter and due in the 4th quarter. The specifications and other helpful information can be found here. The hardest part for many students is selecting a subject--hint: start looking for a suitable one today!
View and Explore NetLogo: Download the NetLogo IDE and you'll have access to several hundred simulation programs (in the IDE under files>models library). these are a great starting point for selecting a topic for your personal software project.
Mastery of the case study often means the difference between a 4 and 5 ( 3 is considered passing, 5 is the highest possible grade) on the AP Exam. Start early and give it priority!
- Go to the College board site and download the... Student Manual (.pdf/630KB)
- Download the................................................................. Code (.zip/238KB)
- Download and follow the............................................. Installation Guide (.pdf/172KB) for BluejB
Programming Assignment 8: Set up a project called BoomDemo with a single class called BoomDemo and insert the code shown here. Run the code then modify it as follows:
- Change the speed of the dots as they explode apart. (Note: the numbers cannot be higher than 255.)
- By modifying the code, determine the meaning of the 3 numbers used for representing new colors.
- Change the dot color to yellow (hint: yellow is made of blue and green).
- Add 3 new sets of dots, a pair that explodes vertically, a pair that explodes horizontally, and a pair that explodes along the opposite diagonal from the existing pair of dots.
- Google java 6 graphics, select the 1st link, and choose a different shape for the dots.
- Do something of your own choosing to modify the program to your liking.