• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mock test time.

 
nick woodward
Ranch Hand
Posts: 370
11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Is the real test as tight for time as Enthuware?

I'm really struggling. 20 mins over on both of my attempts. And my score has gone down from 70% to 64% (but ironically up from 54% to 62% within the allotted time frame, ie if I'd stopped on time).

It's a bit depressing not being able to complete it within the time period and makes me think my grip on the topics needed isn't quite good enough. I got a massive 11 of the first 15 questions wrong

Obviously I did MUCH better later in the test - I'd put this down to being under pressure, but I swear enthuware gets easier as it progresses. Maybe I should do it backwards

I know it's still early, I can manage my time better by marking and coming back to topics, and I'm still on track for a pass, but I want to smash this exam (being self taught it would help a bit in interviews).
Should I continue with the tests? Or go back to reading around the topics? A lot stumped me this time round. I know I've got 4 left, but I don't want to waste them! `

Nick
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nick woodward wrote:Is the real test as tight for time as Enthuware?

Most ranchers who used Enthuware and passed the OCA exam claim that Enthuware is harder than the actual exam. That's really a good thing, because if you can finish Enthuware in time and pass, you are almost guaranteed to pass the actual exam as well.

nick woodward wrote:Should I continue with the tests? Or go back to reading around the topics? A lot stumped me this time round. I know I've got 4 left, but I don't want to waste them!

It depends on the root cause of your struggle to finish in time. If it's lack of a very solid understanding of all contents, than taking more tests won't really benefit you. And as the exams are an objective way of monitoring your progress and getting a good indication of your readiness for the exam, I won't take any other exams before you have put 1-2 weeks of additional studying. And if you want to do a mock exam or some mock questions, take the ones from the study guide(s) you are using or take the Enthuware mock exams you already have taken.

Or maybe your test taking techniques are not up to speed yet. Here in this forum you'll find plenty of topics about tips/advice about time management, answering questions, spotting compiler errors and so on. I'll list here a few of them (but there are plenty more):
  • how do you manage your time during the exam?
  • Any tricks about how to manage the 120 min for so many question?
  • A humble request for your process
  • Bad Experience with OCA 7 exams
  • Need some help after scoring 40% on OCA Exam 1 (K&B7)
  • Preparation advice for Certification Exam


  • Hope it helps!
    Kind regards,
    Roel
     
    nick woodward
    Ranch Hand
    Posts: 370
    11
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Roel De Nijs wrote:
    It depends on the root cause of your struggle to finish in time. If it's lack of a very solid understanding of all contents, than taking more tests won't really benefit you. And as the exams are an objective way of monitoring your progress and getting a good indication of your readiness for the exam, I won't take any other exams before you have put 1-2 weeks of additional studying. And if you want to do a mock exam or some mock questions, take the ones from the study guide(s) you are using or take the Enthuware mock exams you already have taken.

    Honestly? I think it's a mixture of both not remembering some of the basic rules and poor time keeping.

    I guess I'll go through this exam and see where I've messed things up, and go back to K&B7 before taking any more I guess. - Although no doubt I go through all the answers and then think I've got it sorted!!

    Those links look great though, thanks.

    ** edit - I think a lot of my problem is learning to read the code quickly. I tend to mill around looking at each class, rather than say going straight to main and following the logical order. It's why questions with lots of static and initialisation blocks take me aaages.
     
    Guillermo Ishi
    Ranch Hand
    Posts: 789
    C++ Linux Python
    • Likes 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    If you see static init blocks, it just might be a question about init order, which is simple, at least at the level the test is concerned with. When I do Enthuware I check how many questions I've done say every 15 minutes or half hour to keep the time on track. Also, if a question looks like a hairball, I give it a once over and save it for last. It's a harder question (to me) but it's not worth any more points...

    You can learn a lot studying the results, as the instructions suggest. I am curious -- when you see a question that you missed, do you often think aw, I knew that why did I answer it wrongly?
     
    nick woodward
    Ranch Hand
    Posts: 370
    11
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Guillermo Ishi wrote:If you see static init blocks, it just might be a question about init order, which is simple, at least at the level the test is concerned with. When I do Enthuware I check how many questions I've done say every 15 minutes or half hour to keep the time on track. Also, if a question looks like a hairball, I give it a once over and save it for last. It's a harder question (to me) but it's not worth any more points...

    You can learn a lot studying the results, as the instructions suggest. I am curious -- when you see a question that you missed, do you often think aw, I knew that why did I answer it wrongly?


    Hmmm. From looking at my first mock answers I tend to drop marks on multiple choice questions. I'll often get two out of 3 correct.

    I'm just going over my answers to the 2nd effort now - so things might be different, but I just get the impression that I take a lot of time to 'warm up'. 11/15 wrong is terrible, but conversely I suppose at least I still (almost) passed answering 37 correctly out of 59 questions within the time limit (62%).

    I just feel shakey. Like I'm also wasting time 'reading into' the question, ruling out other answers, ie "it must be this, because it isn't x", and spending way too much time studying classes and loops. it would be much easier just to know the answer outright!

    I'm thinking of buying Esteban Herrara's practice exams. Going and rereading a book seems like a bit of a waste of time - it largely seems to be stuff that just hasn't quite 'stuck'. For example knowing that static statements, as well as blocks, are run prior to the constructor (I stupidly remembered it as only the latter). Answering exam questions and looking at the answers will undoubtedly help, I just don't want to waste the enthuware mocks

    Nick
     
    Guillermo Ishi
    Ranch Hand
    Posts: 789
    C++ Linux Python
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    The reason I asked that about studying the results was it showed me I knew the answers but wasn't careful enough with the questions. I just determined I wasn't going to miss questions I knew the answer to and that fixed that. I've failed the test twice. The first time, well I could write Java programs and didn't realize that wasn't enough! I only got 40%. Then I discovered this site and Enthuware and went through all the tests and was getting in the 80s and then I started using Leitner Mode and got all the questions in the last couple of columns. Day of the test I rode a motorcycle 35 mi to the site which was a bad idea, I was kind of worn out and chilly. Then the test site had the temperature so turned down that I was chilling and shivering. And there were little kids running around in the hall! But -- the clincher was they had changed the philosophy of the test from mostly topical questions to a higher percentage of unraveling loops. I felt like I had studied for the wrong test. The former version was much easier, and I know because I took them both. Anyway I ended up running out of time and had to guess at least ten questions without even reading them. Failed that one by 3 points! If anything had been a hair better I would have passed. Since then the Enthuware question bank has changed to reflect the new test philosophy. Now I am getting in the 80s on updated Enthuware and will prob take the test again soon. I'm taking my time, but it's taken a year and a half or so.
     
    nick woodward
    Ranch Hand
    Posts: 370
    11
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Guillermo Ishi wrote:The reason I asked that about studying the results was it showed me I knew the answers but wasn't careful enough with the questions. I just determined I wasn't going to miss questions I knew the answer to and that fixed that. I've failed the test twice. The first time, well I could write Java programs and didn't realize that wasn't enough! I only got 40%. Then I discovered this site and Enthuware and went through all the tests and was getting in the 80s and then I started using Leitner Mode and got all the questions in the last couple of columns. Day of the test I rode a motorcycle 35 mi to the site which was a bad idea, I was kind of worn out and chilly. Then the test site had the temperature so turned down that I was chilling and shivering. And there were little kids running around in the hall! But -- the clincher was they had changed the philosophy of the test from mostly topical questions to a higher percentage of unraveling loops. I felt like I had studied for the wrong test. The former version was much easier, and I know because I took them both. Anyway I ended up running out of time and had to guess at least ten questions without even reading them. Failed that one by 3 points! If anything had been a hair better I would have passed. Since then the Enthuware question bank has changed to reflect the new test philosophy. Now I am getting in the 80s on updated Enthuware and will prob take the test again soon. I'm taking my time, but it's taken a year and a half or so.


    wow, sounds like you've had a long road! anyway, the longer you do it for, the better you know it. no point in scraping past and not knowing the content! its why i really don't understand why people try to cheat. makes no sense to me. you're just cheating yourself!

    anyway, so was the exam was more predisposed to loops, or enthuware? when's your next test booked? any recommended resources? i'm on amazon right now

     
    Roel De Nijs
    Sheriff
    Posts: 10662
    144
    AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    nick woodward wrote:I'm thinking of buying Esteban Herrara's practice exams.

    You'll find my thoughts about these practice exams in this post.

    nick woodward wrote:Going and rereading a book seems like a bit of a waste of time - it largely seems to be stuff that just hasn't quite 'stuck'.

    I beg to differ: I think repetition is one of the best studying techniques. If it doesn't "stick" after reading the book once, read the book a 2nd time or a 3rd time. And don't forget the coding practice using your favourite text editor and javac/java. Because you don't learn a programming language by just reading a book (or taking some practice exams/questions), you need to get your hands dirty and write code, lots of code!
     
    nick woodward
    Ranch Hand
    Posts: 370
    11
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Roel De Nijs wrote:
    nick woodward wrote:I'm thinking of buying Esteban Herrara's practice exams.

    You'll find my thoughts about these practice exams in this post.

    nick woodward wrote:Going and rereading a book seems like a bit of a waste of time - it largely seems to be stuff that just hasn't quite 'stuck'.

    I beg to differ: I think repetition is one of the best studying techniques. If it doesn't "stick" after reading the book once, read the book a 2nd time or a 3rd time. And don't forget the coding practice using your favourite text editor and javac/java. Because you don't learn a programming language by just reading a book (or taking some practice exams/questions), you need to get your hands dirty and write code, lots of code!


    yeah, i agree. but is it better to repeat K&B7, a book that i found to be good, but probably a bit above my knowledge the first time around (however i got 8/9 out of 19 in end of chapter reviews), or chose another book?

    i read mala's book after, and do feel like K&B7 was more challenging and that i'd benefit from a re-read, but still, these things aren't quick, and another view point may help / be more worthwhile. mala's book was great in that regard.

    **edit: or should i get alternative mock exams? I reckon if i took mala's mock exam (i haven't yet), I'd get 75+. i think i'm getting to a point where exposure to incorrect and correct answers is at least more efficient than rereading an entire book. sorry, easier.....

     
    Guillermo Ishi
    Ranch Hand
    Posts: 789
    C++ Linux Python
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    If there are things you don't know, you have to re-read to learn those things. But writing code and test taking enable it to sink in, The test taking also sharpens test taking itself. It's well known that learning requires tactile participation, If you just read without doing some manipulation in the physical world you can't learn. Imagine you're a piano student. You read something technical in a book. You work with it on the keyboard (the coding), then you see what your teacher thinks (the testing).
     
    Roel De Nijs
    Sheriff
    Posts: 10662
    144
    AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    nick woodward wrote:i read mala's book after, and do feel like K&B7 was more challenging and that i'd benefit from a re-read, but still, these things aren't quick, and another view point may help / be more worthwhile. mala's book was great in that regard.

    Nobody said getting certified would be a quick journey. Depending on your Java experience, it might take a long time but perseverance always pays dividends!

    nick woodward wrote:but is it better to repeat K&B7, a book that i found to be good, but probably a bit above my knowledge the first time around (however i got 8/9 out of 19 in end of chapter reviews), or chose another book?

    As you are still a novice, you might benefit from reading a book on Java first (rather than a certification study guide). Many alternatives are available: Head First Java, Thinking in Java, Core Java, Deitel & Deitel, and so on.

    nick woodward wrote:I reckon if i took mala's mock exam (i haven't yet), I'd get 75+.

    The mock exam of the Mala Gupta study guide is (much) easier than the actual exam. Just a little heads-up, so you don't take the wrong decision after getting a (very) good score on that mock exam.
     
    nick woodward
    Ranch Hand
    Posts: 370
    11
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    yeah, i figured as much.

    i'm going back through KB7, retaking notes, and also writing annotated code. think that should probably do the trick.

    thanks a lot both of you, good advice

    Nick

    *edit - quick question - neither mala's book nor KB7 mentions where main(String[] args); has to go. I assume, and a bit of coding seems to verify, that it has to be in the public class of the source file, and that it cannot go anywhere else.
     
    Roel De Nijs
    Sheriff
    Posts: 10662
    144
    AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    nick woodward wrote:*edit - quick question - neither mala's book nor KB7 mentions where main(String[] args); has to go. I assume, and a bit of coding seems to verify, that it has to be in the public class of the source file, and that it cannot go anywhere else.

    Every method has to be in a class. So the main method is not an exception. The class doesn't have to be public, a class with default (package-private) access will do as well.



    And what do you think about these classes? Will they compile successfully? And if they do, will they produce any output?


    Hope it helps!
    Kind regards,
    Roel

    [edit] fixed signature main method of Class4 (thanks Mark Justison)
     
    nick woodward
    Ranch Hand
    Posts: 370
    11
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Roel De Nijs wrote:
    nick woodward wrote:*edit - quick question - neither mala's book nor KB7 mentions where main(String[] args); has to go. I assume, and a bit of coding seems to verify, that it has to be in the public class of the source file, and that it cannot go anywhere else.

    Every method has to be in a class. So the main method is not an exception. The class doesn't have to be public, a class with default (package-private) access will do as well.

    really? i'll have to check my code again then.

    ** edit: ahh, it has to be in the class with the same name as the source file, but that class can have default access.

    Roel De Nijs wrote:
    And what do you think about these classes? Will they compile successfully? And if they do, will they produce any output?


    yup, should do. varargs or an array are both ok. can't be String args... though

    Roel De Nijs wrote:


    probably not, wrong signature. although theoretically i don't see anything wrong with it being final.

    Roel De Nijs wrote:


    yup, fine..... ** ahem, whoops. not fine. needs 'static'!
    Roel De Nijs wrote:


    nah, i don't think you can pass a 2d array.

    thanks for the quick reply!
     
    Roel De Nijs
    Sheriff
    Posts: 10662
    144
    AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    nick woodward wrote:** edit: If I have a source file with a public class, and multiple default classes, the main method seems to have to go in the public class. Unless I'm missing something.

    You are definitely missing something! I have a java source file with 1 public class and 2 package-private classes, every class has a main method and I can run any of these classes.


    nick woodward wrote:yup, should do. varargs or an array are both ok. can't be String args... though

    Class3 has indeed a valid main method => it will compile successfully and print "I'm in 3rd class" to the console.

    nick woodward wrote:probably not, wrong signature. although theoretically i don't see anything wrong with it being final.

    Class4 has a valid main method as well, you can add nonaccess modifiers like final and synchronized => it will compile successfully and print "I'm in 4th class" to the console.

    nick woodward wrote:yup, fine

    Class5 has a valid instance main method, but it's missing the static nonaccess modifier to be able to run this class => it will compile successfully, but if you try to run it, you'll get this exception/error:
    Error: Main method is not static in class Class5, please define the main method as:
    public static void main(String[] args)


    nick woodward wrote:nah, i don't think you can pass a 2d array.

    Class6 has a valid static main method, but it has a 2D String array instead of a 1D String array as parameter => it will compile successfully, but if you try to run it, you'll get this exception/error:
    Error: Main method not found in class Class6, please define the main method as:
    public static void main(String[] args)


    Hope it helps!
    Kind regards,
    Roel

    PS. This was pretty easy because the code snippets only have the main method declaration. But expect to have an invalid main method (e.g. without the static keyword or with the 2D array) in an actual/mock exam question with some complex loops. And that's what all the fun is about
     
    Roel De Nijs
    Sheriff
    Posts: 10662
    144
    AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    nick woodward wrote:** edit: ahh, it has to be in the class with the same name as the source file, but that class can have default access.

    No, it does not! This is a perfectly legal Java source file and you can run each of these classes.



    Hope it helps!
    Kind regards,
    Roel
     
    nick woodward
    Ranch Hand
    Posts: 370
    11
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    yeah, i caught the class 5 problem prior to your reply, but interesting to know that it, (and class6) will both compile

    and i didn't know that non access modifiers were ok either thought i knew most of the variations of main, but obviously not!

    Roel De Nijs wrote:
    nick woodward wrote:** edit: ahh, it has to be in the class with the same name as the source file, but that class can have default access.

    No, it does not! This is a perfectly legal Java source file and you can run each of these classes.




    I'm getting "Error, could not find or load main class AllClasses"

    Let me try running it from the command line with the class name. That's prbably the problem. I'm using Textpad.

    Yup, that's done the trick. Thanks!
     
    Roel De Nijs
    Sheriff
    Posts: 10662
    144
    AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
    • Likes 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    nick woodward wrote:I'm getting "Error, could not find or load main class AllClasses"

    Let me try running it from the command line with the class name. That's prbably the problem. I'm using Textpad.

    Yup, that's done the trick. Thanks!

    Yep! As you already discovered yourself you have to compile the code using the name of the source code fileAnd then you'll get 3 .class files. And then you'll need to use the appropriate class name to run the "application" (and not the name of the source code file). So to run Class1 you simply can invokeOutput will be: I'm in a package-private class
     
    Mark Justison
    Ranch Hand
    Posts: 31
    1
    • Likes 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Roel De Nijs wrote:l


    I happened to catch the fact that this does not pass a String array as the main argument. It'll compile but will wind up with a runtime error.
     
    nick woodward
    Ranch Hand
    Posts: 370
    11
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Mark Justison wrote:
    Roel De Nijs wrote:l


    I happened to catch the fact that this does not pass a String array as the main argument. It'll compile but will wind up with a runtime error.


    nice. missed it completely!
     
    Roel De Nijs
    Sheriff
    Posts: 10662
    144
    AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Mark Justison wrote:I happened to catch the fact that this does not pass a String array as the main argument. It'll compile but will wind up with a runtime error.

    You are 100% correct. Well spotted! It was intended to have a String array as parameter. I edited the post (and gave you the recognition for spotting the mistake). Have a cow!
     
    Mark Justison
    Ranch Hand
    Posts: 31
    1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Sweet, thanks!
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic