Why Write Code on Paper?

Why Write Code on Paper?
School is about to start up for students all over the United States. And for those that are taking a computer science course for the first time, they’ll learn that it’s not always just typing code into a computer. So why do we write code on paper?

Many teachers and professors have their students write at least some of their code on paper, and then it’s hand graded rather than run through a compiler.

But why? For students this seems like a very odd thing. They’re learning to program a computer, but not using a computer.

Let’s take a step over to the other side and look at why this can be a good way to learn programming. Continue reading

AP Exam Score Access

On July 5th and 6th results for the 2017 AP exam will be released. Exact time and date depends on the location of your school district, and are listed in the table below.

Scores will be available at https://scores.collegeboard.org/pawra/home.

Wednesday, July 5th 2017

School Location Access Start Time
Connecticut
Delaware
District of Columbia
Florida
8am ET
Georgia
Indiana
Kentucky
10am ET
9am CT
Maine
Maryland
Massachusetts
12pm ET
Michigan
New Hapshire
New Jersey
2pm ET
New York
North Carolina
4pm ET
Ohio
Pennsylvania
6pm ET
Rhode Island
South Carolina
Tennessee
Vermont
Virginia
West Virginia
8pm ET
7pm CT

Thursday, July 6th 2017

School Location Access Start Time
Arkasas
Illinois
Iowa
Mississippi
8am ET
7am CT
Texas 10am ET
9am CT
8am MT
Kansas
Louisiana
Minnesota
Missouri
Nebraska
North Dakota
Oklahoma
South Dakota
12pm ET
11am CT
10am MT
Arizona
Colorado
Idaho
Montana
New Mexico
Utah
Wisconsin
Wyoming
2pm ET
1pm CT
12pm MT
California 4pm ET
1pm PT
Alaska
Hawaii
Nevada
Oregon
Washington
6pm ET
4am MT
3am PT
2am AKT
12pm HAST
Canada
US Territories
International
8pm ET (local time varies)

Tweets on the 2017 AP CompSci Exam

If you’re not following @AP_Trevor on Twitter, you really should be. He’s the senior VP on AP and instruction at the College Board and tweets out some really great stuff about AP exams.

Right now he’s tweeting out information about exam results as they’re coming in. We’re going to look at a few of the CompSci ones since that’s what we’re about here.


Continue reading

Comparing output in a JUnit test

Output matching is a built in test type in ClassCube. The catch is that you may not always want to compare that the output matches exactly. Or, maybe you want to do your own comparisons.

To do this you’ll need to create your own JUnit test and use the unit testing grade type. Fortunately, it’s pretty easy to deal with output from stdOut and stdErr.

The Code

Let’s start by looking at an example JUnit test file. There’s only a shell test method called, creatively test. Take a look and then we’ll talk about the code.
Continue reading