Computer majors?

The geek forum. PHP, Perl, HTML, hardware questions etc.. it's all in here. Got a techie question? We'll sort you out. Ask your questions or post a link to your own site here!

Computer majors?

Postby JesusFreak84 » Mon Oct 03, 2005 11:51 pm

I was just wondering if I'm the only computer major on CAA. If anyone else here is studying it in college/univeristy/whatever, then we can use this thread to "talk shop" or just make jokes that no one else gets. =-P I dunno...I'd especially like to find out how many other girl computer majors there are out there. At my college the average girl:guy ratio is 6:1, yet in both of my computer classes (and one of my theology classes,) I'm the only girl. Weirdness.
Papist Pest :angel:

http://jesusfreak84.livejournal.com
http://www.adorem.us/forum
http://www.omegarock.com
Warning: I'm prone to the following--
:rant::comp::bang::poke::forehead:
"MOES. I can has Sane Sig now?" (Plagiarized from Mithradir.)
User avatar
JesusFreak84
 
Posts: 279
Joined: Mon Apr 05, 2004 10:00 am
Location: Somewhere in the midwest...

Postby Slater » Tue Oct 04, 2005 12:06 am

Code: Select all
System.out.println();
Scanner keyboard = new Scanner(System.in);

System.out.println("Are you a computer major?");
String cmAnswer = next keyboard();

cmAnswer = cmAnswer.toUppercase;

if (cmAnswer = "YES")
{
    System.out.println();
    System.out.println("Welcome friend!/nThis is the place for you!");
    System.out.println("Help yourself to a nice cup of Java.");
}

Else
    System.out.println("GO AWAY!");
Image
User avatar
Slater
 
Posts: 2671
Joined: Sat May 22, 2004 10:00 am
Location: Pacifica, Caliphornia

Postby Mr. SmartyPants » Tue Oct 04, 2005 4:44 am

I UNDERSTOOD A LOT OF THAT FRWL!!!!!!

Im takin some java ^^;;
User avatar
Mr. SmartyPants
 
Posts: 12541
Joined: Sat Aug 21, 2004 9:00 am

Postby Warrior4Christ » Tue Oct 04, 2005 4:58 am

java.java:1: 'class' or 'interface' expected
System.out.println();
^
java.java:2: 'class' or 'interface' expected
Scanner keyboard = new Scanner(System.in);
^
java.java:4: 'class' or 'interface' expected
System.out.println("Are you a computer major?");
^
java.java:5: 'class' or 'interface' expected
String cmAnswer = next keyboard();
^
java.java:7: 'class' or 'interface' expected
cmAnswer = cmAnswer.toUppercase;
^
java.java:9: 'class' or 'interface' expected
if (cmAnswer = "YES")
^
6 errors


You forgot a class and a main() method and Else is not capitals!


Guy:girl ratio of 6:1 is probably about right.
Everywhere like such as, and MOES.

"Expect great things from God; attempt great things for God." - William Carey
User avatar
Warrior4Christ
 
Posts: 2045
Joined: Sat Aug 20, 2005 8:10 pm
Location: Carefully place an additional prawn on the barbecue

Postby Warrior4Christ » Tue Oct 04, 2005 5:11 am

Sorry 'bout the double post, but it's worth it...

