• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Failing 2 Java SE 8 exam  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

First of all let me introduce my self I`m in my 30`s , 1.5 year ago I decided to change my carrier and be come a developer (i never had any programming experience or any IT qualifications  before).
So i found course online (don`t ask me why but i chose Java, and course it self was a bit expensive) so cut story short.
After finishing my course I didn't learn much end up buying more study materials and failed my exam in June with 40% score.
So i bought more study materials and got myself enthuware practise exam(passing average  score with 50-60%) , after few months of practise (today) I did second attend with failing exam 42%.( i still don`t understand exceptions and lambdas at all)
And now I`m thinking maybe it all not for me , maybe I`m to old for this.
But I spend so much money and time...
I don`t know, should i give up or not?

Give up or not give up that is the question
 
Marshal
Posts: 62231
193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Don't know, which probably means don't give up yet. Start by working out how much time you can devote to learning programming, how much money you have to pay for courses, and whether you need to work full‑time whilst learning.
Please tell us which courses you took (if possible). Some people may be familiar with those courses and will know whether they are any good.
Please show us a little application you have written, or write a little application in the next hour. It doesn't have to be large, even 40 lines of code will do. Then we can see your coding styles, and it will tell us a lot about your coding skills.
Many people here took up programming older than their thirties.
 
Saloon Keeper
Posts: 2086
76
Eclipse IDE Google Web Toolkit Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's all about enthusiasm.

This statement is true for all skills. Age is (usually) not the factor with any skills. If you are enthusiastic about any skill in general and you pursue it long enough, you're sure to get there. Don't let failures of any kind stop you. Every failure is your stepping stone towards the end-goal : success.

I suggest practicing java by solving problems instead of just learning topics for scoring marks in exams. As Campbell suggested, you can share your code with us and we can guide you along.
 
Roman Le
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Thanks for replays,
What kind of code should i write ? just anything?
 
salvin francis
Saloon Keeper
Posts: 2086
76
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Roman Leskov wrote:i still don`t understand exceptions and lambdas at all



