Java, Eclipse, and when things get Rough

  • What is one way to start a new programming project in Java? You go File – New – Java Project
  • What is an API? Application Programming Interface is like a library that specifies things for other objects.
  • What is a getter and a setter ( This is also called an accessor. They let you read and right variables
  • What are the different languages for the Mindstorm NXT (
  • What language will you be using to program your robot? Java
  • What is a prototype? A prototype is a test run or first copy of a project. It will not be great or perfect.
  • Explain to someone how you swap 2 values in Java. You need a temp stall to hold one variables while you swap them.
  • How does selection sort use 2 for-loops? Selection’s first for-loop searches through the list and the second loops switches the smallest number for the next spot in the list.
  • How do you print all the values from an array? System.out.println(array[]);
  • What is the difference between a thermometer and a thermostat? A thermometer records and displays temperature. A thermostat records and changes temperature.
  • Why is plagiarism bad? Plagiarism is bad because you are stealing other peoples work and not giving credit. It is ok if you give them credit. Unless they specifically say you cant copy the code.
  • How do you avoid looking like you are stealing someone’s code? You can change around some specifics or just write it yourself.
  • What are a few things you can do if you get really confused, lost, or stuck when trying to program? You can just peek at someones example. You can also look at the code and read eclipse’s error messages

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s