Author Topic: Programming class  (Read 15730 times)

0 Members and 3 Guests are viewing this topic.

Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Programming class
« on: September 28, 2005, 01:11:21 am »
Well... My class sucks, were learning Java.. And we're going REALLY slow.
We're in what the 3rd-4th week and werer only to If statements -.-
If yall wana look you can find out course work here:
http://hdx.no-ip.org/Labs/
Post comments, Code, etc..etc.. anything you have to say about my shitty class :P
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.

Offline Ergot

  • 吴立峰 ^_^ !
  • x86
  • Hero Member
  • *****
  • Posts: 3724
  • I steal bandwidth. p_o
    • View Profile
Re: Programming class
« Reply #1 on: September 28, 2005, 01:14:02 am »
Beats having no class.
Who gives a damn? I fuck sheep all the time.
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Programming class
« Reply #2 on: September 28, 2005, 01:16:39 am »
I'll have to agree with Ergot. :)

Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Re: Programming class
« Reply #3 on: September 28, 2005, 01:17:59 am »
Not true. I'm reading the "JAVA for AP* Computer Science" book and I'm already to teh switch() cases.
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Programming class
« Reply #4 on: September 28, 2005, 01:20:49 am »
SWITCH?! @_@  Daaammn..

Offline Ergot

  • 吴立峰 ^_^ !
  • x86
  • Hero Member
  • *****
  • Posts: 3724
  • I steal bandwidth. p_o
    • View Profile
Re: Programming class
« Reply #5 on: September 28, 2005, 01:23:37 am »
I would LOVE to have a teacher. Even the stupidest one. Independent learning is quite difficult...
Who gives a damn? I fuck sheep all the time.
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Re: Programming class
« Reply #6 on: September 28, 2005, 01:29:57 am »
SWITCH?! @_@  Daaammn..
Shuit it, ive only read the 1st chapter -.-
Just got the book today.
Oh and stupied question, absolute value allows for deimals right? (Sorry I'm tired)
Oh and I suggest yall doo all the assighnments there easy.
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Programming class
« Reply #7 on: September 28, 2005, 01:51:48 am »
Was just kidding. :-*
Fun. :P
Yes.  Absolute value accepts any real number.
Hehe.

Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Re: Programming class
« Reply #8 on: September 28, 2005, 02:44:36 am »
KK, was trying to decide to use a Double of an int.
Code: [Select]
public class AbsoluteValue {
public static void main(String args[]) {
double input;

System.out.print("Enter a number and I'll tell you it's absolute value: ");
input = TextIO.getlnDouble();
System.out.print("The Absolute Value is: ");
if(input >= 0)
  System.out.println(input);
else
  System.out.println(0-input);
}
}
Code: [Select]
public class Comparison {
public static void main(String args[]) {
double A, B;

System.out.print("Enter Value A: ");
A = TextIO.getlnDouble();
System.out.print("Enter Value B: ");
B = TextIO.getlnDouble();
if (A>B)
  System.out.println("The value of A is greater then the value of B.");
else if(A==B)
  System.out.println("The value of A is equal to the value of B.");
    else
      System.out.println("The Value of A is less then the value of B.");
}
}
Code: [Select]
public class DetermineAge {
public static void main(String args[]) {
int iBorn, iCur;
System.out.print("Please enter the last two digets of the year you were born: ");
iBorn = TextIO.getlnInt();
System.out.print("Please enter the last two digets of the current year: ");
iCur = TextIO.getlnInt();
if (iBorn >= 100 || iBorn < 0 || iCur > 100 || iCur <0) {
System.out.println("Hey but muncher! Dont lie to me. Good bye!");
return;
}
int iAge;
if (iBorn >= 6)
iAge = (100 - iBorn) + iCur;
else if(iBorn == iCur)
iAge = 0;
else
iAge = iCur - iBorn;

String cModi;
System.out.print("Has your birthday already happend this year? (y/n): ");
cModi = TextIO.getlnString();
if (cModi.toLowerCase().equals("n") || cModi.toLowerCase().equals("no"))
  iAge -= 1;

System.out.println("You are " + iAge + " years old.");
}
}
So boring!
~-~(HDX)~-~
« Last Edit: September 28, 2005, 06:04:35 pm by HdxBmx27 »
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.

Offline drka

  • ffdshow > in_mp3.dll
  • Full Member
  • ***
  • Posts: 330
    • View Profile
Re: Programming class
« Reply #9 on: September 28, 2005, 05:03:36 pm »
I would LOVE to have a teacher. Even the stupidest one. Independent learning is quite difficult...
it's quite simple. i learned VB C++ and C# on my own(but i dont know them perfectly)

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Programming class
« Reply #10 on: September 28, 2005, 05:21:25 pm »
it's quite simple. i learned VB C++ and C# on my own(but i dont know them perfectly)
Exactly.  Learning on your own is always simple because you move at your own pace.  When you're in a classroom environment, however, you're often forced to move at a pace that is not synonymous with your own.  This often causes frustration, discomfort and a seemingly less productive learning environment.

Contrasty, in a independent study-type environment, you are more comfortable with the material presented to you (by yourself) because you have more time to cover reliant subjects.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Programming class
« Reply #11 on: September 28, 2005, 05:45:17 pm »
Absolute Value of -13.37 is 13.37.

EDIT -
Quote
// Task 9: Define the following terms as best you can without looking them up.
//         1.  Programmer
//         2.  Hacker
//         3.  Cracker
//         4.  Cryptography
Asuming that means what I think it means (your school teaches that hackers are not the evil guys), I'm glad to see that at least one school in the world gets it right!
« Last Edit: September 28, 2005, 05:47:49 pm by Joe[e2] »
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Re: Programming class
« Reply #12 on: September 28, 2005, 06:08:58 pm »
Yup :)
well it's not the school, who teaches that. it's jsut Mr. Weddel.
He's a jew but hes the only one who actually teaches any real programming :/
I asked 150 people at my school what a hacker and a cracker were, only 3 actually said the correct answer for a cracker, everyone else said it was a white boy playin as a nigger.
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Programming class
« Reply #13 on: September 28, 2005, 09:24:34 pm »
ROFL.  Most of my school would have probably guessed the correct answer, since we don't have a single African-American in our entire population.

Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Re: Programming class
« Reply #14 on: September 28, 2005, 10:20:28 pm »
Luckey bastard.
We have 79% Specks
14% niggers
6% asians/viets
the rest are white :/
~-~(HDX)`-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.