Here's my perspective about exceptions.. Let's just say you have a line of code that may or may not throw an error. How would a language give flexibility to programmers to do these ? :
  • Handle the exception if needed
  • Handle the exception mandatorily
  • Handle different types of exceptions
  • Bubble up the exception
  • Ignore the exception
  • Execute a block of code whether or not an exception is handled


  • They have come up with an elegant way to do this : https://docs.oracle.com/javase/tutorial/essential/exceptions/handling.html
     
    salvin francis
    Saloon Keeper
    Posts: 2086
    76
    Eclipse IDE Google Web Toolkit Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Roman Leskov wrote:What kind of code should i write ? just anything?


    A good program solves someone's problem. Let's say that your neighborhood has a book library and they manage everything on paper or simply Ms-Excel. Can you solve their problem using java ?
    Even if it's a basic CUI (Character user interface) code, it's good to start with.
     
    salvin francis
    Saloon Keeper
    Posts: 2086
    76
    Eclipse IDE Google Web Toolkit Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Oh.. and Welcome to Coderanch  
     
    Campbell Ritchie
    Marshal
    Posts: 62231
    193
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Roman Leskov wrote:. . . Thanks for replays,

    That's a pleasure

    What kind of code should i write ? just anything?

    Just about anything would do, yes. One thing they sometimes ask in interviews is to write a program for Fizz‑Buzz. If you can't think of anything else, how about a fully object‑oriented version of Fizz‑Buzz?
     
    Marshal
    Posts: 6363
    437
    BSD Linux Mac OS X VI Editor
    • Likes 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    You aren't alone. As Uncle Bob says, half of the programmers population always has less than 5 years of experience, and that always has been true.

    I'd think your mistake is, that you start from certifications and not the fundaments of computer science. What is the value of knowing what is the valid way to initialize a HashMap, if you don't understand what is the hash map itself. Don't rush with certificates. Certificates of particular topic let you get some knowledge in that very topic, but not the field itself. Currently I get an impression that you need some more knowledge in computer science first.

    The quote below just explains that:

    Roman Leskov wrote:So i found course online (don`t ask me why but i chose Java, and course it self was a bit expensive) so cut story short.
    After finishing my course I didn't learn much

    You don't need to learn Java, you need to learn how to program. Java is just the singular tool in your toolbox needed for programming, but knowing only that is just a little step, however, I think it supposed to be one of the latter steps.

    I know we have mentioned book "Head First Java" many times, and I know this particular book is a bit dated, but get it, read it, that would make you understand some programming and other fundaments, these would be needed in your daily work as a programmer.

    I don't think I said clearly yet, but forget the certification for now. As Campbell said, start on some personal project, you'll learn way more as a programmer. Don't get me wrong, certifications aren't bad, but probably not now. Desperate trying to become certified is of little value I think.
     
    Master Rancher
    Posts: 920
    17
    Firefox Browser Hibernate IntelliJ IDE Java MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    I'm to lazy to read all the responces, so if someone already responded the same thing I appologize, but I also would like to give my 2cents on the subject.
    I was 32 myself when I started programming, but let me ask, if you had no experience at all with anything it related, how did you come to choose this careerpath?
    I don't believe in something as being to old to learn something, but there is of course something like having a talent for it.
    Basicly all you need to learn how to program is a logic brain, the rest can be learned.
    You said you used enthuware to train for the exam, in my experience the mock exams of enthuware are way harder then the real exam, at least in Belgium they are.
    The danger of the mock exams is when you take them often, you're not learning the material, you're learning the questions of the mockexams, wich will give you a better score then if you would take the exam for the first time.
    I was struggleing with the mock exams myself, but did pass my oca with a score of 93%
    If you really have a passion for programming, I would hang in there, don't get discouraged and as Liutauras Vilda sugested, I wouldn't be to focused on getting that certification.
    The internet is full off fun exercises for all levels, I believe there is even a site of the makers of coderanch with codingchallenges, but honestly I forgot the name, maybe someone else here can provide you with it.
    On the certifications, it's nice to have, but when it comes to employment, at least in Belgium, no one cares, it's skill above certification.
     
    Daniel Demesmaecker
    Master Rancher
    Posts: 920
    17
    Firefox Browser Hibernate IntelliJ IDE Java MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Lol based on the lenght of my answer, my two cents, became a dollar
     
    Campbell Ritchie
    Marshal
    Posts: 62231
    193
    • Likes 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    salvin francis wrote:. . . Even if it's a basic CUI (Character user interface) code, it's good to start with.

    You will find that sort of program called a console application, too. That is better than something large with a GUI, because it is easier to see the structure of the program.
     
    Roman Le
    Greenhorn
    Posts: 7
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    First of all sorry for disappearing for couple of weeks without any replay , I didn't gave up with learning just had very busy time.
    And secondly and mostly thank you for support and giving me motivation , not to give up and move ahead.

    salvin francis wrote:
    A good program solves someone's problem. Let's say that your neighborhood has a book library and they manage everything on paper or simply Ms-Excel. Can you solve their problem using java ?
    Even if it's a basic CUI (Character user interface) code, it's good to start with.


    It took me a bit more time that i expected but here you go.


    Campbell Ritchie wrote:Just about anything would do, yes. One thing they sometimes ask in interviews is to write a program for Fizz‑Buzz. If you can't think of anything else, how about a fully object‑oriented version of Fizz‑Buzz?


    As promised here is a quick code
    .


    Liutauras Vilda wrote:

    I know we have mentioned book "Head First Java" many times, and I know this particular book is a bit dated, but get it, read it, that would make you understand some programming and other fundaments, these would be needed in your daily work as a programmer.

    I don't think I said clearly yet, but forget the certification for now. As Campbell said, start on some personal project, you'll learn way more as a programmer. Don't get me wrong, certifications aren't bad, but probably not now. Desperate trying to become certified is of little value I think.


    Thanks Liutauras , bought this book and really like it . Regarding certification as I mention before. Im trying to change my career and without certification i wont get to any interviews...
     
    Campbell Ritchie
    Marshal
    Posts: 62231
    193
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    That FizzBuzz code looks more like procedural code, I am afraid. No FizzBuzz objects created or anything like that.
     
    Roman Le
    Greenhorn
    Posts: 7
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Campbell Ritchie wrote:That FizzBuzz code looks more like procedural code, I am afraid. No FizzBuzz objects created or anything like that.


    Understood will do another one  
     
    Roman Le
    Greenhorn
    Posts: 7
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Roman Le wrote:

    Campbell Ritchie wrote:That FizzBuzz code looks more like procedural code, I am afraid. No FizzBuzz objects created or anything like that.


    Understood will do another one  



     
    Daniel Demesmaecker
    Master Rancher
    Posts: 920
    17
    Firefox Browser Hibernate IntelliJ IDE Java MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    I don't really know what a fizzbuzz is or what it should be doing, but your code will created both a fizz and a buzz for every common multiple of 3 and 5 (0, 15, 30, 45,...)
    and create both a fizz and a number for every multiple of 3
     
    Roman Le
    Greenhorn
    Posts: 7
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    To be honest Im dont really know this game my self,but the way I understood on every number dived by 3 should say Fizz and divided by 5 Buzz and number divided by 3 and 5 Fizz Buzz
    To fix number issue should replace else statement with if(x%3!=0&x%5!=0).
    I wrote this code on my phone and didnt had chance to run it first
     
    Daniel Demesmaecker
    Master Rancher
    Posts: 920
    17
    Firefox Browser Hibernate IntelliJ IDE Java MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    I havent runned it eather, just following your logic.
    if you do it like that I would use:
    if(x%3!=0&&x%5!=0)
    but that seem a lot of if's to me, I would consider a switch
     
    Daniel Demesmaecker
    Master Rancher
    Posts: 920
    17
    Firefox Browser Hibernate IntelliJ IDE Java MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    An other excersise you might wanna try, they asked me to that on my jobinterview (without an ide of course)
    Write a program that keeps asking the user for nrs untill he presses 0 and sort the inputs in prime and non-prime numbers.
     
    Roman Le
    Greenhorn
    Posts: 7
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Daniel Demesmaecker wrote:I havent runned it eather, just following your logic.
    if you do it like that I would use:
    if(x%3!=0&&x%5!=0)


    I see your point i should use logical and operator...

    Daniel Demesmaecker wrote:
    but that seem a lot of if's to me, I would consider a switch


    Dont know why but it never came  to my mind

    Daniel Demesmaecker wrote:An other excersise you might wanna try, they asked me to that on my jobinterview (without an ide of course)
    Write a program that keeps asking the user for nrs untill he presses 0 and sort the inputs in prime and non-prime numbers.


    I got 0 experience with Scanner Class(as it not required  for OCA exam). But I think it time to learn...

     
    girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
    RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
    https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!