First Java AP Computer Science Exam Complete
BlindSpy writes "Yesterday, Tuesday May 4th, high-school students all over the U.S. took the first-ever Advanced Placement Computer Science College Board exam based on Java. The exam is given as an opportunity for high-school students to earn college credit in programming. The test is based on whichever language colleges are looking for, which signifies a significant step for Java. In past years, the exam has been based on C++ (1 year) and Pascal (around 10 years)." If you took the exam, what were your impressions?
I don't see how the language should matter in these sorts of exams. Personally I rather have the AP test be questions about algorithms, ideas and concepts. Something like:
1) Write PseudoCode for an AVL Tree
2) Describe the benefits of a hashtable
etc...
No coding, just ideas that a smart student can take to any language, whether its Java or C++ or anything else.
Does the College Board have any way to normalize scores between tests given in different languages? Or are they only looking for relative scores among people taking the same tests?
I have never used Pascal since, and I felt it taught me some incorrect concepts. A small percent of my class (myself included) then took the course again over the summer in C++. I felt the C++ experience was much more worth my time. I honestly don't know about how I think about teaching kids java first.
I think you should start with C and assembler. Learn the very very basics of computing before you teach OO programing. I personally don't consider my AP experience worth while. Its hard to get a decent computer science professor in a highschool and even harder to teach complex concepts to students who think computer programming is "making video games" and "lots of money". This was especially the case when I took it (during the dot com boom) and even terrible programmers were making lots of money.
The AP tests are decent, but it's been my experience that taking a CLEP test is easier, faster, less expensive _and_ tends to get your more college credit for the same amount of knowledge.
The next best thing is taking classes to fill up your "full-time" requirements of a certain number of units per semester and then testing out (by taking the final and passing) of the classes you already know. Many on Slashdot could probably get a lot of CS classes passed that way, for example. Those credits count towards "in residence" requirements as well. (The colleges want those tuition bucks, they don't care if you had to go to the class or not as long as you paid them for it.)
AP tests are probably the third best way, but not as useful as the above. I took and passed AP English (5) and AP U.S. History (4) in H.S. and got a lot more credits out of their CLEP counterparts.
Also, if you are good at tests and already fairly knowledgeable, check out Western Governors University, a fully accredited University that does all classes via certified testing. That means if you know your stuff you could pay for one sememster and then test out of a four-year or master's degree. Difficult, but possible.
The party of stupid and the party of evil get together and do something both stupid and evil, then call it bipartisan.
Believe me, I took the test last year (the second level test), and it was a joke and a half. I finished each section with about half the time to spare. Realize that the AP subset of C++ ignored most of the features that aren't in Java... the case study might as well have been written in Java.
And, as mentioned elsewhere in the thread probably, the AP CS exam is not really about concepts. Yes, they taught me a little bit of OOP design, but in the end it's based mostly on algorithms and how to use the language. I agree that this should not be the emphasis, but for better or worse, it's a "how to program" class, not an introductory CS class per se.
This is my sig. There are many others like it, but this one is mine.
My graduating class was the last one to take the Pascal AP exam. When I got to college, all of the classes were taught in C++, and I started in a second year class based on the AP credit I got from the exam. I was expecting it to be very difficult, considering I had never had C++ before, and it was...for about a week. Then I realized that a Stack is a Stack and a Linked List is a Linked list and once you learn the syntax of the particular language you're working in, Computer Science is really language-neutral.
Computer Science is not about programming. It's about finding solutions to problems using computers, which is a very different thing. Moving the AP exam to Java seems like a good idea to me, but I doubt it will have any real impact on the curriculums of the schools that make the switch. The principles and concepts taught in any decent Computer Science undergrad program were just as valid and relevant 50 years ago as they are today as, they will be 50 years from now.
I think you should take pride in the fact that as a developer, you're employed at all!
I beg to differ, it's GREAT that Java is being taught (i took the test, btw)
;)
It's a simple language (relative of course) and allows teachers to teach good concepts, such as, recursion, algorithms, and Object-oriented program.
Honestly, if colleges were turning out graduates only with Java experience THEN you'd be right, but from my understanding, java is only freshman and sophmore level in college.
Don't worry, i'm coming for your job anyways
Error 407 - No creative sig found
The C++ exam was definitely not only one year in the running. It was for many years, probably 5+ or so, Pascal being supplanted in the mid/late 90s. I took the exam years ago and I think it's a good move to bring the AP to Java for a number of reasons.
The biggest reason is the computer science AP when administered using C++ required students to learn the "AP" libraries. That is, they actually developed their own versions of the important data structures that most people use. I think this was mainly due to the fact that most people see the STL as bloated and under-utilized. On the other hand, everyone uses the Java libraries and this cuts out the need to learn additional code (not to mention that the AP code like apvector, apmatrix, etc. wasn't even written that well).Of course, teaching Java does seem to abstract memory management too much, and this is a negative as a result of moving to Java for the AP exam. However, this is outweighed by the consideration above and the fact that I think it's genearally "more fun" for students to learn Java.
By "more fun" I mean that every student will be able to write applications at home or at school and be sure that it will run elsewhere regardless of what system they have. I remember as a TA for a high school programming class that sometimes code wouldn't work going from home to school to other machines at school (e.g. Visual Studio->CodeWarrior->KDevelop) and often, people who wanted to do more advanced things with graphics were limited by the libraries (though I guess we could've done stuff with Allegro or something of the sort). With Java, there's instant gratification in being able to drop in an import for awt and swing and immediately get GUI feedback.
Finally, because it's most important to learn theory in these courses, Java makes for better teaching in comparison to C++. Stronger typecasting, no multiple inheritance, etc. makes Java a language that is "better" in terms of teaching computer science theory (though it's not necessarily better so in practice).
I took both the A and the AB tests in C++ - and i know it was C++ for alteast 3 years because I took the A test in 2000 and the AB test in 2002
On a sidenote: it should still be in C++ - java = BARF
If you cannot keep politics out of your moderation remove yourself from the Mod Lottery.. NOW!
While I mostly agree with this - back in college I took a networking class which was a breeze because I had been doing it for years prior to the class. Regardless of that, the class was taught from protocols such as HTTP, then TCP, then IP, then Ethernet (link layer)... etc....
Similar to taking Java and going to C++ then assembler. Quite frankly I think the class was a lot better as a result because it took familiar concepts, explained them in better detail which lead to questions (ok, so how does HTTP guarantee delivery and integrity of the request? it uses TCP), which then got answered in what seemed a very natural way.
Both approaches have benefits, but just because your picture doesn't look pretty, doesn't mean all paints/ink are going to be so messy.
I took the test the first year it was C++ and got a 5 out of 5 points on it, but when I got to school they gave me 2 credits (i.e. almost nothing) for it. It was a real let down putting all that effort into it and getting so little (scholasticly) in return. Of course knowing C++ while still in high school and being able to explore compsci on my own I think very valuable.
-Benjamin Meyer
Do you changes clothes while making the "chee-chee-cha-cha-choh" transformation sound?
They're not being tested on their knowledge of Java. They changed from C++ because C++ sucks various reproductive appendages of various mammals with varying descriptors relating to size, shape, and color. For learning, that is. I won't argue that it's useful for production because of its speed.
Anyway, the students are not being tested on their knowledge of Java. They're being tested on actual computer scientific concepts, such as the object-oriented design model, inheritance and polymorphism included, as well as algorithmic design concepts such as big-oh notation and all that. I took it last year in C++ (and got a 5) -- I'm assuming I could ace it again, even though I have never written a java application in my life, simply because it does not test you on Java.
The reason they changed is pretty obvious -- C++ has header files and awkward inheritance and so forth. With a more object-oriented language, you learn more about data structures and less about 'virtual'. You also get interfaces in Java, which is a much better implementation (pun only sort of intended) of multiple inheritance.
Which is a pointless endeavor, since people will share the test answers. Ever notice what happened the last time you told a teenager not to do something? Did they do what you told them? Wake up, man. Sitting around "hoping" that the kids won't talk is fucking delusional.
The playing field should be level.
Wow. If they manage to pull off a "level" playing field, they'll be the first to ever do so with a test like this. Face it, all tests are biased, and having students discussing the answers is just another form of bias. You plan for this, and deal with it.
Students who tried to cheat this way HAVE had legal action persued against them
First, if you consider the free discussion of test questions among students outside of the test-taking environment to be cheating, you have a truly draconian take on things. Second, unless the kids signed some kind of legally binding NDA, there is no law which could allow the College Board to prosecute them for any offense at all -- haven't you heard of the fucking First Amendment? Copyright can't stop them, since it is a fact that the answer to question #115 is letter D, and you cannot copyright a fact. And aren't some of these kids under 18 anyway? An NDA can't apply to them, since any contract they enter into is null and void.
Basically the only recourse they have again people discussing the test is arbitrarily making their score zero. This is stupid, it denies reality, and is generally evil.
The huge disconnect here, in my honest opinion, is that the vast majority of Computer Science students are only going after a Computer Science degree because it's the only way to get a job as a computer programmer - but the universities are all treating Computer Science as some form of abstract mathematics. Heck, some universities have Computer Science as a Liberal Arts degree.
Real computer programmers need to understand pointers. Java does not teach you how to effectively use pointers. In fact, it makes it harder to learn pointers, because you learn such bad habits.
Garbage collection is nice, but the majority of computer programmers don't have access to it. Universities should offer Computer Science and (Applied?) Computer Programming degrees, and the AP tests should similarly be targeted for Computer Science (Java, maybe) and Computer Programming (C++, definitely - with exposure to other things as well; Java, Python, Scheme, Lisp, Perl, whatever.)
Education is the silver bullet.
Now that poor US students take their CS exams using Java we can count on more and more serious programming jobs outsourced to other countries where people still learn programming through languages that actually teach something about how systems work.
There's no such thing as an object oriented hardware architecture; teaching programming to young students with OO languages is like putting a wall between their brain and decades of still valid knowledge on the way computer machines work.
OO is useful at prototipying and getting the work done +after+ you have enough knowledge to avoid shooting yourself in the foot.
ya seriously - with processor speeds what they are these days, there is 0 reasons to use assembly for anything besides device drivers. hardware is cheaper than the extra man years of developer time.
You Sir, and the people who think like you, are the reason I still have a great job.
There is more about computing in this world than PCs and Macs. What do you think runs in your microwave oven? or your fancy watch? or your car's engine computer?
"A door is what a dog is perpetually on the wrong side of" - Ogden Nash
Hmm I'm walking into Stanford this fall with about 20 credits from APsthat count toward my major, including last year's comp sci AB getting me out of a cs101 class, 2 years of calculus testing me into multivar, and cheesy freshmen physics out of the way. It varies wildly from school to school.
when I find myself you'll be the first to know.
It's still funny, considering that first thing after any AP test the students are all talking about the answers.
Let's not confuse programming -- the practice of using a computer language to do one's bidding -- with computer science -- the more generic, language agnostic study of computers. That's why the exam is called AP COMPUTER SCIENCE and not AP Programming. I wouldn't say that the use of Java on the exam is a great boom for Java per say, just a recognition that it has many features that are useful, and not available with previouis languages in this exam setting.
I think this misconception causes many students to inappropriately major in CS in college because "they like programming", or "they like computers". And some of them, from my experince at engineering school, end up in other majors as a result. Not all though, but enough for me to feel I should comment...
A class on CS (as opposed to programming in java) ought to define the laguage in two pages at the front of the test.
Anyone familiar with the concepts of programming out to be able to learn a simple language for the test from that.
I suppose that the language could vary, every few pages. The first one could be like basic, the last like smalltalk.
But I suppose teaching concepts to high-schoolers is a lot harder than teaching very concrete stuff.
I came into school with over a full year of credit from my six AP tests. That's a $20k net savings.
Or $30k if I decide to get a MS (which would take four years, instead of the usual five at which point my scholarships would dry up).
I daresay many of the people taking the AP test have no intention of becoming CS majors. Even after 2 years of CS classes in high school, some of them don't know how to sort a list. (I should know, I was one of the people essentially telling them how to write their programming assignments.)
Even when you take a "challenging" AP test, like Physics C (calculus-based), it's graded on such a curve that you can get half of them wrong and still get a 5.
This is my sig. There are many others like it, but this one is mine.
Wow. That is probably the worst idea I have ever heard about AP exams. Right now I'm going into my third year of CS at UIUC and I'll be dammned if any professor wants to waste a whole course on teaching .NET. First of all, in my opinion, it sucks. Second, CS is more math and algorithm oriented than frameworks and language specifics.
AP exams are supposed to measure to a degree (quite bad from what I have seen) how you would do in a first year course at some university. I would really like to know which university will give .NET as a first (or even second) year language... So far I have seen here an Intro to programming with Java, some nasty discrete mathematics course, an Intro to data structures and algorithms with C++, some more nasty computational theory, more and more math, and so forth... Maybe that is what the AP should be aiming for... not just some stupid syntactical questions to be filled out on a scantron sheet.
I call monstrous shennanigans on this one. Nobody who doesn't understand recursion is a good programmer. Recursion and the limits therein is a fundamental building block of procedural and OO development. And if you don't know anything about ArrayList, you're sure as hell not coming within 100' of our java projects.
Send lawyers, guns, and money!
Second, unless the kids signed some kind of legally binding NDA, there is no law which could allow the College Board to prosecute them for any offense at all -- haven't you heard of the fucking First Amendment? Copyright can't stop them, since it is a fact that the answer to question #115 is letter D, and you cannot copyright a fact. And aren't some of these kids under 18 anyway? An NDA can't apply to them, since any contract they enter into is null and void.
Having just come from taking 2 ap tests in the past two days, let me tell you, you have to sign 2 or 3 legal statements saying that you agree not to discuss the test and so on. Second of all, a legal agreement can be entered into by any party, typically people do not enter contracts with minors because there is very little recourse in event of some disaster. However, the AP exams, being prepaid for, are not the same as a "regular" contract, and the collegeboard would not risk any loss by entering a contract with an minor since the tests are prepaid.
as for the copyright portion of their threats, they have plastered all over the tests "unauthorized duplication prohibited". My guess is that theres no way copyrighting a fact would be held up in court, but they probably rape you if you write anything down and try to take it out of the test with you.
The most effective of all their threats, I imagine , is the canceling of score reports. I'd imagine you'd be screwed before a college admissions depart looked at your application for cheating.
Idle hands are the devil's workshop, but idle minds are much worse
I would of taken the AB test but my teacher said I didnt have the math, Ive been hearing that and im gona see if I can take it next year. I know binary trees(im writing a Quake III BSP reader thats all binary trees), linked lists while a little different in java Ive done it I defenatly like the C/C++ way alot more, stacks and quesues I know about but not well I probably could learn.
Yeah. Well, when I took it in 1994, it was on Pascal. And ours did what yours did and also had us be familiar with programming a basic file system. In Pascal. Gah, it was crappy. (Stupid AP people had us using a programming language which sucked donkey balls.)
Because people sure aren't learning them from Java. C hackers are getting harder to find.
Good riddance. I'm getting annoyed by this constant assertion that C is the only real programming. It's just inappropriate for most of what people are doing with it.
For any chunk of C code using malloc() and free(), there's a smaller and faster OCaml equivalent that's garbage collected.
For fun, go to the Great Computer Language shootout and download the java, c, and ocaml fibonacci code (same algorithm). On my machine, the ocaml version is the fastest, followed by the java version, and then the C version. Including startup time, the java version is always faster (user and real CPU time) than the C version.
I write enough C, but OCaml isn't the first language that's produced faster code than I've been able to produce with a C compiler, nor is it the first that's made it easier to write reliable apps than unreliable apps.
What I really don't understand is the way people refer to free() and malloc() as if they're some sort of fundamental elements of programming that are required to be taken seriously. You know they're library routines, right? Should I not take someone seriously who doesn't use sbrk() directly in their code?
-- The world is watching America, and America is watching TV.
Simply knowing what it is is insufficient. (And yes, I know you were exaggerating.)
A concrete example that shows the depth of knowledge necessary: "Look at these four samples of code that try to remove a node from a doubly-linked list. Which of them works properly?"
Another example: "Look at this code and answer what it does." The code in question traversed a linked list, removing every node containing a value passed to the function as a parameter. One catch: under a certain condition, it would cause a runtime exception.
Calculus isn't required I'll give you that. However there is a reason you were told to take it: it teaches you a lot more than any other class. Learning that you will need latter in life, but you won't realize it. I never use calc itself in life, I couldn't do a simple derivative anymore. I use the thinking abilities calc gave me every day.
You are wasting everyone's time by not talking calculus. Most of all your own.
C is high-level, but its "level" is very low among the high level languages.
/FFP (first Firefox post)
You can write C code and practically envision the asm that it will compile into.
(As the grandparent poster put it, C is "portable assembly".)
Same with C++, but a little less so.
I don't think it's wrong to classify C as a low-level language, especially when comparing it to Java and C#.
void*x=(*((void*(*)())&(x=(void*)0xfdeb58)))();
Coding by hand is still not a great test of ability. In the real world half of a programmer's skill is in fixing the errors found in code (his own or others'). I don't know about the uber-leet types here, but I know my first draft of code always has at least a few trivial typos and maybe a few real bugs. The fact that I can get it to run on time is what matters, not my ability to write perfect source on the first try. (That said, I had to generate perfect code by hand for a number of course. So I know that is the way tests are run everywhere. But I still think it is not the best test of real world skills.)
Boys from the City. Not yet caught by the Whirlwind of Progress. Feed soda pop to the thirsty pigs.