Thursday, January 29, 2015

Chapter 1: Breaking the Surface

Throughout chapter 1 i learned the basic history of Java and how it has evolved. Java version 1.02 had 250 classes and they describe it as being "Slow". Java 1.1 came along and it is described as being "A little faster, More capable, friendlier.  They say it has a better GUI. Java 2 (versions 1.2-1.4) is believed to be much faster, powerful, and for new enterprise and mobile applications it becomes the language of choice. Java 5.0 (versions 1.5 and up) is described as being More powerful, and also easier to develop with.

I also learned about the Code Structure in Java. In Java there are things known as Source Files. On these Source Files there holds one class, each class represents a piece of the program. One of the main things of the class is that it needs to be written within a pair of curly braces. We also learned about the classes. Which are part of the Source Files. These classes mainly seem to just hold methods. You need to make sure to put the methods inside of the curly braces which are within the curly braces from the script files.  This brings us to the last part of the code structure,...Methods. Methods are just set of instructions or statements that you would like a function or a process to be carried out. After i learned about the Code Structure it goes onto telling you about when JVM opens how it will read all of the code. It starts with the classes,then it will go and look in the curly braces and will do all of the commands that are to be done within the braces. After this it tells you about Mains. Mains are where the bulk of your code is. Mains are very important because you need to have a main to let the program start to run.

Once i knew the basics about how the Code Structure in Java works, it then went to go on and tell about what specifics you can write within Java. More specifically what you can write in the Main. In a main they say you can write anything that makes the computer carry out a program.  So the code that you write can tell the JVM to "do something", to "do something again and again" and then "do something under a a condition".

Activities throughout Chapter 1:

The First activity that you are given in Chapter 1 is "Look how "easy" it is to write Java." In this Activity i was given several Lines of code (Ex. int size = 27;) and i was then given the task to guess what each line of code was doing. So for that example it would of been "declare an integer variable named "size" and give it the Value 27". For many this activity they might have found of it easy but for me i had a trouble completing it and found out many of my answers were not correct... This was the lines of code i was given, my answers are obviously in my packet which i cant get onto here.
The second Activity we were faced to do was "Coding a Serious Business Application" This activity was attempting to put all of my new Java "skills" to use with something practical. I was given a large section of code and was told that within it there is a flaw. The code will still compile and run but the output isn't 100% perfect. This was the section of code i was given...

 

Thursday, December 11, 2014

Activity 1.3.5

On line 3 and 4 it is saying if you have more than 140 characters then it will say "Your tweet is too long edit it to under the max characters"


on line 5 if there is not a "!", "?", "," it will say "You are missing some punctuation"



Conclusion


1.       How many characters are in this sentence? Does it matter whether Python is storing the string as one byte per character or four bytes per character?

There are 40 characters in that sentence.

2. Describe what you think occurs in memory when the following code is executed.


nd an is what it prints



Friday, November 7, 2014

Brytton and Matts App

App Design

Photo Share!



Reflection Questions:

1.Reflect on the creative process you used. What was useful? Discuss your reflection with your partner and then write a reflection individually. 

Once we found a problem we tried to find outhow we could solve this problem by creating an app. I found it useful brainstorming different app ideas because it allowed us to work off each others ideas. 

2.Reflect on the team dynamic. What helped the team work well together? Discuss your reflection with your partner and then write a reflection individually.
     
For our team dynamic if we rran into a problem we would have bothe partners working on it. For example we had a problem with the sharing, so i started a newapp and tried to solve the issue at the same time as my partner did. In return this made theproblem get solveed twice as fast. 

3.  What Problem was your APP attempting to solve?  How well does it?
Our App was trying to solve the problem of not being able to paint/draw a picture and then from the app click a couple buttons and have it share the botton. 

4.  Desribe the two hardest challenges you experienced when coding this app.  How did you overcome them.  Post a screen shot of these sections of code, and explain them.

-One of our hardest problems was trying to get the app to share(send a message) to another phone.  

-Another problem that we were facing was that we could not solve how to get the canvas picture to share through social media. Ex. Twitter

5.  Given more time how could you improve your game

If we were given more time we would be able to improve the app by refining the process of sharing a photo. We could also add more options for the lines such as different shape options. 








Thursday, October 16, 2014

Blown to Bits Ch1 Answers

1. information that is the same and is occuring consistantly.

2. I think there needs to be more privacy laws because currentl many people hack into user systems and steal personal information. I believe that there should be a law that allows some protection against things like that.

3.I beleive that the internet will continue to expand and will not run out of stoarage. I would expect people to just add more and more info and the internet will continue to grow.

Tuesday, October 14, 2014

Blown to Bits


Main Idea (Chapter 1): The main idea is that technology advances everything will start to go online and Digital rather than everything being physical.

Questions:

1.) Classify what makes a "Bit"
2.)Compare physical and digital processes needed to accomplish a task
3.)State how you feel about the idea of things such as SSN, Medical Information and Birth Records stored forever unless there are policies to get ride of it.
4.) Determine whether or not the rapidly advancing technology is good for humans.

Monday, October 6, 2014

Lesson 1.1.7 - Scratch Project

Team members: Myself and Tyler Culmo
Teams Greatest Problem: Creating a system that once the character reached the end goal we had to have the game switch background so we can create the new level.
My individual greatest problem: Creating a system that would make a system so that when the sprite hit the wall he would bounce back and not go through the wall.

The Game: The game itself is a invisible maze game. Down below there is 2 screenshots of it. You can see the pass of the maze. Before you would play the background would turn black that way it would seem if the maze was invisible which increases the difficulty.
Level 1
Level 2

1. For our game we tried to think of a game that we could re invent and make differently and increase the difficulty. We decided that we were gonna use a maze game. After that we decided that we were going ti increase the difficulty by making the walls and the background of the game match giving it the invisible look.

2. We worked together because we are good friends so we are used to sharing ideas with each other. Also we think a like so we have similar ideas and it is easy for us to understand one another.

Things that went well: We were very quickly able to make the sprites. Making the instructions for the arrow directional keys were easily created.