Java Programming Exam v1.4

Could anyone please e-mail me at [email protected] with information and tutorials with regards to the Sun Certified Java Programmer exam for Java 1.4. I know it sounds stupid, but i've only been learning and programming with java for approx. 2 months and some of the subjects covered in the exam i haven't looked at due to a lack of resouces.
Thank you to anyone who replies and any help is greatly appreciated.

Could anyone please e-mail me at [email protected]..
First, don't ask people to reply by private email. Most Forum regulars believe solving problems should be a public, transparent process during which a first try at an answer can and should be corrected if someone more knowledgeable notices that it is incomplete or incorrect. Also, they get some of their reward for being respondents from being seen to be competent and knowledgeable by their peers (not to mention the possibility of collecting some of those precious Duke Dollars).
Second, in response to your question:
Sun's Java Certification website
Mock exams
http://www.javacertificate.com/
http://www.javaranch.com/certification.jsp
http://www.jchq.net/
http://www.danchisholm.net/
How to pass the SJCP (5/03)
Here is what I would recommend, based on my experience:
* Take the mock exams - the tests at javacertificate.com do a good job of helping you identify your strengths and weaknesses. Dan Chisholm's mock exams are tough, but also good for opening your eyes to some things you might not have thought about.
* Concentrate on your weaknesses (mine were assertions, garbage collections, and threads).
* Practice your butt off writing code. Practice, practice, practice. And DON'T use an IDE. Code with a simple text editor and compile from the command line. The test is going to tax your ability to "compile" in your head and you don't want an IDE doing that work for you.
* Familiarize yourself with the Exam objectives. Know those inside and out, and you'll have no trouble with the test. Don't waste time on non-covered topics (e.g. java.io, java.awt).
* Figure out why you want this certification. It's not going to win you any admirers among the gurus. It's probably not going to get you a job. It doesn't mean you can code your way out of a wet paper bag. It's just the start of your journey in Java.

