AP Computer Science AB

advertisement
A3&RPSXWHU6FLHQFH
2verview of, and Rationale for, Course
isis meant to teach students how to . It instructs
$SSHQGLFHV$ &$3&RPSXWHU6FLHQFH&RXUVH'HVFULSWLRQThe course is
designed to be equivalent to a first-semester university course in Computer Science.
few "that have been
"###
0DWK##6WULQJAfter these review lectures, ())*+
The AP Computer Science course meets for four 45¬minute class periods per week, in addition to
one 40¬minute class period per week. The computer labs have 20 stations each, one of which is a teacher’s
station, and 18 of which are student stations. There is one, non¬networked station that is designated as
“stand¬alone” which may be used as the need arises. The following syllabus assumes that there are
approximately 33 weeks prior to the AP exam. The time after the exam is devoted to team
programming, projects dealing with files, graphics and GUI, and other enrichment activities.
All scientists - including computer scientists - need to be skilled writers and researchers.
The elements of good writing - clarity, simplicity, organization - are an essential part of success in college
and in the workforce. Writing by the student for this course will take the form of contribution to blogs and
wikis, and the written comments which will clarify major segments of a computer program. Writing by
students will be an integral part of their participation grade (see grading pie chart below).
E""/79
""/7
interactive """""/
/#
""/:-6&:-6"
;<
"":-6
(=*
Homework
>"completing
programs that emphasize and reinforce lectures/class discussions. As such, most of the work for the course
will ideally be done in class in order to allow practising, extending and consolidating the ideas presented
daily. Lecture notes, including any audio/visual materials, are posted on Google sites and may be accessed
by the student at any time
Textbooks and Resources
• Cook, Charles. Blue Pelican Java, Virtual Book Worm, 2009 (eBook)
• The College Board’s GridWorld Case Study
Further resources may be found at Mr. Morell's AP Computer Science web site and on Google Sites Teaching Methodologies and Course Framework
* Classes will typically consist of the following:
• lecture (de-emphasized after fundamental concepts are covered)
• multimedia presentations (LCD displays of student and teacher work / incorporated with lecture)
• student programming time
• student demonstrations using appropriate programming tools and Web 2.0 technologies
• short-term assignments (individual; in class)
• long-term projects (individual and collaborative; in and outside of class).
* Students will spend most of their time in the classroom programming and informally sharing solutions to
problems.
Expectations from Instructor
* Reading, concentration, and problem-solving skills are essential in order to follow the exercises and the
reading contained in the e-textbook. In addition, students must:
• pparticipate
p in class discussions and ppost information vital to the assimilation of the material
• complete all projects and class assignments
• be responsible for their computer station (to be used for in-class assignments) during class
• follow the rules of Gulliver’s Acceptable Use Policy for Technology and the Student Handbook
=)>&@
VW6L[:HHNV("M#
##0DWK#6WULQJ*
7RSLF6
($*
>&@
7RSLFQ"
"
($*
>&@
7RSLFX
PDLQ
($*
>&@>&@>&@
7RSLF-
>&@>&@
7RSLF6WULQJ
(Z*
>&@>&@>&@
7RSLF`
(Z*
>&@
2EMHFWLYHV
"N
x #
x "acceptable use#
x O
#"/##
x 5HDGLQJ%OXH3HOLFDQ-DYD#
; JC 1.1
2EMHFWLYHV
"N
x =#
x "
5HDGLQJ%OXH3HOLFDQ-DYD#9#R!-&
2EMHFWLYHVM
""N
x #
x /(Y6>*#
x SULQWOQ
5HDGLQJ%OXH3HOLFDQ-DYD#7$#9!-&-1.8
3URJUDPV)URP0H7R<RX
PDLQSULQWOQ
2EMHFWLYHV
"N
x 6WULQJ#LQW#GRXEOH#
x "(###
*
x "+#
x "
5HDGLQJ%OXH3HOLFDQ-DYD#7Z#=!=Z$,2.5
2EMHFWLYHV
""N
x #OHQJWK#VXEVWULQJ#WR/RZHU&DVH#
WR8SSHU&DVH#
x \
5HDGLQJ%OXH3HOLFDQ-DYD#7^!=%_
3URJUDPV1DPH7KDW&HOHEULW\M
>/6WULQJ
2EMHFWLYHV
""N
x ###
x #
x O
&
+
&
"
"
#
#
"
&
&
&
5HDGLQJ%OXH3HOLFDQ-DYD#7%; JC 4.3
3URJUDPV&KHDWLQJ2Q<RXU$ULWKPHWLF$VVLJQPHQW
`
7RSLF>
2EMHFWLYHV
""N
##
x /"ILQDO
x #
($*
x >&@
5HDGLQJ&#7'; JC 4.5
7RSLF
0DWK
2EMHFWLYHV
""N
($*
x 0DWK#
>&@>&@>&@
x 5HDGLQJ%OXH3HOLFDQ-DYD#7_; JC 4.4
3URJUDPV&RPSXWH7KLV
`
7RSLF:
2EMHFWLYHV
""N
/
x 6FDQQHU#
($*
x QH[W,QW#QH[W'RXEO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KLIWLQJ0DUTXHH!`\
\
2EMHFWLYHV
"N
x #
x "#
x 5HDGLQJ%OXH3HOLFDQ-DYD#7''#&;JC 21.9
3URJUDPV
x 3ULQWLQJD+HDS!"
x $+HDSRI7URXEOH!
/;<
2EMHFWLYHV
"N
x "\#
x "\#
x \
5HDGLQJ%OXH3HOLFDQ-DYD#7'_; JC 21.8
3URJUDPV
x :KR+DV+LJKHVW3ULRULW\!
\
x 6PLOHIRUWKH&DPHUD!;<
\
2EMHFWLYHV
"N
x "/#
x \#
x "#
x 5HDGLQJ%OXH3HOLFDQ-DYD#7'z; JC 21.3-21.4
3URJUDPV
x $WDVWHRI+DVK!=
x +DVKLQJ$EUDKDP/LQFROQ!=
ƒ/
7RSLF{= 2EMHFWLYHV
"{
N a) Experiment with a large program and learn all of its inherent classes
($4*
and interfaces (Bug, Runner,etc). Extend classes and analyze results.
>&@>&@>&@>&@>&@
b) Run, observe, and experiment with GridWorld and analyze output.
5HDGLQJ{=&"
&
&
&
&
&
$3&RPSXWHU
6FLHQFH&RXUVH
'HVFULSWLRQ(9M
"
=
#
*
&
#
$3
&RPSXWHU6FLHQFH
&DVH6WXG\
=
Programs:
&
GridWorld Case Study : Code Walk-Through and Problem Set(s) from Chapter
1 of GridWorld Case Study
GridWorld Case Study GridWorld Project 1: given work with bug variations
based on Part 2 of GridWorld Case Study
GridWorld Case Study GridWorld Project 2: Design your own class based on
&
material in Part 3 of GridWorld Case Study
GridWorld Case Study GridWorld Project 3: Design your own critters based
on material in Part 4 of GridWorld Case Study
7RSLF
(*
>&@>&@>&@>&@>&@
2EMHFWLYHV
""/N
x "/"#
x "
5HDGLQJ%OXH3HOLFDQ-DYD#=#=$
&
&
&
$3&RPSXWHU
6FLHQFH&RXUVH
'HVFULSWLRQ(9M
"
=
#
*
&
#
$3
&RPSXWHU6FLHQFH
&DVH6WXG\
=
Download