Advanced Placement�Computer Science A�(Java)
Mr. (Raymond) Chan
Lowell High School
San Francisco, CA
Welcome!
Find your assigned seat.
“Last Name, First Name Initial”
1
Agenda
| Do Now Welcome to AP CS A! Browse apcslowell.github.io |
Monday August 18 (08.18) | Learning Target Students will familiarize themselves with the class routines and get comfortable sharing their ideas. |
This classroom is nut free
3
AP Computer Science A (Java) is an advanced computer science course equivalent to a first semester college class such as 111B Programming Fundamentals: Java at City College
Course Prerequisite: B or better in APCS Principles or Computer Programming A or equivalent
Not sure if you have met the prerequisite? Ask you instructor!
4
Equivalent to a half a semester of an introductory CS course, depends on the college
Course Requirements:
5
Norms
6
Lowell has a mouse problem
7
What you’ll learn
8
You are here
9
Grading Policy
tests and quizzes
programming assignments
weekly reflections
10
Professionalism
11
Weekly Reflections
12
Weekly Reflections
“Monday: Today I went over three practice questions and got most of them correct. I want to learn more about coding different shapes besides the ellipse, square, and triangle. Tuesday: Today I went over another practice quiz question and I answered it correctly. I found out that the mistake I made with one of the questions yesterday was I said that capitalization doesn't matter in code,when it actually does. Wednesday: Today I made a simple pen picture on code pen following the directions from the slides. However, I might've made a mistake with my animal project, because the background wouldn't show up even though I changed the color. Thursday: The mistake I made yesterday was that I forgot to add the p5.js library to my settings. Today I decided what animal I want to do but I couldn't get anything to show up on codepen besides the background. Friday: Today I finished my first programming quiz in around 20 minutes. I'm unsure about two or three answers that I chose, but overall I feel pretty good about the test.“
13
Weekly Reflections
“I learned nothing. I also learned very little more. I accomplished nothing. I accomplished very little else.“
“October 21-25 I'd either slept, on my phone watching YouTube videos, or did work for other classes which I didn't even finish or turn in (ik I'm smart :)). Since I didn't pay attention to any of last week's lectures and let my chromebook sleep for most of the class, I didn't conplete this Dice Game assignment nor any previous unfinished assignments.”
“...Tuesday - I had a good breakfast, good day. Had some knowledgable moments in Physics. Wednesday - Learned how to eat properly again. Ate an apple from top to bottom… Friday: Found myself reminiscing whether to spoil Endgame for myself. Ended up not, going to watch it later tonight.”
14
Restroom policy
15
16
17
18
19
20
21
Submitting your GitHub URL
22
Proceed with some caution.
Slides from this point forward are not updated for the 2022-23 year.
23
Agenda
| Do Now How was the first day of school? (type in chat) I have 66 (-3 b/c I signed up 3 times) students in my section of CSAwesome. Sign up! Questions? Put into zoom chat. |
Wednesday August 19 (08.19) | Learning Target Students will familiarize themselves with the class routines and get comfortable sharing their ideas. |
Tutoring
25
Java Basics
26
A basic Java “Hello World” program
27
A basic Java program
28
Statements
29
String
30
print() vs println()
31
print() vs println()
32
print() vs println()
33
Comments
34
Escape Sequences
35
Common Java Escape Sequences
36
Common Java Escape Sequences
37
Common Java Escape Sequences
38
Formatting Java code
39
Formatting Java code
40
Formatting for easier reading
41
Debugging
42
Errors
43
Syntax error
44
Logic error
45
(Run time) Exceptions
46
Arithmetic in Java
+ - * /
47
Literals vs. Expressions
48
Literals vs. Expressions
49
Literals vs. Expressions
50
Four 4s challenge
51
Four 4s challenge
52