JDK Source Code (Activity)

From Foss2Serve
(Difference between revisions)
Jump to: navigation, search
Clif.kussmaul (Talk | contribs)
(Created page with "__NOTOC__ === Overview === {{Learning Activity Overview |title= JDK Source Code (Activity) |overview= In literature, we study some "great works" in that language. For exam...")

Latest revision as of 20:41, 1 May 2019


Overview

Title

JDK Source Code (Activity)

Overview

In literature, we study some "great works" in that language. For example, in English we might read works by Jane Austen, Charles Dickens, and William Shakespeare. In computing, we should also study some "great works", such as operating systems, programming languages, and compilers.

This set of activities explores parts of the source code for the Java Development Kit (JDK), including selected parts of Math.java, Arrays.java, ArrayList.java, and String.java. These files are only a small part of the complete JDK.

Prerequisites
  • Read, written, and debugged Java programs with: javadoc comments; variables & expressions; classes with fields, methods, and constructors. String uses arrays. ArrayList uses generic type parameters.
Learning
Objectives
After successfully completing this activity, the learner should be able to:
  • Describe common items in file and class comments.
  • Describe common patterns in API classes, including: overloaded methods, wrapper methods, high comment-to-code ratio
  • (Arrays) Describe, trace, and use common Arrays methods, including: sort(), binarySearch(), equals(), fill()
  • (ArrayList) Describe, trace, and use common ArrayList methods.
  • (String) Describe, trace, and use common String methods.
  • (String) Describe the Unicode standard and its general structure.
  • (String) Describe how Java compares strings lexicographically.
Process Skills
Practiced

Information Processing,Teamwork


Background, Directions, Deliverables

See details in the Student versions of each POGIL activity.

Notes for Instructors

See details in the Teacher versions of each POGIL activity.

Assessment

  • How will the activity be graded?
  • How will learning will be measured? Ideally, there should be a way to measure each of the objectives described above.
  • How will feedback to the student be determined?

These are classroom POGIL activities, so all teams should complete it in class with correct answers. Thus, these activities are typically not graded, but there might be related quiz or exam questions later.

Suggestions for Open Source Community

N/A

Additional Information

ACM BoK
Area & Unit(s)
ACM BoK
Topic(s)
Difficulty

easy

Estimated Time
to Complete

1 hour

Environment /
Materials

paper activity (1-2 per team or 1 per student) or Google Doc activity (1 per team)

Author(s)

Clif Kussmaul

Source

http://cspogil.org/Java (for sample version)

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Creativecommons-by-nc-sa-40.png



Personal tools
Namespaces
Variants
Actions
Events
Learning Resources
HFOSS Projects
Evaluation
Navigation
Toolbox