Results 1 to 18 of 18
Thread: computer science newbie
- 10-19-2011, 02:59 AM #1
- Join Date
- Oct 2011
- Location
- Solana Beach, CA
- Posts
- 23
- Blog Entries
- 3
- Rep Power
- 0
computer science newbie
Hello all who read this,
I am in my 2nd year in computer science at my college, and this is the year we have changed over from C++ to Java. I am new to Java, BUT not to programming. I was wondering if anyone could help me get me going with this new language to help me with my computer science degree. I have worked my work through a few books and watched a hand full of series on youtube about programming with Java.
Thank you,
sixxvirus
- 10-19-2011, 03:21 AM #2
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,068
- Blog Entries
- 3
- Rep Power
- 15
Re: computer science newbie
Check out the official tutorials: The Really Big Index
Also, effective Java is an exceptional book. Oh ya, welcome!
- 10-19-2011, 03:37 AM #3
- Join Date
- Oct 2011
- Location
- Solana Beach, CA
- Posts
- 23
- Blog Entries
- 3
- Rep Power
- 0
Re: computer science newbie
Thank You sunde887,
I have worked alil through "the really big index" but its really big and takes along time to good through. Also I have read alil on the "White Papers" by James G. that I found on the Java/oracle site. I am not looking for a quick fix, I know learning a language is a take a very long time to do; and even more so doing REAL computer science work.
- 10-19-2011, 03:46 AM #4
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,068
- Blog Entries
- 3
- Rep Power
- 15
Re: computer science newbie
Another free resource which may be good assuming you have experience already is "Thinking in Java"
Bruce Eckel's MindView, Inc: Free Electronic Book: Thinking in Java, 3rd Edition
It's pretty large however (~1500 pages).
Effective java is a more advanced book, but it's also fairly short (~400 pages), and covers some great topics. Learning java is mostly getting familiar with the massive library, the syntax is fairly simple, and of course the logic learned in one language will be similar in others.
I suggest you make some small projects which focus on a small section of library and start writing something the best you can.
For example, basic text editors, address books (both of which have a GUI--Swing), or pong (which uses some swing stuff and 2d animation), or brick breaker. Something which interests you. I'll be posting up a tutorial (although it's my first 'tutorial' so I'm not sure how well written it will turn out -- it will be a bit lengthy though) for writing a brick breaker game. This tutorial should introduce you to some of the basics of animation, and it will also contain a link to a Dream In Code tutorial on Pong, which inspired me.
- 10-19-2011, 04:08 AM #5
Member
- Join Date
- Sep 2011
- Posts
- 56
- Rep Power
- 0
Re: computer science newbie
Here's some basic java things, considering all programming is relativity the same, just different syntax.
Print text to console:
Java Code:System.out.println("Text Goes Here")
if statement:Java Code:if(i == 1){ //Stuff in here gets done //Notice the two equals? When comparing things you need two equal signs }
Java Code:for(int i=1; i<(5); i++) { //stuff in for statement goes here System.out.println(i) }
Java Code:Variable1
Java Code:variable1
Use // to make comments
- 10-19-2011, 04:52 AM #6
- Join Date
- Oct 2011
- Location
- Solana Beach, CA
- Posts
- 23
- Blog Entries
- 3
- Rep Power
- 0
Re: computer science newbie
I know the basic syntax since I did work on c++ before moving on to Java, I can do most basic things in java but writing more advanced class using OOP and inheritance. As of now I am working on learning Linked List and basic data structures.
Do small project would be very nice to do for getting some coding time on the playing field, writing a basic text editor for terminal on my linux system, or even a web browser to get some GUI programming in as well.
BTW... On the subject of the link "Dream In Code", I once read a book a few years ago called "Deaming in code" about struggled with collaboration and the software development task of building the open source calendar application "Chandler". That book did get more thinking about the programming tasks of computer science and designed software project for the masses; open source of course to give back to online computer community and for the programmers of tomorrow.
I did not get into computer science to be the next Bill Gates and make a quick buck. I got into it to learn about data structure and talking to terminal, and thus the computer itself and learn about the secret of the CPU.Last edited by sixxvirus; 10-19-2011 at 04:55 AM.
- 10-19-2011, 04:56 AM #7
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,068
- Blog Entries
- 3
- Rep Power
- 15
Re: computer science newbie
But if as a side effect you became the next Bill Gates, it would certainly be nice.
-
Re: computer science newbie
I loved that book Dreaming in Code. You root for their success, but see the so many road-blocks that occur that you know quick success is inevitably not going to happen. It contained many practical lessons, not the least of which is the dangers of changing course mid-development. It also got me to dabble in Python.
- 10-19-2011, 05:12 AM #9
- 10-19-2011, 05:22 AM #10
- Join Date
- Oct 2011
- Location
- Solana Beach, CA
- Posts
- 23
- Blog Entries
- 3
- Rep Power
- 0
Re: computer science newbie
Hey one thought though since I have some of you attention on the subject of Java...
A while back when I was working with c++ and lower level function of the lang. I read a few blogs and reading about writing your own operation system. I did write a VERY basic boot loader and os that was written in 16-bit C with some assembly lang. with it, all it did was output the string "Hello World" to the screen. It was an interesting weekend project and got me thinking about writing my own OS.
ANYWAYS...
My question is:
"Is it possible at all to write an OS with Java, even through it does not have any lower lvl functions; yet does run on a VM that is software dependent. Or even a shell something that can run in a VM or something like that??"
Sorry if I did not word that right, like it says in the topic "comp sci NEWBIE"
- 10-19-2011, 05:24 AM #11
- Join Date
- Oct 2011
- Location
- Solana Beach, CA
- Posts
- 23
- Blog Entries
- 3
- Rep Power
- 0
Re: computer science newbie
btw skaterboy987 you forgot the semi-colon at the end of the method.
System.out.println("Text goes here"); // <- end statement :-P
- 10-19-2011, 08:38 AM #12
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,422
- Blog Entries
- 7
- Rep Power
- 29
- 11-16-2011, 05:39 AM #13
Member
- Join Date
- Nov 2011
- Posts
- 28
- Rep Power
- 0
Re: computer science newbie
I don't know if anyone has mentioned it or not, but Bucky is amazing for anything computer related. He has multiple Java tutorials on youtube and has his own website now. Even has a team of people at this point. Thenewboston is his youtube name, you can find his website from there. I've learned a ton from him. He's funny, knows how to get the point across, and is very relatable to.
- 11-17-2011, 06:34 AM #14
Member
- Join Date
- Jul 2011
- Location
- New Delhi,India
- Posts
- 56
- Rep Power
- 0
Re: computer science newbie
if you want to clear your concepts of Java....try Head First....really good book....
- 11-18-2011, 04:19 AM #15
- Join Date
- Oct 2011
- Location
- Solana Beach, CA
- Posts
- 23
- Blog Entries
- 3
- Rep Power
- 0
Re: computer science newbie
I have already gone through all of the videos on "The new boston" well before I made an account on here. The book I am working through is called "Data structures and algorithms in Java"; I cant count how many book I know that have the same title as that one. Anyways, my lately computer science idea was to make an internet/networking shell writing souly in Java. A shell that can be installed on any device then worked as a middle man between the system and the user, but not only for a single system but for any system the user can throw at it.
Back to Data structures.
I have worked my way up to the Heap structure type, and am thinking about learn alil LISP since that was the first high lvl lang to use the Heap and it very math and postfix based.
Happy Programming to all
-sixxvirus
- 11-18-2011, 04:37 AM #16
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,068
- Blog Entries
- 3
- Rep Power
- 15
- 11-18-2011, 05:13 AM #17
- Join Date
- Oct 2011
- Location
- Solana Beach, CA
- Posts
- 23
- Blog Entries
- 3
- Rep Power
- 0
Re: computer science newbie
dam thats a really good book
- 11-18-2011, 09:30 AM #18
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,422
- Blog Entries
- 7
- Rep Power
- 29
Re: computer science newbie
Build a wall around Donald Trump; I'll pay for it.
Similar Threads
-
What essay style format do Computer Science majors use?
By Dev23 in forum Forum LobbyReplies: 1Last Post: 02-21-2011, 01:33 PM -
Basic Java Computation Help Ap Computer Science
By Sean_J in forum New To JavaReplies: 6Last Post: 02-10-2010, 02:10 PM -
Panic Attack Setting in Why did I take Computer Science...only to fail
By gallimaufry in forum New To JavaReplies: 5Last Post: 10-25-2008, 09:42 AM -
Software Engineer...Computer Science Major
By giganews35 in forum IntroductionsReplies: 2Last Post: 09-14-2008, 10:19 AM -
Help On Computer Science Final!!!! Java Program Help!!!!
By BSOS in forum New To JavaReplies: 1Last Post: 12-11-2007, 05:54 AM
Bookmarks