Brainstorming about how to steal the coffeetable from one of the tutorial rooms at uni (written by uni students for uni students). Pay particular attention to the Java code in the inset picture (sorry it's blurry, but I was laughing too hard to hold it still...)

[Note: CSLC = Computer Science Learning Centre]
[Note #2: It's spelt Centre]
You do not have the required permissions to view the files attached to this post.
Everywhere like such as, and MOES.

"Expect great things from God; attempt great things for God." - William Carey
User avatar
Warrior4Christ
 
Posts: 2045
Joined: Sat Aug 20, 2005 8:10 pm
Location: Carefully place an additional prawn on the barbecue

Postby LorentzForce » Tue Oct 04, 2005 5:12 am

I see many bugs in that code, I'll let frwl fix it...

Anyways, welcome to CAA's Computing section. I hope you have a pleasant time here as we all generally talk about random things not really related to computers. We don't really talk in binary, although feel free to do so if you really want to do just that.

Edit: W4C, that's hillarious :lol:
Image
User avatar
LorentzForce
 
Posts: 1263
Joined: Sun Jun 01, 2003 3:18 am
Location: Between B and E

Postby TurkishMonky » Tue Oct 04, 2005 8:55 am

int main {
cout << "Me Comp Eng major!";
cout << "But the first year is horribly easy, like this code.";
char x;cin >> x; //I use devC to be a rebel in my class...
return 0;
}
//whoops, i forgot the preprocessor,etc. oh well.
User avatar
TurkishMonky
 
Posts: 808
Joined: Mon Apr 11, 2005 8:07 am

Postby Technomancer » Tue Oct 04, 2005 1:29 pm

int main {
cout << "Me Comp Eng major!";
cout << "But the first year is horribly easy, like this code.";
char x;cin >> x; //I use devC to be a rebel in my class...
return 0;
}


Now the real test is whether you can do it in assembly.
The scientific method," Thomas Henry Huxley once wrote, "is nothing but the normal working of the human mind." That is to say, when the mind is working; that is to say further, when it is engaged in corrrecting its mistakes. Taking this point of view, we may conclude that science is not physics, biology, or chemistry—is not even a "subject"—but a moral imperative drawn from a larger narrative whose purpose is to give perspective, balance, and humility to learning.

Neil Postman
(The End of Education)

Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that my ignorance is just as good as your knowledge

Isaac Aasimov
User avatar
Technomancer
 
Posts: 2379
Joined: Fri Jun 13, 2003 11:47 am
Location: Tralfamadore

Postby Mithrandir » Tue Oct 04, 2005 3:21 pm

There are quite a few computer computer nerds in the house. I did my time as a computer science major. The theory serves me quite well, actually. That kinda makes me less patient with fast-tracker Technical School types, but I guess everyone has to have their hang-ups, right?
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby shooraijin » Tue Oct 04, 2005 9:59 pm

Technomancer wrote:Now the real test is whether you can do it in assembly.


You didn't say which processor family, so I choose 6502.

[code]
/*
this should assemble as-is under the xa cross-assembler
http://www.floodgap.com/retrotech/xa/

int main {
cout << "Me Comp Eng major!"]
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9927
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California

Postby Technomancer » Wed Oct 05, 2005 4:35 am

Cool. I've forgotten most of how to program in assembly, since I don't really use it anymore. Mostly I knew the x86 and z80 instruction sets, although I'd also done a little with the 8051.
The scientific method," Thomas Henry Huxley once wrote, "is nothing but the normal working of the human mind." That is to say, when the mind is working; that is to say further, when it is engaged in corrrecting its mistakes. Taking this point of view, we may conclude that science is not physics, biology, or chemistry—is not even a "subject"—but a moral imperative drawn from a larger narrative whose purpose is to give perspective, balance, and humility to learning.

Neil Postman
(The End of Education)

Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that my ignorance is just as good as your knowledge

Isaac Aasimov
User avatar
Technomancer
 
Posts: 2379
Joined: Fri Jun 13, 2003 11:47 am
Location: Tralfamadore

Postby MyrrhLynn » Wed Oct 05, 2005 4:46 am

ASSEMBLY?!? :wow!: Whoa we never even covered that at my school. :lol:

So yes I'm a girl computer major, haha. Or at least I was one, since I just graduated this past spring. I must not look like a computer person though, because everyone in real life is always shocked when they find out. ;)
Image

:x:Anti Yaoi Fans :x: Daystar Design :x: MyrrhLynn.NET :x: Need an avatar? Then Click here!

"Another Sane Sig brought to you by MOES."
User avatar
MyrrhLynn
 
Posts: 777
Joined: Sun Jun 29, 2003 12:00 pm
Location: USA

Postby Warrior4Christ » Wed Oct 05, 2005 5:32 am

I've done x86 previously (self learned), and we're learning DLX now.

Lucky TurkishMonky's program didn't print any integers, eg shooraijin?
Everywhere like such as, and MOES.

"Expect great things from God; attempt great things for God." - William Carey
User avatar
Warrior4Christ
 
Posts: 2045
Joined: Sat Aug 20, 2005 8:10 pm
Location: Carefully place an additional prawn on the barbecue

Postby Sammy Boy » Wed Oct 05, 2005 6:33 am

Assembly is a cool language. Binary code is better. AND and OR gates are the best. LOL :p

Whilst at university, I oftened wished the C library had a doAssignment() function.
User avatar
Sammy Boy
 
Posts: 1410
Joined: Wed May 25, 2005 7:04 am
Location: Autobase, Cybertron

Postby shooraijin » Wed Oct 05, 2005 7:48 am

Warrior4Christ wrote:I've done x86 previously (self learned), and we're learning DLX now.

Lucky TurkishMonky's program didn't print any integers, eg shooraijin?


Pretty lucky, although on the C64 there are library functions in the BASIC ROM to convert ASCII text to signed 16-bit integer, and then print it back. Most home computers of the day had something similar.

I know a little x86, but I don't use an x86-based computer, so I rarely deal with it. I've done some PPC assembly, and a little 68000, though I'd hardly call myself fluent in either. I'd like to learn Z80, but never got around to it.

In some ways the 6502 is a very easy assembly language to learn. There are only three registers, an accumulator and two index registers (not counting stack, status and program counters), and a limited set of easily understood finite instructions. You can also use zero page as a set of 256 secondary registers which are nearly as fast as the internal ones. So, probably because of the limits, it's easy to get your head around, although the CPU is chiefly limited because of its poor orthogonality (the 68K was really good at this), the 256-byte stack, and the 16-bit address space. There are also no mult, div or FP instructions, so a lot of people had runtime libraries for that.

It was as popular as it was because it was very thrifty with clock cycles (a 1MHz 6502 could even beat a 4.77MHz 8086 in some benchmarks due to the fact that most instructions took 3-4 cycles versus 12-14), it was cheap, and because it only used the bus during half the cycle, it could easily be chained to other kinds of coppers or sidecar chips. It even had a primitive type of pipelining called prefetch that was facilitated by its big-endian addressing.

The 6502 or one of its variants was used in most Commodore 8-bits, the Atari 8-bits, and the Apple 8-bits. It also appeared in the Atari 2600, 5200 and 7800, and in many contemporary arcade machines, and a specialized 6502 without decimal mode and with sound circuitry (the N2A03) appeared in the Nintendo. The 16-bit 65816, which addressed many of these faults and featured a 24-bit addressing range, appeared in the Apple IIgs and the Super NES, and in the SuperCPU add-on accelerator for the C64 and 128.
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9927
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California

Postby Mithrandir » Wed Oct 05, 2005 4:56 pm

I don't know if I should be upset about MyrrhLynn's no-assembly-required school.


And of course, I had to throw in the pun.
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby MyrrhLynn » Thu Oct 06, 2005 4:46 am

Mithrandir wrote:I don't know if I should be upset about MyrrhLynn's no-assembly-required school.


And of course, I had to throw in the pun.

Oh wow. That was bad. :lol:
Image

:x:Anti Yaoi Fans :x: Daystar Design :x: MyrrhLynn.NET :x: Need an avatar? Then Click here!

"Another Sane Sig brought to you by MOES."
User avatar
MyrrhLynn
 
Posts: 777
Joined: Sun Jun 29, 2003 12:00 pm
Location: USA

Postby Kaligraphic » Thu Oct 06, 2005 1:30 pm

I did an AS program in CIS. I don't know if that qualifies as something that would make Mithrandir impatient with me, though.
The cake used to be a lie like you, but then it took a portal to the deception core.
User avatar
Kaligraphic
 
Posts: 2002
Joined: Wed Jul 21, 2004 12:00 pm
Location: The catbox of DOOM!

Postby shooraijin » Thu Oct 06, 2005 2:22 pm

Standing in one place for more than three seconds makes Mithrandir impatient. :grin:

... of course, it also makes *me* impatient.
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9927
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California

Postby Mithrandir » Thu Oct 06, 2005 5:35 pm

That depends entirely on what I'm doing. If I'm TALKING, then I'M not the one getting impatient.


I can't say the same for a certain task-oriented friend of mine...
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby shooraijin » Thu Oct 06, 2005 10:09 pm

Mithrandir wrote:That depends entirely on what I'm doing. If I'm TALKING, then I'M not the one getting impatient.


I can't say the same for a certain task-oriented friend of mine...


Yeah, yeah. Are we going to go out and do something, or just sit around and blather?

Duff was the only guy who understood.
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9927
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California

Postby TurkishMonky » Fri Oct 07, 2005 7:06 am

hmmm.... i wonder if i'll get to learn asembly or not. *turkish monky hopes so*
currently i only know high level languages (think most forms of Basic and the .net languages - VB.net, C#, J# - evil microsoft languages) , except for basic c++ (which is still kind of high level)
User avatar
TurkishMonky
 
Posts: 808
Joined: Mon Apr 11, 2005 8:07 am

Postby Technomancer » Fri Oct 07, 2005 9:15 am

You'll have to look at your programme. Most Comp Sci. programmes at serious universities will ensure that you do, simply because at some point you need to understand the low-level behaviour of your computer as well as machine organization in general. This is also true for any Electrical/Computer engineering programme, where there is an even greater emphasis on machine-level programming.

As for the programmes offered by the technical colleges, that's not easy to predict. You'll definately have to do some of it if you ever learn about embedded/real-time systems. Unfortunately in these kinds of schools the emphasis is more on immediately practicle skills rather than the foundational theory that's really needed for a lot of design-level work.
The scientific method," Thomas Henry Huxley once wrote, "is nothing but the normal working of the human mind." That is to say, when the mind is working; that is to say further, when it is engaged in corrrecting its mistakes. Taking this point of view, we may conclude that science is not physics, biology, or chemistry—is not even a "subject"—but a moral imperative drawn from a larger narrative whose purpose is to give perspective, balance, and humility to learning.

Neil Postman
(The End of Education)

Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that my ignorance is just as good as your knowledge

Isaac Aasimov
User avatar
Technomancer
 
Posts: 2379
Joined: Fri Jun 13, 2003 11:47 am
Location: Tralfamadore

Postby shooraijin » Fri Oct 07, 2005 10:43 am

Turkish, I'm sure there's such a course available at a minimum as an upper division elective. It would probably be x86, but it would still stand you in good stead.
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9927
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California

Postby LorentzForce » Fri Oct 07, 2005 10:53 am

My uni "forced" everyone to learn at least basic Assembly in first 6 weeks of the first semester in first year.

I'm in a good course and uni :)
Image
User avatar
LorentzForce
 
Posts: 1263
Joined: Sun Jun 01, 2003 3:18 am
Location: Between B and E

Postby Warrior4Christ » Sat Oct 08, 2005 10:40 pm

Has anyone done/heard of the ACM programming contest (sponsored by IBM)? This is the second year I've done it. This time we (same team members both years) came second in the state :).
Everywhere like such as, and MOES.

"Expect great things from God; attempt great things for God." - William Carey
User avatar
Warrior4Christ
 
Posts: 2045
Joined: Sat Aug 20, 2005 8:10 pm
Location: Carefully place an additional prawn on the barbecue

Postby Mithrandir » Sun Oct 09, 2005 7:44 am

Ah yes, the ACM. I participated once. We had a team of two or three of us. It was pretty bad. We were all first year students. I think Harvey Mudd won that year. I did get a problem written, but we were way out of our league. I'd be interested to see what kind of problems they throw at students, now that I've been out of school so long.
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby blkmage » Sun Oct 09, 2005 5:15 pm

I'm in my final year of high school and I'm attempting to get into the Software Engineering program at the University of Waterloo. Does that count?
User avatar
blkmage
 
Posts: 4529
Joined: Mon May 03, 2004 5:40 pm

Postby Warrior4Christ » Mon Oct 10, 2005 4:00 am

Mithrandir wrote:Harvey Mudd

Is that like.......Harvard?

These are the problems we did (in the South Pacific Region):
http://www.sppcontest.org/2005/Problems2005.html
The last two were just about impossible...
I had an almost not quite compilable solution for Q7. It was highly recursive and not at all efficient (but it hardly is when you're rushing to get answers).
The first few were more simple.
We answered 3 questions and had non-working programs for three more questions. It was mainly the other two guys that made us go well... They were both fast typists and good VIMmers :grin:.
Everywhere like such as, and MOES.

"Expect great things from God; attempt great things for God." - William Carey
User avatar
Warrior4Christ
 
Posts: 2045
Joined: Sat Aug 20, 2005 8:10 pm
Location: Carefully place an additional prawn on the barbecue

Postby Technomancer » Tue Oct 11, 2005 7:50 am

Interesting list. The second-to-last problem really isn't really that difficult; we had one like it as part of our third-year software engineering course. The best known solution is to implement Dijkstra's algorithm, which can be implemented either recursively or sequentially. There may be better solutions, but that's the one you'll find in most introductory texts (e.g. Kreyzig). I'm not sure about the last one though, but I'm sure I could find the relevant info at the library if I needed to. As it happens though, I've never entered the ACM contest.

I'm in my final year of high school and I'm attempting to get into the Software Engineering program at the University of Waterloo. Does that count?


Cool. My younger brother went there for Comp. Sci. Thay have a good program, but the adminstration there is beyond asinine.
The scientific method," Thomas Henry Huxley once wrote, "is nothing but the normal working of the human mind." That is to say, when the mind is working; that is to say further, when it is engaged in corrrecting its mistakes. Taking this point of view, we may conclude that science is not physics, biology, or chemistry—is not even a "subject"—but a moral imperative drawn from a larger narrative whose purpose is to give perspective, balance, and humility to learning.

Neil Postman
(The End of Education)

Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that my ignorance is just as good as your knowledge

Isaac Aasimov
User avatar
Technomancer
 
Posts: 2379
Joined: Fri Jun 13, 2003 11:47 am
Location: Tralfamadore

Next

Return to Computing and Links

Who is online

Users browsing this forum: No registered users and 48 guests