Wednesday, October 5, 2016

Robot's will invade the world

a post-scarcity economy is an economy without the worry of running out of resources aka unlimited resources. I think this idea isn't possible. no matter if we make 3D printers they will still require resources. to not need resources is to pull things out of thin air and that is against the law of physics. 3D printers will get stronger and will be able to print bigger things and will even be able to print things out with different resources.

Monday, October 3, 2016

what is a while loop?

In most computer programming languages, a while loop is a control flow statement that allows code to be executed repeatedly based on a given boolean condition. The while loop can be thought of as a repeating if statement.

Wednesday, September 28, 2016

why do you play video games?

why i love video games and why i play them:

1. to escape my stressful life
2. to live in a world where I have control of what happens in it.
3.to be able to connect and have something in common with my friends.
4.to get a couple hours doing something to enjoy myself and my own company.
5.to connect with family and friends with a friendly competitive or cooperative game.
6.to form relationships with those you normally wouldn't (to build a bond with in-game characters or players online).
7.they allow me to be apart of a culture of kindness and friendly banter.
8.to cope with depression.
9.to calm my anxiety.
10.and of course because they're fun.

Tuesday, September 27, 2016

how to set up your code

  • The setup: Usually the setup involves declaring and initializing an increment variable. This generally occurs immediately before the while.
  • The test expression: The expression within the while loop that will cause the program to either execute the loop or exit and continue on. This always occurs within the parentheses following the keyword while.
  • The body: This is the code within the braces.
  • The increment: This is where the increment variable is incremented. This usually occurs at the end of the body.

Friday, September 23, 2016

MS.Moe's class

the class is overall good but it's getting hard trying to work on big problems when we are working on a complicated daily coding project daily. like I'm almost done with class and still working on the daily coding project instead of working on the princess quiz and stuff.

Thursday, September 22, 2016

QWOP

QWOP went viral because Pewdiepie the very famous youtube played it and that's how many discovered it and then eventually other tubers played it and now everyone with a computer is playing.
1.graphics are great for a computer game.
2.gemaply is smooth if your computer is running ok and the controls are clunky for a reason.
3.replayability is very good because this game makes you determined to get to the finish line so you keep restarting the game.
4. its fun and enjoyable.
5. overall I would give this game a 8.9/10.

Wednesday, September 21, 2016

If Statements

if:An if statement is a programming conditional statement that, if proved true, performs a function or displays information. Below is a general example of an if statement, not specific to any particular programming language.
if else:if, else statements are used to tell the computer to do something given a certain condition, and the alternative thing it should do, should that condition be false. You can also have if statements without an accompanying else statement, but not an else statement without an if statement (after all, else is what to do if the if doesn't happen). If an if's condition isn't met and it has no else, the program simply won't execute the code in the if statement and move on. Below is a very basic example of how an if, else statement looks in code, a real life example of the concept, and finally three in-depth example using real code.
switch:In computer programming languages, a switch statement is a type of selection control mechanism used to allow the value of a variable or expression to change the control flow of program execution via a multiway branch.
Switch statements exist in most high-level imperative programming languages such as Pascal, Ada, C/C++, C# and Java, and in many other types of language, using such keywords as switch, case, select or inspect.
Switch statements come in two main variants: a structured switch, as in Pascal, which takes exactly one branch, and an unstructured switch, as in C, which functions as a type of goto. The main reasons for using a switch include improving clarity, by reducing otherwise repetitive coding, and (if the heuristics permit) also offering the potential for faster execution through easier compiler optimization in many cases.