10/19/15 11:59 P.M.
We learned a lot about Databases this week. The coolest part was SQL, simply put it's code in which allows us to communicate with data bases and pull information from it. The 4 main interactions with a database is; Create, Read, Update, and Delete A.K.A C.R.U.D.
And some simple SQL Code:
UPDATE table_name
SET column1=value1,column2=value2,...
WHERE some_column=some_value;
Monday, October 19, 2015
Wednesday, October 14, 2015
3rd Week of Getting Hip
1. One big thing we learned this week was sorting methods in Java. We learned insertion, bubble, and selection. I have decided to use bubble for my homework assignment this week. Below is how to start the code for a bubble selection sorting method.
public
static
void
bubbleSort (
int
[] data)
{
for
(
int
i = data.length -
1
; i >=
0
; i--)
{
// bubble up
for
(
int
j =
0
; j <= i -
1
; j++)
{
if
(data[j] > data[j +
1
])
swap(data, j, j +
1
);
}
}
}
2. I'm not really using my skills in school yet but I will definitely utilize
them next trimester in my computer science class.
Monday, October 5, 2015
2nd Week of Getting Hip
1. I learned about inheritance within classes. A class that gets properties from other classes is called a sub-class while the class that gives other classes properties is called a super class. There can only be one super class but many sub-classes.
2.https://www.youtube.com/watch?v=9JpNY-XAseg.
3. My number 2 which is Strategic comes really handy in how to do my homework before actually writing any code and it pairs nicely with my number 4 which is Arranger so when I start my homework I know exactly what to do in order.
2.https://www.youtube.com/watch?v=9JpNY-XAseg.
3. My number 2 which is Strategic comes really handy in how to do my homework before actually writing any code and it pairs nicely with my number 4 which is Arranger so when I start my homework I know exactly what to do in order.
Subscribe to:
Posts (Atom)