Similar Messages

  • Need Help with a Java program

    Hey
    I am doing a bachelor of Multimedia and for some reason I was forced to do Programming 1 which is just Java programing.I have been doing pretty well but we have the final exam coming up on Thursday and they told us to learn how to do this question but I have no idea how to do it, could someone please help me?
    Write a program that reads a file containing a list of students' student numbers and names, and then writes out another file in which the students have been formed into project groups.
    Sample input file:
    96439530 Naranek, Kosh
    08532109 Ivanova, Susan
    87642078 Sheridan, John
    44327889 Varner, Dell
    98100023 Kotto, Vir
    66345689 Sinclair, Jeffrey
    77421009 Garibaldi, Michael
    88775544 Winters, Talia
    54321098 Alexander, Lyta
    12345098 Mollari, Londo
    03465499 Takashima, Laurel
    88765432 Kyle, Benjamin
    08876500 Keffer, Warren
    07687878 Cole, Marcus
    For the project course: no group should have more than 5 members; and it is desireable that all groups have as close to 5 members as possible; and that students be allocated to groups alphabetically by family name, as in this sample output file:
    Group 1:
    Lyta Alexander (54321098)
    Susan Ivanova (08532109)
    Benjamin Kyle (88765432)
    John Sheridan (87642078)
    Dell Varner (44327889)
    Group 2:
    Marcus Cole (07687878)
    Warren Keffer (08876500)
    Londo Mollari (12345098)
    Jeffrey Sinclair (66345689)
    Talia Winters (88775544)
    Group 3:
    Michael Garibaldi (77421009)
    Vir Kotto (98100023)
    Kosh Naranek (96439530)
    Laurel Takashima (03465499)
    Students' names are first sorted (Alexander, Cole, Garibaldi, Ivanova, ...), then allocated to the tutes in rotation (Alexander to 1, Cole to 2, Garibaldi to 3, Ivanova to 1, ...).
    Note also that the student's details are written in a different format from the input. You may make the (usually wrong!) assumption that each student has a simple one-word family name and one other name.

    I'm sorry too annoy you again but I don't know how to implement what you told me. Here is my current code:
    import java.io.*;
    import java.util.*;
    class DetailSortTest {
         public void run() {
              try {
                   BufferedReader in = new
                   BufferedReader(new FileReader ("Data.txt"));
                   String line = in.readLine();
                   String[] names = new String [10];
                   int i = 0;
                   PrintWriter FileOut = new
                   PrintWriter(new FileWriter ("Data 2.txt"));
                   processFilesTest(in, FileOut);
                   in.close();
                   FileOut.close();
              } catch (FileNotFoundException f) {
                   System.out.println("Could Not Open The File");
              } catch (IOException i){
                   System.out.println(i.getMessage());
         public void processFilesTest (BufferedReader in, PrintWriter FileOut)
         throws IOException {
              String data[] = new String[100];
              List dList = new ArrayList();
              String NLine = in.readLine();
              FileOut.println(NLine);
         public static void main(String[] args) {
              DetailSortTest anObject = new
              DetailSortTest();
              anObject.run();
    How would I do it I tried:
    NLine.split(data[2]+""+data[1]+""+data[0]);
    But all that displays is null, null, null
    I know I am probably so stupid but I really appreciate the help

  • How to access database file on CDROM from Java Programe??

    Hello friends,
    I am making online exam application.
    I want my question database to be reside on CDROM.
    but i am not getting any idea how to make DSN or static path that resolute the path that i have mentioned for CDROM.
    basically i want to know how to access CDROM from Java Programe????
    Thanks in advance
    Navik Pathak

    Once you mounted the CDROM (something maybe as /media/cdrom) as a file system (or assigned a drive letter to it like D: or F: or whatever), the files are accessible normally.

  • Network Programming exam papers (college exam papers)

    hello.
    my name is james mcfadden and i am a final year (4th year) undergraduate computing student at Letterkenny Institute of Technology. my e-mail address is [email protected] I have a question here for you. Would you have links to online versions of final year undergraduate Computing exam papers, specifically Networked Applications Development and or Network Management exam papers? I was only able to get access to Trinity College Dublin�s exam papers and Letterkenny IT�s exam papers.
    The 2005/06 academic year is the 1st academic year that final year undergraduate computing students at Letterkenny IT are being taught how to continue doing network programming in Java. i was taught how to do simple network programs in Java when I was in 3rd year.
    The name of the network programming subject that I�m doing in 4th year is Network Programming for Broadband Systems. It is divided into 2 parts: Programming and Networks. In past exam papers (C++ papers), a student would have had to answer 4 out of 6 questions. There would�ve been 4 programming questions and 2 networking questions on those papers. It is going to be the same for both the Summer and Autumn 2007 Broadband Network Programming exam papers, apart from fact that they will be Java papers and that a lot of the material that I have learned is new.
    In 4th year I did Multicast Sockets, Threads, Non-Blocking I/O, Remote Method Invocation, Protocol Handlers, and Content Handlers for the Programming part of the subject (Java Network Programming, 3rd Edition, by Elliote Rusty Harold).
    I did Network Security and Network Management for the Networks part of the subject (Computer Networking : A Top-Down Approach Featuring The Internet, 3rd Edition, by James F. Kurose and Keith W. Ross).
    Your help is greatly appreciated.
    Thank you.

    I have a question here for you.
    Would you have links to online versions of final year
    undergraduate Computing exam papers, specifically
    Networked Applications Development and or Network
    Management exam papers? No

  • Java Developer Exam.

    I'm thinking of taking the Java Developer exam.
    People who have done the Java Developer exam, could you please contribute with your help by answering these questions ?
    1. How long did you program in Java before taking the exam on ?
    2. How long did it take for you to complete the programming task ?
    3. Was it more difficult than the Java Programmer exam ?
    4. Is it worth to take it ?
    5. What was the hardest part of the exam ?
    Other comments on the Java Developer exam are welcomed as well.
    Cheers
    /Andreas

    Here is what I would recommend, based on my experience:
    * Take the mock exams - the tests at javacertificate.com do a good job of helping you identify your strengths and weaknesses. Dan Chisholm's mock exams are tough, but also good for opening your eyes to some things you might not have thought about.
    * Concentrate on your weaknesses (mine were assertions, garbage collections, and threads).
    * Practice your butt off writing code. Practice, practice, practice. And DON'T use an IDE. Code with a simple text editor and compile from the command line. The test is going to tax your ability to "compile" in your head and you don't want an IDE doing that work for you.
    * Familiarize yourself with the Exam objectives. Know those inside and out, and you'll have no trouble with the test. Don't waste time on non-covered topics (e.g. java.io, java.awt).
    * Figure out why you want this certification. It's not going to win you any admirers among the gurus. It's probably not going to get you a job. It doesn't mean you can code your way out of a wet paper bag. It's just the start of your journey in Java.
    For me, it was something I wanted to prove to myself - a self-taught, entry-level programmer at the time - I could get. It helped me tremendously in my understanding of basic Java, so I don't regret obtaining the cert one bit. I also realize I have a LONG way to go. So, good luck, study hard, practice, practice, practice, and let us know how you do! If I can be of any help, let me know. :o)
    Sun's Java Certification website
    Mock exams
    http://www.javacertificate.com/
    http://www.javaranch.com/certification.jsp
    http://www.jchq.net/
    http://www.danchisholm.net/

  • Syllabus/Topics for Sun Certified Instructor for Java Programming Language

    Hi,
    What is the Syllabus/Topics for Sun Certified Instructor for Java Programming Language ?
    At the following link
    http://www.sun.com/training/catalog/instructor/java.html
    detailed syllabus is not there.
    I am unable to find the details in Sun site even after search through google.
    Please help in this regard.
    Thank you for your kind consideration.

    Sir,
    thank you for your response.
    technic  wrote:
    I'm not sure what you mean by Syllabus/Topics?For SCJA/SCJP/SCWCD/SCBCD/SCDJWS/SCMAD/SCEA
    I am able to find the detailed syllabus for the exam by clicking on the respective certification link at the following link
    http://www.sun.com/training/certification/java/index.xml
    for example: for SCJP,
    http://www.sun.com/training/certification/java/scjp.xml
    http://www.sun.com/training/catalog/courses/CX-310-065.xml
    these links are providing exam objectives, number of questions, exam duration , fee details etc.
    But for
    Sun Certified Instructor for Java Programming Language Course (SL-275)
    I am unable to find such details exam objectives (syllabus), no. of questions, exam duration, etc.,
    even, the following link
    http://www.sun.com/training/certification/objectives/index.xml
    is providing details of all other certifications except
    Sun Certified Instructor for Java Programming Language Course (SL-275)
    thank you for your kind consideration.

  • Microstation J java programming?

    Hi
    Can anybody here help me in programing for Microstation?
    I don't seem to be able to get anything going ... even the old HelloWorld thing won't run from the key in. I realise this might be the wrong forum, but don't know where to start looking. Any clues.
    I am java certified but not very experienced, could really do with some help on this one.
    Cheers
    Steve

    this is an example of the failure of the Java
    Certification Exam. How can a person pass the exam by
    just memorizing and not using the product? It makes a
    mockery of the exam especially when this person
    applies for jobs and says that they are Java
    certified. It devalues the certification for those
    that are experienced and knowledgable about Java. I
    predict that in a few years, the Java certification
    will have about as much value as a Novell CNE. That
    and 50 cents will get you a cup of coffee. Forgive my
    ranting on this subject, but it just shows the lack of
    certification value.No I do not forgive you ranting; your attitude devalues this forum. I would like to point out that I took the certification this year after the format had been changed to ensure that pure memorization of the material would not be enough to pass. I have written many applications both standalone and integrated with other software. My problem is not with java itself but in implementing it in the microstation environment. This is why I pointed out that I was not sure if this would be the correct place to ask the question. Don't bother responding if you have nothing constructive to say.

  • Error while running a Java Program

    Can anyone help me,
    I am getting the following error while running a Java program, Below is the exception thrown, please help.
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RESummer1.run(RESummer1.java:505)
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RECollectCont.run(RECollectCont.java:304)

    Ok, let's see. Write the following class:
    public class Grunt {
      public static void main(String[] args) {
        System.out.println("Hello Mars");
    }Save it as "C:\Grunt.java", compile by typing:
    javac c:\Grunt.javaRun by typing:
    java -classpath "C:\" GruntDoes it say "Hello Mars"? If yes, go back to your program and compare for differences (maybe you used the "package" statement?).
    Regards

  • Running a java program a set number of times

    This is a general question. Is it possible to make a java program run only 5 times for the sake of arguement.
    Basically I want to write a program that will give the user some flexibility when it will actually run another Java program, but I only want them to be able to say "not now' for a set number of times. When the last time comes the other program will launch. I was initially thinking of the Do Whilw loop, but this needs to work when the program is restarted.
    Program starts, it has 5 times it will run before it does something else(doesn't really matter now I think). User takes option "Not Now" and the program ends, but warns the user this will run 4 more times before you will need to do something.
    This process will repeat until the user takes the option "Ok install now" or the time limit expires and the install occurs anyway. Can someone point me in the right direction.

    ok I see so it's like one those programs that you download for free on the internet and they give you a set amount times to use it before you have to pay for it. but in this case when the number of times you use it equals 5 (or when the user clicks ok) a different java app will open automatically.
    My first thought would be to Write a Serialized object to disk using objectOutputStream that stores the number of times the application has been opened. and each time the program runs it checks for the serialized object and then you can do something like what I posted before. of course if were worried about security the user could always look for the object and erase it, if so then I guess we would have to come up with another plan of attack
    Hope this helps

  • Running a java program

    This shows how dumb i am.
    I have a java program all wrote. How can i run it without using the compiler? Can i have a .exe file or something that I just have to click on to run??
    Thanks again
    Agdude

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\awaguespack>cd jbproject\untitled1\classes\untitled1
    C:\Documents and Settings\awaguespack\jbproject\untitled1\classes\untitled1>java
    form
    Exception in thread "main" java.lang.NoClassDefFoundError: form (wrong name: unt
    itled1/form)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    C:\Documents and Settings\awaguespack\jbproject\untitled1\classes\untitled1>dir
    Volume in drive C has no label.
    Volume Serial Number is C065-81CA
    Directory of C:\Documents and Settings\awaguespack\jbproject\untitled1\classes\
    untitled1
    07/24/2003 02:21 PM <DIR> .
    07/24/2003 02:21 PM <DIR> ..
    07/24/2003 02:21 PM 7,655 form.class
    1 File(s) 7,655 bytes
    2 Dir(s) 36,031,016,960 bytes free
    C:\Documents and Settings\awaguespack\jbproject\untitled1\classes\untitled1>echo
    %classpath%
    %classpath%
    C:\Documents and Settings\awaguespack\jbproject\untitled1\classes\untitled1>

  • Running a java program at "Start Up"

    Besides running an html file with an applet in it. Are there any simple ways to launch a java program every time the computer is turned on.
    I am not asking for specific directions, but rather just an idea, and i will go find my own guide.

    Well two ideas (if ur on windows) u could try are -
    one, if you had a class file you could simply create a
    batch file on windows that says java <class> and then
    put that batch file in your startup so that the class
    is run at startup or else you could think of modifying
    the registry keys on windows to run this class at
    startup - whichever works for you.Or you could just jar the program up, adding a Main-Class indicator in the manifest, and then add a shortcut to the jar to the startup folder, as someone else stated. Theres little need to go messing around with DOS batch in modern windows.

  • Running a java program from an icon

    I want to run my program from an icon on my desktop. I have a .bat file that I've built a shortcut to and it works.MY GUI program does display and run when I click on the icon. The problem is that the DOS window also shows up behind my GUI.
    Is there anyway to prevent the DOS window from showing? Or is there another way to run a Java program without resorting to a DOS command line or running it through FORTE or another IDD?

    Chris's solution worked well, with one small problem. Once my GUI starts, it takes up the whole screen. Normally when I run it, it appears as a small window.
    not a big problem, I can reduce it easily after it starts. But does anyone know a way to make it come up in the reduced size it norally comes up in when I run it from my IDE?

  • Running a java program via a batch file

    I am unable to run a java program from a batch file that I created.
    spiderpackage.EntryPoint is a class file which I am trying to run with a -v option to output something.What should I do to get the output?
    echo ^<html^>^<body^>
    echo hello^<br^>
    call java spiderpackage.EntryPoint -v
    echo ^</body^>^</html^>

    This has nothing to do with java programming. Have a look at the windows help for the call command.
    The echo <html> stuff doesn't make sense. What's it for?
    The command in you batch file should be:
    java -cp . spiderpackage.EntryPoint -v
    assuming that java is in the system path, and the EntryPoint.class is in a directory called spiderpackage which is a subdirectory of your current working directory

  • Running a Java program at startup in Linux

    Hello
    How do I run a Java program at startup in Linux? I know in Windows I can put a .bat file in C:\Windows\Start Menu\Programs\StartUp\ directory, but in Linux I have no idea how it is done.
    Thank you,
    Mihai

    This is really a Linux question, not Java.
    And then it depends on the version of Linux you are using.
    Maybe this will help, otherwise you should try on a forum for your version of Linux.

  • Running a java program in a directory other than the current directory

    How do I run a java program that's located in a directory other than the current directory?
    There is a file Test.java in /dir1/subdir1. If my current directory is anywhere other than that directory, say /dir2/subdir2, I can compile Test.java by using:
    javac -classpath /dir1/subdir1 /dir1/subdir1/Test.java
    But when I try to run it with:
    java -classpath /dir1/subdir1 /dir1/subdir1/Test
    I get a java.lang.NoClassDefFoundError: \dir1\subdir1\Test
    Any thoughts?

    You need to specify just the name of the class you want to run. So java -classpath /dir1/subdir1 Test

Maybe you are looking for

  • Need help opening a pdf file

    How can I get help opening a pdf file?  I have been asking for help for over an hour now, I need this file, it is password protected, and I have set a new password, with still no help, still can't get the file to open, just what do I need to do, it i

  • Memory leak in WebView with custom UserAgent

    Hi, When I use the method with using NavigateWithHttpRequestMessage to modify my UA, I cannot dispose my webview properly - there seems to be a memory leak when calling this. In my code when I comment out the following line: myWebView.NavigateWithHtt

  • Upgrading from SCM 4.1 to SCM 2007/5.1 (HP-UX/MaxDB)

    Here's my  challenge - I need to upgrade an SCM 4.1 system (HP-UX IA64 11.23/MaxDB 7.5) to SCM2007/5.1.  From what I can see in the Product Availability Matrix, SCM2007/5.1 requires MaxDB 7.7.  What I need to know is how and when should the MaxDB dat

  • Evaluate pageflowscope expression

    Hi Folks, I am using Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923 I have a page which has some components and a taskflow in it. Inside the taskflow I have some ADF components too. The main page (which contains the taskflow) has a button at the t

  • Advice on in-place reinstall of ZAM7.5

    * Environment * Windows 2003 SP2 Release 2 Zenworks Asset Management 7.50.0043 IR18 PRU 01/07/2009 All ZAM conponents run on the same server The ZAM SQL DB resides on a separate SQL2005 server * Problem * A few weeks ago, access to the ZAM Management