Skip to content

Commit 4774651

Browse files
authored
Merge pull request bhoffman0#213 from bhoffman0/edits-to-ide-page-and-small-fixes
Small reported fixes
2 parents 300d20f + 63e6b3b commit 4774651

4 files changed

Lines changed: 18 additions & 14 deletions

File tree

_sources/Unit1-Getting-Started/calling-class-methods-2026.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ When calling the ``square`` method, the return value can be stored in a variable
160160
:answer_d: square(3)+divide(5,2)
161161
:answer_e: Nothing, it does not compile.
162162
:correct: a
163-
:feedback_a: Yes, the square(3) method is called first and returns 9. Then the divide(6,2) method is called and returns 3. The sum of 9 and 3 is 12.
163+
:feedback_a: Yes, the square(3) method is called first and returns 9. Then the divide(5,2) method is called and returns 2 because it does int division and leaves off the decimal part. The sum of 9 and 2 is 11.
164164
:feedback_b: The divide function does integer division.
165165
:feedback_c: The + here will be interpreted as addition since the methods return ints.
166166
:feedback_d: The square and divide methods are called and return values that are added together.

_sources/Unit1-Getting-Started/javaIDEs.rst

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,32 @@ Java Development Environments
1212
single: Netbeans
1313
single: VSCode
1414
single: Github
15-
single: Codespaces
15+
single: JuiceMind
16+
single: jGRASP
17+
single: IntelliJ
18+
single: PickCode
1619

1720
The tool that we use to compile a Java source file into a Java class file is called a **compiler**. Most programmers use an **Integrated Development Environment** (IDE) that has the compiler built in and helps you write, compile, run, and debug programs.
1821

1922
You can learn Java by just using the interactive coding panels called **Active Code** in this e-book. If you are logged in, the Active Code will remember your changes and even show you a history of your changes to the code if you click on Load History.
2023

2124
However, it's a good idea to also try a Java IDE to build code outside of this e-book, especially to try coding with user input which Active Code cannot do. There are many Java IDEs available. Here are some of most popular ones used by AP CSA teachers:
2225

23-
Replit (Online IDE)
26+
Cloud IDEs
2427
--------------------------------------
2528

26-
Replit (https://replit.com/) is a free online development environment. You can login with a Google account or make an account and create new projects (click the + new repl button and type in Java) and all of your code will be kept online in your account. Replit is a great option if you are using a Chromebook or you cannot install software on your computer or you want an easy no-installation option. Replit no longer has an education Teams plan.
29+
There are a lot of online cloud IDEs where you can code online in many programming languages. Most are free to start, but offer different features for a price. These are great options if you are using a Chromebook or you cannot install software on your computer or you want an easy no-installation option. Some of the Active Code samples in this e-book also include a link to online IDEs. These projects can be copied to make your own copy.
2730

28-
Be aware that Replit has turned on its AI feature for code completion for all accounts (https://replit.com/ai). Each user can turn the AI on and off at the bottom of the code window, and use an AI chat window to ask questions of the AI.
31+
Here are some popular online IDEs:
2932

30-
There is a firewalled replit domain for schools at https://firewalledreplit.com that filters content so that students stay within the school filters, see https://docs.replit.com/firewalled-replit/firewalled-replit-faq.
31-
Some of the Active Code samples in this e-book also include a link to a firewalled replit project.
32-
These projects can be forked to make your own copy. If you are pair programming, replit has an Invite button where you can generate a join link to share your code with another person, and you can both make changes at the same time.
33+
- Replit (https://replit.com/) an online IDE which recently switched to only allowing 3 projects at a time for free.
34+
Be aware that Replit has turned on its AI feature for code completion for all accounts (https://replit.com/ai). Each user can turn the AI on and off at the bottom of the code window, and use an AI chat window to ask questions of the AI.
35+
36+
- JuiceMind (https://juicemind.com/) is an online IDE that offers many free and paid features for teachers to set up classrooms like Coding Rooms. It has a built-in version of CSAwesome.
37+
38+
- PickCode (https://pickcode.io/) is another online IDE that offers many free and paid features for setting up classrooms.
39+
3340

34-
Online IDEs usually cannot use graphical user interfaces and just do input and output as text.
35-
However, replit has a built-in javax.swing graphical user interface.
36-
You need to choose Java Swing instead of just Java to get this environment when you start a new repl project.
3741

3842
Github Classroom and Codespaces
3943
-----------------------------------

_sources/Unit8-2DArray/topic-8-1-2D-arrays-Day2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ You can also initialize (set) the values for the array when you create it. In t
152152
What is the value at ``seatingInfo[2][1]`` after the code above executes?
153153

154154
- :Luke$: Correct. The string at row index 2 and column index 1 is Luke.
155-
:.*: Indicies start at 0 and the row is first then the column
155+
:.*: Indices start at 0 and the row is first then the column
156156

157157

158158

_sources/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To make sure the site saves your answers on questions, please click on the perso
1919

2020
ATTENTION high school women of color taking AP CSA or CSP: if you identify as female and as Black, Hispanic/Latina, and/or Native American, apply to participate in **Sisters Rise Up**. The goal of Sisters Rise Up is to help you succeed in your AP Computer Science course and on the exam. They offer one-hour help sessions several times a week and once a month special help sessions often with guest speakers from computing. If you enroll in Sisters Rise Up and send in your AP CS exam score by the end of August, you will be sent a gift card for $100. See the |flyer| and apply at https://tinyurl.com/55z7tyb9.
2121

22-
.. ATTENTION high school women, genderqueer, and non-binary technologists: Apply Sept. 1st until Oct. 20th for the **NCWIT Award for Aspirations in Computing** to be recognized for all that you do (or want to do) in technology. Visit http://www.aspirations.org/AiCHSAward for details.
22+
ATTENTION high school women, genderqueer, and non-binary technologists: Apply Sept. 1st until Oct. 29th for the **NCWIT Award for Aspirations in Computing** to be recognized for all that you do (or want to do) in technology. Visit http://www.aspirations.org/AiCHSAward for details.
2323

2424
.. ATTENTION high school seniors: apply for the https://www.amazonfutureengineer.com/scholarships until Dec. 15th for college scholarships and Amazon summer internships for students with financial need.
2525
@@ -101,7 +101,7 @@ Index
101101

102102
If you see errors or bugs, please report them with this |errors form|. If you are a teacher who is interested in CSAwesome PDs or community, please fill out this |interest form| and join the |teaching CSAwesome group| which will give you access to lesson plans at |csawesome|.
103103

104-
(last revised 7/2024)
104+
(last revised 9/2024)
105105

106106
© Copyright 2014-2024 Barb Ericson, Univ. Michigan; 2019-2024 Beryl Hoffman,
107107
Elms College; 2023-2024 Peter Seibel, Berkeley High School. All rights reserved.

0 commit comments

Comments
 (0)