<< Chapter < Page Chapter >> Page >
This tutorial lesson is the first in a series of lessons dedicated to the AP Computer Science A Exam. The purpose of the series is to help you to better understand the Java Subset specifications for the Advanced Placement Computer Science A exam.

Table of contents

General

This tutorial lesson is the first in a series of lessons dedicated to the AP Computer Science A Exam .

The purpose of the series is to help you to better understand the Java Subset specifications for the Advanced Placement Computer Science A exam.

For example, if you access the AP Computer Science Course Description and scroll down to Appendix A titled AP Computer Science Java Subset , you will find material such as the following:

13. The main method and command-line arguments are not in the subset. TheAP Computer Science Development Committee does not prescribe any particular approach for program invocation. In free-response questions, students are notexpected to invoke programs. In case studies, program invocation with main may occur, but the main method will be kept very simple.

(Note: This is the wording that appeared on the website on March 1, 2011. It may change over time.)

While some students and their homeschool parents may know exactly what is meant by this text, others may not. Therefore, my objective will be to elaborateon and attempt to clarify such specifications from a technical viewpoint to help those students and their parents get a better understanding of where they needto concentrate their efforts.

In some cases, I will simply elaborate verbally on the specifications. In other cases, I will also provide program code that illustrates some of what thestudent is expected to know.

In other cases, I will also provide code that illustrates some of what the student is apparently not expected to know.

In the next lesson, I will begin by elaborating on the following specificationsfrom the above-mentioned course description .

1. The primitive types int, double, and boolean are part of the AP Java subset. The other primitive types short, long, byte, char, andfloat are not in the subset. In particular, students need not be aware that strings are composed of char values. Introducing char does not increasethe expressiveness of the subset. Students already need to understand string concatenation, String.substring, and String.equals. Not introducingchar avoids complexities with the char/int conversions and confusion between "x" and 'x'.

Miscellaneous

This section contains a variety of miscellaneous materials.

Housekeeping material
  • Module name: Language Features - Introduction
  • File: Hs01000.htm
  • Revised: 10/03/15
  • Keywords
    • Advanced placement
    • AP Computer Science
    • Java subset
    • homeschool
Disclaimers:

Financial : Although the Connexions site makes it possible for you to download a PDFfile for this module at no charge, and also makes it possible for you to purchase a pre-printed version of the PDF file, you should be aware thatsome of the HTML elements in this module may not translate well into PDF.

I also want you to know that, I receive no financial compensation from the Connexions website even if you purchase the PDF version of the module.

In the past, unknown individuals have copied my modules from cnx.org, converted them to Kindle books, and placed them for sale on Amazon.comshowing me as the author. I neither receive compensation for those sales nor do I know who does receive compensation. If you purchase such a book, please be aware that it is a copy of a module that is freely available on cnx.organd that it was made and published without my prior knowledge.

Affiliation : I am a professor of Computer Information Technology at Austin Community College in Austin, TX, and have noaffiliation with the College Board .

-end-

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Ap computer science a, clarification of the java subset. OpenStax CNX. Oct 03, 2015 Download for free at https://legacy.cnx.org/content/col11279/1.5
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Ap computer science a, clarification of the java subset' conversation and receive update notifications?

Ask