
You should solve these problems individually. All of these places will help you get unstuck without handing you the entire solution, so you can continue to learn by working your way through to the answer. If you're stuck, ask me, a prefect, or a lab assistant for help, or post a question on the course Q&A Forum. You may not find solutions to these problems on other websites and copy them in, even if you cite them. It may very well be possible to find solutions to these problems elsewhere online. In particular, CodeStepByStep will not give you credit for solving the problem if you do show the solution. First, here are some notes and caveats.ĬodeStepByStep has a button associated with each problem labeled "Show Solution(s)." You should only use this button as a last resort.
#Jgrasp shortcuts series#
I'll be asking you to do a series of exercises in CodeStepByStep. Visit CodeStepByStep, and log in using the account you created in the last assignment. For the short term, though, we'll be using CodeStepByStep to do a series of short targeted exercises in Java. Throughout this course, we'll be using jGRASP to do the bulk of our Java coding, which is why I wanted you to get started with it right away. Here's a shortcut: you don't really need to select Compile before you select Run jGRASP will automatically compile first if you just Run it every time.ĮXERCISE: Modify the program so that it prints out "Welcome to Data Structures!" You don't need to turn in the results of doing this, but you should achieve this before going on. If all goes well, your program should print out "Hello, world!" in the Run I/O tab. Once your program is compiled, you can run it by going to the Build menu in jGRASP and selecting Run.
#Jgrasp shortcuts code#
If you do get errors, check to see if you got the code correctly from the website, or ask for help. Hopefully, the program should compile without returning any error messages. To compile it, go to the Build menu in jGRASP, and choose Compile. Look at each line of the program, and think about what each word and symbol might mean.īefore we can run your program, we need to compile it (translate it to a language the computer can understand).

Save this code into a directory within your account, then open the file up in jGRASP by selecting File, Open from the menu in jGRASP.
