Well, ive been at EPGY for a couple of weeks now and im gonna miss it when i leave. My favorite things during EPGY were the activities and the classes (even though the food was pretty good).
Things i learned: A void function doesnt return anything. an integer function returns an integer. a function is a word that names something, while a data type stores information.
a function is a word that names something, while a class is something needed for the program to work.
a class is needed for the program to work and is the main idea of the code, while a data structure holds data types.
a function and anything closely related to it goes in curly braces.
the And Gate (&&) tells the computer that if both of the functions are working and true, this specific event will happen.
on the other hand, the Or Gate (II) says that if at least one of the functions is true, this specific thing will happen.
the best video games i played here at camp were probably This Is the Only Level, Armor Mayhem, and Effing Worms.
my favorite types of games are RPGs (role playing games)
here is a picture of my group and i at the Computer History Museum
this is a fun website that teaches you about functions in programming. it is really use full and it definitely helped me.
so yesterday i went to the computer history museum about thirty minutes away from Stanford. it was a really fun and interesting experience. i got to sit in a Google street view car! yeah! i learned so many things about how computers first began, and the first programming , and the first typing systems. i highly suggest visiting this museum once in your life.
hey guys! today i played an interesting game. i’m not sure what it is called, but it is a story telling game. you are god, and you can move each person to different places in the picture to change the outcome in the future. this is a really fun game and i think people of all ages will find it amusing.
The url beneath is a video that is similar to how we want our robot to work:
We are planning to build a robot that finds a ball in a specific order depending on the color. After it picks the ball up it will throw the ball.
This will be really cool because the robot will resemble a professional athlete. Building a robot that can pick and throw a ball is very interesting. The robot will be on its own.
This is a Lego Robot Project.
yesterday i was given a robotic arm to work with…
the robot arm would not follow the directions i gave it because the mad scientist Kevin:
messed with the arms code
so to fix it my partner and i had to fix the code. after a lot of testing and failure, we were able to fix the arm and make it do what it was supposed to do.
the robot arm would move left to right, up and down, and could grip things.
so the problem with the code on Eclipse is that it had a lot of errors. Eclipse gave us red lines which were errors we needed to fix, and it gave us yellow lines which were warnings that we could ignore. There were logic errors and compile errors. the compile errors were things that the computer noticed and needed to be fixed in order for the program to run. but logic errors were okay for the computer, but they didn’t make sense. these were errors such as: whenever you press the “left button” the arm would go up. but we were able to fix all these errors (with some help). we had to use libraries like the leJOS NXJ to allow the code to make sense to the computer.
the mad scientist kevin was actually quite mad. he had grammatical errors in his comments and the arm didn’t make sense at all in the beginning.
well stay tuned guys for more stories.
hey guys! today i played a mario tetris game. you have to make blocks fall in the right place to allow mario to keep going. this is a pretty fun game. it is interesting and it makes you think on the spot. stay updated!
today i tried a site called duolingo. it is made to help you learn a new language. this is not a game, and it could be fun if you are intrested. but on the downside it is not very efficient at teacvhing you a new language. oh well…
stay updated with my posts!
getters and setters are accessors that are used in private classes instead of public class.
“The good news is that there are lots of replacement text-based languages for Mindstorms NXT, fromJava to Lua (or, if you want to stick with visual programming, you can also use LabView, the professional-grade language that NXT-G is based on).”
a prototype is a version of something that is simple and can be worked on and tested.
you have two “stalls” with each of them them holding a value. in order to swap the values you need to create a temporary stall to hold the value getting ready to be swapped. then you put value one in the temp and value two in stall one (which was previously holding value 1). then you put value one in stall two. this is the idea behind swapping.
one loop finds the next smallest number, while the second loop actually swaps that number with the number in its spot.
you say ‘System.out.println (array);
a thermometer tells temperature and a thermostat takes humidity. (maybe)
it is not your work and is illegal
make it your own
you can look on the internet