My Favorite Things

functionsinjava

 

My favorite thing during EPGY was being at Stanford to play, hang out, and learn.

What does a void function return? A  void does NOT return anything.

What does an int function return? An int function returns

What is the difference between a function and a datatype (http://processing.org/tutorials/objects/)? The difference between a function and a datatype is a datatype is a type of data and a function is a way to organize instructions. 

What is the difference between a function and a class (http://processing.org/tutorials/objects/)? The difference between a function and a class is a class is a construct to define a type. All classes must include four elements: name, data, constructor, and methods.

What is the difference between a class and a data structure? The difference between a class and a data structure is a data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently. http://en.wikipedia.org/wiki/Data_structure

What goes inside the curly braces? What go inside the curly braces are multiple lines of commands.

What does the And Gate (&&) do? The And Gate requires 2 light switches to be on to turn on a light.

What does the Or Gate (||) do? The Or Gate requires at least 1 light to be on to turn on the light.

Museum

The best video games I played at camp were: miniclip.com http://armorgames.com/play/4309/this-is-the-only-level and http://www.coolmath-games.com/

My favorite type of games are: Strategy, Puzzle, Role-Playing, Simulation, and Fun ones.

EPGY Gallery: https://picasaweb.google.com/110478996885609825075/MSP2013

Game Review #9 Story Teller

LGS           Story teller

http://www.ludomancy.com/games/StoryTeller.html

This is basically a role-playing story. Click the people and drag them, see what happens! The andornot gates form the basis of digital logic based on boolean algebra. It is the way all digital computers work at the circuitry level.

This game compared to Logical Gate Simulator

The Gate Simulator is a “game” where you test out controls like OR gate, or AND gate.

Computer History Museum

Museum

My experience was great at the Computer History Museum. I bought a computer eraser, a magnet, and robot stickers. The drive was short maybe about a 15 minute drive. The buses were nice and we went with High Schoolers. I went with a group of friends. We spent most of our time in the shop and looked at toys and stuff. But, the museum was really cool. There were many computers and other technology while we explored. It showed how computers and game consoles, got smaller during the years.

To see more pictures go to https://plus.google.com/photos/110478996885609825075/albums/5896591288881294177?banner=pwa

Project Proposal

photo Diva, Myria, and I are making a Robot. We will combine one robot claw onto one Explorer robot. One of us will control the claw brick to make it move. This will be cool because we can pick up different things with our claw while the other half moves around and can pick up some trash or balls around the room. It will be entertaining and challenging at the same time.

Building My Robot

my team is: Team 5
my team members are: Marion, Diva, Aanya
my robot is named:

my experience with building my robot was: fun, but the speed of building was slow

First we built the robot. Then we got the code from online. Then we created a new Java project called Bumper Car
Then we added the Libraries LeJOS NXT Runtime. Then we converted the Project into LeJOS NXT Program. Then we uploaded the code to the Robot from Eclipse and we got the code from a website. This is what the robot did, go forward, backwards, stop, turn, and react to walls.NXJ

See more photos here https://picasaweb.google.com/110478996885609825075/592_0703?authkey=Gv1sRgCNDv1I35nejxZQ

 

Game Review #7 – Duolingo

Is this a game?
is it fun?
is it educational?
does it really teach you another language?
is it a good idea?

Duolingo is a game that teaches you languages. It is not fun because it does not really have mini-games. It is educational though, because you learn a language. Yes, it really teaches you another language such as German, Spanish, French, and Italian. It is quite a good idea.

http://www.duolingo.com/#/marionsem

duolingo

Robot Arm

What was wrong with the Robot Arm?

The Robot Arm was both broken and the code was wrong (because of the mad scientist, Kevin).

What did you do to fix it?

We first put it together, but looked at the internet to make sure, and fixed the code.

What did the Robot Arm do?

The Robot Arm could pick up a ball, and move up, down, left, and right.

What is the difference between when Eclipse uses a yellow line versus using a red line? Which one is an error and which one is a warning?

A red line in Eclipse means that the red underlined word/phrase are errors. Red underlined words are errors, and yellow underlined words that could possibly be errors.

Why do we use code libraries like the leJOS NXJ?

We use code libraries to hold or store the code and help transfer it to a different device.

What is gamification?

Gamification is the use of game thinking and game mechanics in a non-game context to engage users and solve problems. http://en.wikipedia.org/wiki/Gamification

splash-shack It is a frigidly cold and wintery night. You wake up in the middle of the forest and there is an old shack. When you walk into the shack, you realize that the power still works as you are able to turn on the lights. In the corner of the room, you find what seems to be a broken robotic arm connected to a computer. You manage to put the arm back together and turn it on. It seems to be doing random and nonsensical things. You turn on the computer to find Eclipse running. It appears that the project for the robotic arm is the first thing on the screen. When you read the comments in the code, it reads, “this is from the laboratory of Kevin, the mad scientist.”

):< How mad was Kevin, the mad scientist? Why was he mad?  😡 

Kevin was really mad, and I mean really, really, really, REALLY, mad. Kevin was mad because the weather was really cold in the cabin so it made him cooc00 crazy.

KEVIN the MAD scientist See?COOCOO THIEF He’s stealing our stuff! He’s gone CoOcOo!!!!! :O

Java, Eclipse, and When Things Get Rough

What is one way to start a new programming project in Java?

One way of starting a new programming project in Java (Eclipse)  is clicking “File” then “New” then click “Java Project.”

What is an API?

API is Application Programming Interface.
What is a getter and a setter (http://java.dzone.com/articles/getter-setter-use-or-not-use-0)?

A getter  and a setter are both accessors.  They both are methods that let you read and write the value of an instance variable of an object.

What are the different languages for the Mindstorm NXT (http://www.wired.com/geekdad/2007/11/the-best-progra/)?

The different languages for the Mindstorm NXT is Java, Lua, Labview, and RobotC.

 

Explain to someone how you swap 2 values in Java. To swap 2 values in Java go to http://www.programmingsimplified.com/java/source-code/java-program-swap-numbers.
How does selection sort use 2 for-loops?

Selection sort can use 2 for-loops by one loop is used to swap the values and the other loop is used to look for the values.
How do you print all the values from an array? 

You can print all the values by using a loop, using arrays, and using strings.

What language will you be using to program your robot?

The language I will be using is Java.

What is the difference between a thermometer and a thermostat?

The difference between a thermometer and a thermostat is a thermostat controls temperature and a thermometer measures it.

Why is plagiarism bad?

Plagiarism is bad because you are copying someone’s work and basically taking their name. You can go to jail for doing this.

How do you avoid looking like you are stealing someone’s code?

You can avoid looking like you’re stealing someone’s code is by giving credit for their work or use your own.

What are a few things you can do if you get really confused, lost, or stuck when trying to program?

A few things when getting stuck when trying to program is asking someone, looking it up in the internet, or looking in a book.Alpha rex